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 Online Test MCQs With Answers
Question # 1
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 2
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 3
In which loop the condition comes before the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 4
The goal of normalization is to:
Choose an answer
Get stable data structure
Increase number of relation
Increase redundancy
Remove constraints
Previous
Skip
Next
Question # 5
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 6
Which of the following is NOT suitable for an input mask?
Choose an answer
Street address
Telephone number
A date
Social security number
Previous
Skip
Next
Question # 7
How many times is the test expression of a switch statement evaluated?
Choose an answer
0
1
2
Once for each case
Previous
Skip
Next
Question # 8
A person's account, car and house are considered:
Choose an answer
Object
Table
Record
Field
Previous
Skip
Next
Question # 9
A constraint that no primary key should contain nulls is known as:
Choose an answer
Normalization
Dependence
Entity integrity
SQL query
Previous
Skip
Next
Question # 10
A single report can display data from:
Choose an answer
One table
Many tables
Both A and B
None of these
Previous
Skip
Next
Question # 11
We can make two way decisions with the help of
Choose an answer
if
nested
if-else
all
Previous
Skip
Next
Question # 12
Which of the following statement is correct?
Choose an answer
float num1;num2;
int day,night;
int continue=5.0;
string black='white';
Previous
Skip
Next
Question # 13
Relational operators are used to
Choose an answer
Establish a relationship among variables
Compare two values
Construct compound condition
Performs arithmetic operators
Previous
Skip
Next
Question # 14
Any array script should be:
Choose an answer
Int
Float
Double
Array
Previous
Skip
Next
Question # 15
A data base consists of various components called:
Choose an answer
Tools
Properties
Entities
Objects
Previous
Skip
Next
Question # 16
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
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
Question # 18
The number of digits after a decimal point is called:
Choose an answer
Significance
Precision
Range
Scope
Previous
Skip
Next
Back