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
An attribute is also known as a:
Choose an answer
Table
Row
Relation
Field
Previous
Skip
Next
Question # 2
The SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 3
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 # 4
A table should have :
Choose an answer
Primary key
Secondary key
Composite key
Sort key
Previous
Skip
Next
Question # 5
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Question # 6
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 # 7
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 8
The foreign key is found in
Choose an answer
parent table
dependent table
pivot table
index table
Previous
Skip
Next
Question # 9
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 10
The columns of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 11
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 12
The data or information that describes an entity is called:
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 13
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 # 14
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 15
A row of relation is called
Choose an answer
attribute
entity
tuple
both a & c
Previous
Skip
Next
Question # 16
An attribute is also known as
Choose an answer
table
elation
row
field
Previous
Skip
Next
Question # 17
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 18
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 19
Which of the following cannot be use in variables names?
Choose an answer
numbers
under score
alphabets
space
Previous
Skip
Next
Question # 20
Int type variable use -------------------- bytes in memory
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 21
C language has --------------------- key words
Choose an answer
50
45
32
27
Previous
Skip
Next
Question # 22
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Back