More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Chapter 2 Online Test MCQs With Answers
Question # 1
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 2
Microsoft Access saves the database file with the extension:
Choose an answer
.mdb
.msdb
.madb
None of these
Previous
Skip
Next
Question # 3
Int type variable use -------------------- bytes in memory
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 4
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Question # 5
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 6
A row of relation is called
Choose an answer
attribute
entity
tuple
both a & c
Previous
Skip
Next
Question # 7
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 8
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 9
Which escape sequence can be used to begin a new line in C-language?
Choose an answer
\a
\b
\n
\n
Previous
Skip
Next
Question # 10
Which of the following is not a valid variable name ?
Choose an answer
Roll No
Roll No
Roll-No
Roll #
Previous
Skip
Next
Question # 11
The number of characters in variable field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 12
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 13
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 14
An attribute is also known as
Choose an answer
table
elation
row
field
Previous
Skip
Next
Question # 15
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 16
Which of the following are properties of relations?
Choose an answer
Each attribute has a unique name
No two rows in a relation are identical
There are no multivalued attributes in a relation
All of the above
Previous
Skip
Next
Question # 17
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 18
Which is related to modality?
Choose an answer
Optional
Mandatory
Unidirectional
Both A & B
Previous
Skip
Next
Question # 19
A relation is known as
Choose an answer
table
tuple
relationship
attribute
Previous
Skip
Next
Question # 20
A person, place, thing or event about which data is kept in the database is called:
Choose an answer
Attribute
Field
Record
Entity
Previous
Skip
Next
Question # 21
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 22
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Back