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 is NOT a rule for naming variables?
Choose an answer
Use a descriptive name for the value
Start the name of variable with a letter
Use nothing but letters, digits, or the underscore character
All the above
Previous
Skip
Next
Question # 2
The type of files from functional point of view include:
Choose an answer
Program file
Data file
a and b
None of these
Previous
Skip
Next
Question # 3
Another term for a conditional operator is:
Choose an answer
Ternary
Binary
Byte
Iteration
Previous
Skip
Next
Question # 4
Which term describes the kind of values that a variable can store?
Choose an answer
Varaible name
Datatype
Varaibletype
Varaiblesize
Previous
Skip
Next
Question # 5
The functions used for input and output is stored in:
Choose an answer
stdio.h
conio.h
math.h
inout.h
Previous
Skip
Next
Question # 6
A report may be based on:
Choose an answer
A table but not a query
A query but a table
Both a table and a query
None of these
Previous
Skip
Next
Question # 7
Which of the following is suitable for an input mask?
Choose an answer
Social security number
Telephone number
A date
All
Previous
Skip
Next
Question # 8
Variable are created in:
Choose an answer
RAM
ROM
Hard Disk
USB
Previous
Skip
Next
Question # 9
The statement printf ("%-10d",n) will display the value of n:
Choose an answer
Right justified in ten-character space
Left justified in ten-character space
Center-justified in ten-character space
None of these
Previous
Skip
Next
Question # 10
A person's account, car and house are considered:
Choose an answer
Object
Table
Record
Field
Previous
Skip
Next
Question # 11
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
Question # 12
Which of the following is used for making two way decision:
Choose an answer
if-else
If
Nested if
Switch
Previous
Skip
Next
Question # 13
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Question # 14
Go to statement can not work properly without
Choose an answer
condition
operator
label
none
Previous
Skip
Next
Question # 15
The program structure that executes program statements in order is
Choose an answer
selection
sequence
repetition
iteration
Previous
Skip
Next
Question # 16
This means to increase a value by one:
Choose an answer
Modulus
Increment
Decrement
Inc
Previous
Skip
Next
Question # 17
Which data type is used to define a field that contains Web address as its context?
Choose an answer
Hyperlink
OLE object
Lookup Wizard
AutoNumber
Previous
Skip
Next
Question # 18
Which of the following is not a good primary key
Choose an answer
Social security number
Order number
Zip code
STD ID number
Previous
Skip
Next
Back