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
A table is a two-dimensional structure that consists of:
Choose an answer
x and y co-ordinates
Matrix elements
Rows and columns
Intersection of data
Previous
Skip
Next
Question # 2
Int type variable use -------------------- bytes in memory
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 3
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 4
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 5
The number of characters in variable field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 6
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 7
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 8
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 9
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 # 10
The foreign key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 11
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 12
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 13
An attribute is also known as a:
Choose an answer
Table
Row
Relation
Field
Previous
Skip
Next
Question # 14
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 15
C language has --------------------- key words
Choose an answer
50
45
32
27
Previous
Skip
Next
Question # 16
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 17
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 # 18
The last statement of each case in switch must be a:
Choose an answer
Default statement
If-else statement
Break statement
Else statement
Previous
Skip
Next
Question # 19
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 # 20
Microsoft Access saves the database file with the extension:
Choose an answer
.mdb
.msdb
.madb
None of these
Previous
Skip
Next
Question # 21
CREATE command is used to create:
Choose an answer
Record
View
Report
Query
Previous
Skip
Next
Question # 22
A table should have :
Choose an answer
Primary key
Secondary key
Composite key
Sort key
Previous
Skip
Next
Back