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
How many types of loop structure are available in C?
Choose an answer
4
3
2
6
Previous
Skip
Next
Question # 2
In hybrid distribution, what types of fragments are stored at only one site?
Choose an answer
Critical fragments
Non-critical fragments
Critical and non-critical fragments
Only large fragments
Previous
Skip
Next
Question # 3
Which programming structure makes a comparison?
Choose an answer
Relation
Decision
Sequence
Repetition
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
What happens when the result of a calculation exceeds the capacity of data type?
Choose an answer
System error
Logic error
Syntax error
Over flow
Previous
Skip
Next
Question # 6
Which file is used to store information that remains constant for a long time?
Choose an answer
Master file
Transaction file
Backup file
None
Previous
Skip
Next
Question # 7
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 8
How many are layout of report?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 9
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 10
A database containing all students in a class would store the information of individual students in:
Choose an answer
Record
Field
Cell
File
Previous
Skip
Next
Question # 11
Which of the following cannot be use in variables names?
Choose an answer
numbers
under score
alphabets
space
Previous
Skip
Next
Question # 12
Variables are created in
Choose an answer
Ram
Rom
Hard disk
Cache
Previous
Skip
Next
Question # 13
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 # 14
Which of the following is NOT legal element of control string in printf statement?
Choose an answer
Ordinary characters
Escape sequence
Format specifier
Variables
Previous
Skip
Next
Question # 15
Which of the following syntax is used to include header file?
Choose an answer
#include<name of header file>
#include"name of header file"
Both a or b
None of these
Previous
Skip
Next
Question # 16
A constraint between two attributes is called:
Choose an answer
Functional relation
Attribute dependency
Functional dependency
Functional relation constaint
Previous
Skip
Next
Question # 17
Format specifier starts with the symbol
Choose an answer
#
%
*
all
Previous
Skip
Next
Question # 18
Repetition structure is used to execute a statement or set of statement
Choose an answer
Once
More than one time
Skip statement
All
Previous
Skip
Next
Back