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 variable field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 2
The operator that needs one operand is called
Choose an answer
unary
binary
ternary
all
Previous
Skip
Next
Question # 3
Which is related to modality?
Choose an answer
Optional
Mandatory
Unidirectional
Both A & B
Previous
Skip
Next
Question # 4
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 5
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 6
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 7
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 8
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 9
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 10
The foreign key is found in
Choose an answer
parent table
dependent table
pivot table
index table
Previous
Skip
Next
Question # 11
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Question # 12
A two-dimensional table of data is called a
Choose an answer
group
set
declaration
relation
Previous
Skip
Next
Question # 13
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 14
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 15
All the intersection of rows and columns must have:
Choose an answer
Single value
Constant value
Multiple values
No value
Previous
Skip
Next
Question # 16
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 17
The SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 18
Which is not a logical operator?
Choose an answer
||
!
!=
&&
Previous
Skip
Next
Back