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
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 2
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 3
Which type of variable can store real value
Choose an answer
int
long int
char
Float
Previous
Skip
Next
Question # 4
A row of relation is called
Choose an answer
attribute
entity
tuple
both a & c
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
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Question # 7
The columns of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 8
In relational database a table is also called a:
Choose an answer
Tuple
Relation
File
Schema
Previous
Skip
Next
Question # 9
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 10
A relation is known as
Choose an answer
table
tuple
relationship
attribute
Previous
Skip
Next
Question # 11
The SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 12
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 # 13
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 14
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 15
The data or information that describes an entity is called:
Choose an answer
Attribute
Data item
Record
Tuple
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
Insert command is used to insert:
Choose an answer
New table
New record
View
Dependences
Previous
Skip
Next
Question # 18
CREATE command is used to create:
Choose an answer
Record
View
Report
Query
Previous
Skip
Next
Back