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 Online Test MCQs With Answers
Question # 1
Which is a valid statement for initializing of a variable?
Choose an answer
int n=100;
int x=50, y=75;
char grade='a'
All of these
Previous
Skip
Next
Question # 2
Which is a possible value of flag?
Choose an answer
-
+
Space
All of these
Previous
Skip
Next
Question # 3
An expression that uses a relational operator is known as:
Choose an answer
Operational
Sequential
Serial
Relational
Previous
Skip
Next
Question # 4
Which of the following loop is called counter loop?
Choose an answer
For
While
Do-while
All
Previous
Skip
Next
Question # 5
Database integrity refers to the
Choose an answer
Correctness of data
Consistency of data
Both a and b
None of these
Previous
Skip
Next
Question # 6
Which escape sequence can be used to insert a tab in c:
Choose an answer
\a
\b
\t
\n
Previous
Skip
Next
Question # 7
The loop statements in a language are
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 8
A logical grouping of characters is a:
Choose an answer
Field
Record
File
All
Previous
Skip
Next
Question # 9
The keyword used to transfer control from the body of loop to the start of loop is
Choose an answer
Exit
Continue
Break
End
Previous
Skip
Next
Question # 10
Which of the following operators has lowest precedence
Choose an answer
!
+
=
=
Previous
Skip
Next
Question # 11
An integer variable can store the value:
Choose an answer
-1.1
"123"
32898
5.5
Previous
Skip
Next
Question # 12
How many table views are available in Microsoft Access?
Choose an answer
4
3
2
1
Previous
Skip
Next
Question # 13
The function clrscr ( ) is defined in
Choose an answer
stdio.h
math.h
canio.h
graphic.h
Previous
Skip
Next
Question # 14
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 15
In relational database, table is also called:
Choose an answer
Table
Relation
File
Schema
Previous
Skip
Next
Question # 16
The name of actual and formal parameters
Choose an answer
May or may not be same
Must be same
Must be different
Must be in lowercase
Previous
Skip
Next
Question # 17
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 18
The entity integrity rule states that:
Choose an answer
No primary key attribute can be null
Each entity must have a primary key
Primary key must have only one attribute
None
Previous
Skip
Next
Back