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
A______stream is a sequence of characters
Choose an answer
Binary
Text
Both a and b
None of these
Previous
Skip
Next
Question # 2
------------------- is created when two different names are used for the same information
Choose an answer
synonyms
homonyms
mutually exclusive data
redundant information
Previous
Skip
Next
Question # 3
The expression may be:
Choose an answer
Contant
Arithmetic expression
String
All
Previous
Skip
Next
Question # 4
Turbo C++ can compile:
Choose an answer
C programs only
C and C++ programs
Turbo C Programs only
Turbo C++ programs only
Previous
Skip
Next
Question # 5
Which is not a logical operator?
Choose an answer
||
!
!=
&&
Previous
Skip
Next
Question # 6
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 7
In Access, the structure of a table is created in -------------- view
Choose an answer
design view
data sheet view
a and b
none of them
Previous
Skip
Next
Question # 8
To be in 2NF every non key attribute must depend on
Choose an answer
Key
All parts of the key
Composite key
Both a and b
Previous
Skip
Next
Question # 9
A loop with in a loop is called:
Choose an answer
Nested loop
Complex loop
Infinite loop
Dual loop
Previous
Skip
Next
Question # 10
Which escape sequence can be used to begin a new line in C?
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 11
Dummy question
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 12
In which loop the condition comes after the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 13
When is while loop more appropriate then for loop?
Choose an answer
The terminating condition occurs unexpectedly
The body of loop will be executed at least once
The program will be executed at least once
The number times the loop will be executed is known before the loop executes
Previous
Skip
Next
Question # 14
Computer program are also known as:
Choose an answer
Hardware
Software
Firmware
None
Previous
Skip
Next
Question # 15
Each record consists of a
Choose an answer
Rows
Columns
Both a and b
None of these
Previous
Skip
Next
Question # 16
This loop is a good choice when you know how many times you want the loop to iterate in advance of entering the loop?
Choose an answer
While
Do-while
For
Nested
Previous
Skip
Next
Question # 17
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 # 18
Which format specifier is used for integer data type?
Choose an answer
%d
%c
%s
%f
Previous
Skip
Next
Back