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
Which data type offers the highest precision?
Choose an answer
Float
Long int
Long double
Unsigned long int
Previous
Skip
Next
Question # 2
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 # 3
An attribute is also known as a:
Choose an answer
Table
Row
Relation
Field
Previous
Skip
Next
Question # 4
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 # 5
CREATE command is used to create:
Choose an answer
Record
View
Report
Query
Previous
Skip
Next
Question # 6
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
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
Which escape sequence can be used to begin a new line in C-language?
Choose an answer
\a
\b
\n
\n
Previous
Skip
Next
Question # 9
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 10
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 11
SQL is used for:
Choose an answer
Data definition
Data manipulaton
Data control
All
Previous
Skip
Next
Question # 12
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 13
All the intersection of rows and columns must have:
Choose an answer
Single value
Constant value
Multiple values
No value
Previous
Skip
Next
Question # 14
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 15
The columns of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 16
The foreign key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 17
The functions that are defined by programmer are called:
Choose an answer
User-defined
Subprograms
Subroutines
Built-in functions
Previous
Skip
Next
Question # 18
A relation is known as
Choose an answer
table
tuple
relationship
attribute
Previous
Skip
Next
Question # 19
Which is not a logical operator?
Choose an answer
||
!
!=
&&
Previous
Skip
Next
Question # 20
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 21
An index can be used to :
Choose an answer
Improve the performance of the database
Document the structure of the database
Reduce data dependency for application programs
All
Previous
Skip
Next
Question # 22
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Back