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
In an E-R diagram a rectangle represents
Choose an answer
Entity
Arttibute
Record
None of them
Previous
Skip
Next
Question # 2
Which criteria can be used to find four-character name that starts with H?
Choose an answer
H*4
H?4
H???
H####
Previous
Skip
Next
Question # 3
Which of the following is also known as data set?
Choose an answer
Record
Field
File
Module
Previous
Skip
Next
Question # 4
a+=b is equivalent to
Choose an answer
a+=b
a=+b
a=a+b
b=b+a
Previous
Skip
Next
Question # 5
An advantage of partitioning is:
Choose an answer
Efficiency
Extra space
Reliabilty
Accuracy
Previous
Skip
Next
Question # 6
The loop which never ends is called:
Choose an answer
Infinite loop
Running loop
Continuous loop
Nested loop
Previous
Skip
Next
Question # 7
Which of the following is NOT suitable for an input mask?
Choose an answer
Street address
Telephone number
A date
Social security number
Previous
Skip
Next
Question # 8
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 # 9
How many types of relationship can be used?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 10
A form with in another form is called:
Choose an answer
Sub-form
Main form
Multi-form
None
Previous
Skip
Next
Question # 11
Which of the following key does not hold uniqueness property ?
Choose an answer
candidate key
foreign key
primary key
Secondary key
Previous
Skip
Next
Question # 12
Each separate piece of information stored in a record is called:
Choose an answer
Table
Record
Field
Query
Previous
Skip
Next
Question # 13
C was developed in the year:
Choose an answer
1970
1972
1976
1995
Previous
Skip
Next
Question # 14
Which of the following anomalies result from a transitive dependency ?
Choose an answer
Insertion
Modification
Deletion
All
Previous
Skip
Next
Question # 15
Which escape sequence can be used to begin a new line in C?
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 16
Turbo C++ can compile:
Choose an answer
C programs only
C and C++ programs
Turbo C Programs only
Turbo C++ programs only
Previous
Skip
Next
Question # 17
Which object of database is used to retrieve data from database?
Choose an answer
Queries
Forms
Reports
Tables
Previous
Skip
Next
Question # 18
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Back