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
Which of the following function is used to read a string from a file
Choose an answer
puts()
Pute()
fputs()
fgets()
Previous
Skip
Next
Question # 2
A rule that states each foreign key value must match a primary key value in the other relation is called:
Choose an answer
Referential integrity constraints
Key match rule
Entity key group rule
Foreign/ primary match rule
Previous
Skip
Next
Question # 3
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 # 4
______ are used to move around the window if its contents do not fit on screen
Choose an answer
menu bar
Tool bar
Scroll bar
Status bar
Previous
Skip
Next
Question # 5
Which of the following is NOT a function of report?
Choose an answer
Display data
Edit data
Output of database application
Print data
Previous
Skip
Next
Question # 6
The exponential notation consists of:
Choose an answer
Mantissa
Exponent
Range
A and B
Previous
Skip
Next
Question # 7
DBMS stands for
Choose an answer
Database management system
Database mechanism system
Database manipulating system
Database Microsoft system
Previous
Skip
Next
Question # 8
Which of the following is used to define objects and describe their characteristics
Choose an answer
Attributes
Relationship
Both a & b
None of them
Previous
Skip
Next
Question # 9
Organizing the database in computer disk storage is done in
Choose an answer
Logical design
Physical design
Analysis
Implementation
Previous
Skip
Next
Question # 10
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 # 11
Which of the following statement can be used in C
Choose an answer
While
For
Do while
All
Previous
Skip
Next
Question # 12
SQL is a(n):
Choose an answer
Unstructured language
Structured language
Object oriented language
Software
Previous
Skip
Next
Question # 13
Which of the following menus is used to switch between table views?
Choose an answer
Edit
File
Tools
View
Previous
Skip
Next
Question # 14
A relation is in third normal form if it is in second normal form and:
Choose an answer
Dependent on part of the key
Dependent on the whole key
Independent of the key
Has no transitive dependencies
Previous
Skip
Next
Question # 15
If n=3, what will be the value of n after executing the following code?
do
n*=2
while (n<48);
Choose an answer
24
32
48
96
Previous
Skip
Next
Question # 16
The operator that needs one operand is called
Choose an answer
unary
binary
ternary
all
Previous
Skip
Next
Question # 17
Int type variable use -------------------- bytes in memory
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 18
Which of the following type of file require largest processing time?
Choose an answer
Sequential file
Random file
Indexed sequential file
Direct access file
Previous
Skip
Next
Back