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 loop statement executes the body of loop at least once?
Choose an answer
do-white
While
For
None of these
Previous
Skip
Next
Question # 2
Assembly language is also called ______ language
Choose an answer
Symbolic
High-level
Low-level
intermediate-level
Previous
Skip
Next
Question # 3
______ are used to enter data into databases
Choose an answer
Queries
Reports
Tables
Forms
Previous
Skip
Next
Question # 4
The number of bytes used by double data type in C is:
Choose an answer
2
8
12
16
Previous
Skip
Next
Question # 5
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 6
Which of the following are valid case statements in a switch?
Choose an answer
Case 1:
Case x<4:
Case 'ab':
Case 1.5:
Previous
Skip
Next
Question # 7
Forms are designed for
Choose an answer
Input data
Manipulated data
Accepting change
All of them
Previous
Skip
Next
Question # 8
How many variables can be used in one printf function?
Choose an answer
One
Two
Many
Ten
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
A record in a database is the information refers to:
Choose an answer
Person
Product
Event
All
Previous
Skip
Next
Question # 11
The name of header file is written between:
Choose an answer
[ ]
( )
< >
<< >>
Previous
Skip
Next
Question # 12
conio stands for :
Choose an answer
Character input output
Consoleinput output
Commoninput output
Complexinput output
Previous
Skip
Next
Question # 13
A request for information from a database in database terminology is called
Choose an answer
Report
Letter
Table
Query
Previous
Skip
Next
Question # 14
Which of the following is NOT a database object?
Choose an answer
Table
Query
Report
MS word
Previous
Skip
Next
Question # 15
The format specifier %u is used for:
Choose an answer
Integer
Unsigned short
Unsigned float
Unsigned long int
Previous
Skip
Next
Question # 16
What is the default field size of a text data type field?
Choose an answer
2
5
20
50
Previous
Skip
Next
Question # 17
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 # 18
The foreign key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Back