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
________ contains icon button that are shortcuts to the commands in the menu
Choose an answer
Menu bar
Tool bars
Scroll bar
Status bar
Previous
Skip
Next
Question # 2
SQL is used for:
Choose an answer
Data definition
Data manipulaton
Data control
All
Previous
Skip
Next
Question # 3
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 4
A label is meaningful only for
Choose an answer
for
while
goto
all
Previous
Skip
Next
Question # 5
What is the value of "a" after execution the following code segment:
int a=2;
int b=0;
while(b<5)
{ a=a*2;
b=b+1;
}
a=a+1;
Choose an answer
64
65
66
67
Previous
Skip
Next
Question # 6
A program used for producing an on-screen or printed documents from the database is known as:
Choose an answer
Security
Report generator
Query
SQL prompt
Previous
Skip
Next
Question # 7
The type of expression x > y is
Choose an answer
arithmetic
logical
relational
conditional
Previous
Skip
Next
Question # 8
In a for statement, this expression is executed only once:
Choose an answer
Test
Validation
Initialization
All
Previous
Skip
Next
Question # 9
An MS Access table contains:
Choose an answer
Fields
Records
Characters
All
Previous
Skip
Next
Question # 10
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 # 11
Field properties are shown in :
Choose an answer
Design view
Datasheet view
A and B
None
Previous
Skip
Next
Question # 12
The relationship can be:
Choose an answer
One-to-one
One-to-many
Many-to-many
All
Previous
Skip
Next
Question # 13
a+=b is equivalent to:
Choose an answer
b+=a
a=+b
a=a+b
b=b+a
Previous
Skip
Next
Question # 14
Which of the following symbol is used to denote a pre-processor statement?
Choose an answer
%
$
#
@
Previous
Skip
Next
Question # 15
A file is stored in:
Choose an answer
RAM
ROM
Cache
Hard disk
Previous
Skip
Next
Question # 16
Database integrity refers to the
Choose an answer
Correctness of data
Consistency of data
Both a and b
None of these
Previous
Skip
Next
Question # 17
Which of the following is an example of a database?
Choose an answer
Liberary management system
Accounts & inventory system
College management system
All
Previous
Skip
Next
Question # 18
Every field in a table has:
Choose an answer
Field name and data type
field name and a field number
Field number and a data type
Field name, field number, and data type
Previous
Skip
Next
Back