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
Which of the following is a decision making statement
Choose an answer
break
getch ( )
if
all
Previous
Skip
Next
Question # 2
Field properties are shown in :
Choose an answer
Design view
Datasheet view
A and B
None
Previous
Skip
Next
Question # 3
What is the term for a for a characteristic or attribute of an object that determines how the object looks and behaves?
Choose an answer
Color
Property
Size
Orientation
Previous
Skip
Next
Question # 4
SQL is used for:
Choose an answer
Data definition
Data manipulaton
Data control
All
Previous
Skip
Next
Question # 5
A data model is :
Choose an answer
A logical representation of the structure of the database
Shown as an entity-relationship diagram
Transformed into tables and relationships
All
Previous
Skip
Next
Question # 6
The instruction that is used to execute a statement or set of statements is
Choose an answer
while
for
do-while
all
Previous
Skip
Next
Question # 7
If x=10 and y=5,, what will the output of the following expression?
x>y? x*y: x+y
Choose an answer
5
10
15
50
Previous
Skip
Next
Question # 8
Which of the following is displayed by printf function?
Choose an answer
Text
Constant or values of variable
A and B
Graphics
Previous
Skip
Next
Question # 9
The number of bytes used by char data type in C is:
Choose an answer
2
1
121
16
Previous
Skip
Next
Question # 10
a+=b is equivalent to
Choose an answer
a+=b
a=+b
a=a+b
b=b+a
Previous
Skip
Next
Question # 11
A loop whose execute never ends is called
Choose an answer
Nested loop
Forever loop
Infinite loop
Counter loop
Previous
Skip
Next
Question # 12
The machine language instructions are written in ______
Choose an answer
Keyboard
Binary code
C
None of them
Previous
Skip
Next
Question # 13
Which of the following keys us not unique:
Choose an answer
Candidate key
Forein key
Primary key
Secondary key
Previous
Skip
Next
Question # 14
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Question # 15
The smallest meaningful unit of data in a database is called:
Choose an answer
Byte
Record
Character
Field
Previous
Skip
Next
Question # 16
Which statement is true about data types?
Choose an answer
Data type has no memory requirements
Each data type has different memory requirements
Each data type has same memory requirements
None of the above
Previous
Skip
Next
Question # 17
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 18
Which of the following function is used to read a string from a file
Choose an answer
puts()
Pute()
fputs()
fgets()
Previous
Skip
Next
Back