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 data or information that describes an entity is called:
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 2
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Question # 3
The SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 4
Int type variable use -------------------- bytes in memory
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 5
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 # 6
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 7
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 8
C language has --------------------- key words
Choose an answer
50
45
32
27
Previous
Skip
Next
Question # 9
Which loop statement executes the body of loop at least once?
Choose an answer
do-white
While
For
None of these
Previous
Skip
Next
Question # 10
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 11
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 12
In relational database a table is also called a:
Choose an answer
Tuple
Relation
File
Schema
Previous
Skip
Next
Question # 13
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 14
A form that contains the sub-form is called:
Choose an answer
Form
Main form
Report
None of these
Previous
Skip
Next
Question # 15
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 16
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 17
Which of the following is not a valid variable name ?
Choose an answer
Roll No
Roll No
Roll-No
Roll #
Previous
Skip
Next
Back