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
The number of bytes used by char data type in C is:
Choose an answer
2
1
121
16
Previous
Skip
Next
Question # 2
Which is NOT a rule for naming variables?
Choose an answer
Use a descriptive name for the value
Start the name of variable with a letter
Use nothing but letters, digits, or the underscore character
All the above
Previous
Skip
Next
Question # 3
The last statement of each case in switch must be a:
Choose an answer
Default statement
If-else statement
Break statement
Else statement
Previous
Skip
Next
Question # 4
A loop with in a loop is called:
Choose an answer
Nested loop
Complex loop
Infinite loop
Dual loop
Previous
Skip
Next
Question # 5
The extension of object file is:
Choose an answer
.c
.txt
.obj
.h
Previous
Skip
Next
Question # 6
a + = b is equivalent to:
Choose an answer
b + = a
a = + b
a = a + b
b = b + a
Previous
Skip
Next
Question # 7
The data or information that describes an entity is called:
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 8
A memory location with some data can be changed is celled:
Choose an answer
Constant
Variable
Named constant
Address
Previous
Skip
Next
Question # 9
Which of the following activities are involved in data analysis?
Choose an answer
Data flow diagram
Decision Tables
Decision Trees
All
Previous
Skip
Next
Question # 10
A collection of raw facts and figures is called:
Choose an answer
Data
Information
Processing
Knowledge
Previous
Skip
Next
Question # 11
The escape sequence for backslash is:
Choose an answer
\
\b
\ \
\t
Previous
Skip
Next
Question # 12
A rule that states each foreign key value must match a primary key value in the other relation is called:
Choose an answer
Referential integrity constraints
Key match rule
Entity key group rule
Foreign/ primary match rule
Previous
Skip
Next
Question # 13
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 14
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 15
Choose an answer
mendatory
optional
may be many
none of theses
Previous
Skip
Next
Question # 16
Which of the following format specifiers is used for integer data type?
Choose an answer
%d
%s
%c
%f
Previous
Skip
Next
Question # 17
Which view can be used to enter or modify data in the underlying table?
Choose an answer
Form view
Table design view
Form design view
New Form view
Previous
Skip
Next
Back