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
Computer Science Ics Part 2 Online Test MCQs With Answers
Question # 1
The conditional portion of the If statement can contain:
Choose an answer
Any valid constant
Any expression that can be evaluated to a Boolean value
Any valid variable
Any valid constant or vairable
Previous
Skip
Next
Question # 2
Which of the following looks for the prototypes of functions used in a program
Choose an answer
Linker
Loader
Compiler
Parser
Previous
Skip
Next
Question # 3
Which data type is used to store numeric value with no decimal point?
Choose an answer
int
char
float
All
Previous
Skip
Next
Question # 4
Which rule states that a record form a table cannot be deleted if its associated record exists in related table?
Choose an answer
Referential integrity
Entity relationship
Normalization
All
Previous
Skip
Next
Question # 5
Which of the following file contains the software instructions?
Choose an answer
Program file
Data file
Both a and b
None
Previous
Skip
Next
Question # 6
Which format specifier is used for integer data type?
Choose an answer
%d
%c
%s
%f
Previous
Skip
Next
Question # 7
The foreign key is found in
Choose an answer
parent table
dependent table
pivot table
index table
Previous
Skip
Next
Question # 8
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 9
Each item of information with in a record is called:
Choose an answer
File
Field
Both a and b
byte
Previous
Skip
Next
Question # 10
In if statement, false is represented by :
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 11
Which of the following is NOT legal element of control string in printf statement?
Choose an answer
Ordinary characters
Escape sequence
Format specifier
Variables
Previous
Skip
Next
Question # 12
%f is used for:
Choose an answer
Double
Float
Integer
Short
Previous
Skip
Next
Question # 13
The process data is called
Choose an answer
data
information
processing
none
Previous
Skip
Next
Question # 14
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 15
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 # 16
A form with in another form is called:
Choose an answer
Sub-form
Main form
Multi-form
None
Previous
Skip
Next
Question # 17
Add new record to the table in datasheet by typing data beside the
Choose an answer
*
!
@
=
Previous
Skip
Next
Question # 18
From the followings which is different
Choose an answer
If
Else-if
Function
Switch
Previous
Skip
Next
Back