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
ICS Part 2 Computer Science Chapter 2 Online Test MCQs With Answers
Question # 1
The operator that needs one operand is called
Choose an answer
unary
binary
ternary
all
Previous
Skip
Next
Question # 2
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 3
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 4
Which of the following is NOT a characteristic of relation?
Choose an answer
Each row is unique
The order of columns is significant
The order of rows is insignificant
Columns are all elemental or atomic
Previous
Skip
Next
Question # 5
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 6
The columns of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 7
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 8
The views are used :
Choose an answer
To hide columns
To hide rows
To hide complex SQL statements
Al of the above
Previous
Skip
Next
Question # 9
Which of the following is not a valid variable name ?
Choose an answer
Roll No
Roll No
Roll-No
Roll #
Previous
Skip
Next
Question # 10
Which type of variable can store real value
Choose an answer
int
long int
char
Float
Previous
Skip
Next
Question # 11
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 12
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Question # 13
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 14
Insert command is used to insert:
Choose an answer
New table
New record
View
Dependences
Previous
Skip
Next
Question # 15
Which loop statement executes the body of loop at least once?
Choose an answer
do-white
While
For
None of these
Previous
Skip
Next
Question # 16
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 17
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 18
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Back