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 foreign key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 2
A relation is also known as:
Choose an answer
Table
Tuple
Relationship
Attributes
Previous
Skip
Next
Question # 3
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 # 4
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 5
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 # 6
The data or information that describes an entity is called:
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 7
Which data type offers the highest precision?
Choose an answer
Float
Long int
Long double
Unsigned long int
Previous
Skip
Next
Question # 8
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 # 9
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 10
A relation is known as
Choose an answer
table
tuple
relationship
attribute
Previous
Skip
Next
Question # 11
The functions that are defined by programmer are called:
Choose an answer
User-defined
Subprograms
Subroutines
Built-in functions
Previous
Skip
Next
Question # 12
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 13
A form that contains the sub-form is called:
Choose an answer
Form
Main form
Report
None of these
Previous
Skip
Next
Question # 14
Which is related to modality?
Choose an answer
Optional
Mandatory
Unidirectional
Both A & B
Previous
Skip
Next
Question # 15
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
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
Microsoft Access saves the database file with the extension:
Choose an answer
.mdb
.msdb
.madb
None of these
Previous
Skip
Next
Question # 18
Which type of variable can store real value
Choose an answer
int
long int
char
Float
Previous
Skip
Next
Question # 19
An attribute is also known as a:
Choose an answer
Table
Row
Relation
Field
Previous
Skip
Next
Question # 20
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 21
The operator that needs one operand is called
Choose an answer
unary
binary
ternary
all
Previous
Skip
Next
Question # 22
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
Back