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
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 3
Which header file contains information about standard input/output function?
Choose an answer
stdio.h
math.h
Both A and B
None
Previous
Skip
Next
Question # 4
C was designed to write program for:
Choose an answer
Windows operating system
Solaris Operating system
Unix Operating system
OS/2 Operating system
Previous
Skip
Next
Question # 5
The number of bytes used by float data type in C is:
Choose an answer
2
4
121
16
Previous
Skip
Next
Question # 6
The keyword used to transfer control from the body of loop to the start of loop is
Choose an answer
Exit
Continue
Break
End
Previous
Skip
Next
Question # 7
Switch statement must use the keyword
Choose an answer
Case
Default
Break
All of the above
Previous
Skip
Next
Question # 8
Compiled programs typically execute faster because:
Choose an answer
Compiled programs are read and executed a line at a time
Compiled programs are already in a machine-readable form.
Compiled programs do not require any data
None of these
Previous
Skip
Next
Question # 9
Which of the following view in MS Access looks like an electronic spreadsheet?
Choose an answer
Datasheet
QBE
Relationship
Design
Previous
Skip
Next
Question # 10
A report is a complete set of _______ field:
Choose an answer
Distinct
Related
Designed
All
Previous
Skip
Next
Question # 11
A report may be based on a :
Choose an answer
Table
Query
Both a and b
None
Previous
Skip
Next
Question # 12
A candidate key is
Choose an answer
Primary key
The primary key selected to be the key of relation
A group attribute that can be the primary key
All of them
Previous
Skip
Next
Question # 13
Microsoft Access saves the database with extension
Choose an answer
mdb
msdb
madb
none of them
Previous
Skip
Next
Question # 14
An expression that uses a relational operator is known as:
Choose an answer
Operational
Sequential
Serial
Relational
Previous
Skip
Next
Question # 15
Which of the following is used to separate each variable while declaring more than one variable on the same line?
Choose an answer
Commas
Colons
Pipes
Semicolons
Previous
Skip
Next
Question # 16
In a loop semicolon is placed at the end of condition:
Choose an answer
While
For
Do-while
None of these
Previous
Skip
Next
Question # 17
Which of the following is basic data distribution strategy?
Choose an answer
Centralized
Partitioned
Replication
All
Previous
Skip
Next
Question # 18
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 19
Relational operators are used to
Choose an answer
Establish a relationship among variables
Compare two values
Construct compound condition
Performs arithmetic operators
Previous
Skip
Next
Question # 20
Data type int contain bytes:
Choose an answer
10
4
2
1
Previous
Skip
Next
Question # 21
_______________ refers to a method of database distribution in which one database contains data that are included in another database.
Choose an answer
Splitting
Partitioning
Replication
Dividing
Previous
Skip
Next
Question # 22
_______________ refers to a method of database distribution in which different portions of database reside at different nodes in the network.
Choose an answer
Spliting
Partitioning
Replication
Dividing
Previous
Skip
Next
Back