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
What is the final value of x after executing the following code:
For (int x=0; x<10; X++)
Choose an answer
10
9
0
1
Previous
Skip
Next
Question # 2
_______________ 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
Question # 3
Which of the following is used to describe the characteristics of an object?
Choose an answer
Attribute
Relationship
Cardinality
Modality
Previous
Skip
Next
Question # 4
A file is stored in:
Choose an answer
RAM
ROM
Cache
Hard disk
Previous
Skip
Next
Question # 5
From the followings which is different
Choose an answer
If
Else-if
Function
Switch
Previous
Skip
Next
Question # 6
Which of the following statement is not true
Choose an answer
The field list displays all the fields from a form's under lying table or query
Click the field list button on the toolbar to display the field list
You can add fields to a form by dragging them from the field list onto the form
The field list displays all the fields from every table in a database
Previous
Skip
Next
Question # 7
Which is the correct sequence of steps for creating and executing C program?
Choose an answer
Editing
→ saving
→ compiling
→ linking
→ Executing
Compiling
→
Editing
→ saving
→ Executing
→ linking
Editing
→ Executing
→ Compiling
→ Linking
Linking
→
Executing
→ saving
→ Editing
→ compiling
Previous
Skip
Next
Question # 8
A subform can be created using:
Choose an answer
Drag and drop method
The form Wizard
Subform wizard
All
Previous
Skip
Next
Question # 9
C language has --------------------- key words
Choose an answer
50
45
32
27
Previous
Skip
Next
Question # 10
The loop which never ends is called:
Choose an answer
Infinite loop
Running loop
Continuous loop
Nested loop
Previous
Skip
Next
Question # 11
Which of the following database object is used to retrieve data form database ?
Choose an answer
Queries
Forms
Reports
Tables
Previous
Skip
Next
Question # 12
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 13
The name of header file is written between:
Choose an answer
[ ]
( )
< >
<< >>
Previous
Skip
Next
Question # 14
Which is a valid statement for declaring a variable?
Choose an answer
int marks;
int a,b,c;
Double salary;
All
Previous
Skip
Next
Question # 15
A virtual table that is constructed form other tables is called:
Choose an answer
Table
View
Relation
Tuple
Previous
Skip
Next
Question # 16
The name of actual and formal parameters
Choose an answer
May or may not be same
Must be same
Must be different
Must be in lowercase
Previous
Skip
Next
Question # 17
Which of the following file is used to store additional copy of data?
Choose an answer
Master file
Transaction file
Backup file
None
Previous
Skip
Next
Question # 18
A relation is in 2NF if it is in 1NF and all its non-key attributes are:
Choose an answer
Dependent on part of the primary key
Dependent on the entire primary key
Independent on the primary key
Independent of any other relation
Previous
Skip
Next
Back