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 term describes the kind of values that a variable can store?
Choose an answer
Varaible name
Datatype
Varaibletype
Varaiblesize
Previous
Skip
Next
Question # 2
Information including the table name field names and data types is stored in
Choose an answer
Data dictionary
Table
Fields
None
Previous
Skip
Next
Question # 3
How many times the instruction in the body of following loop will execute for (x = 1; x < 5; x ++)
Choose an answer
3
4
5
6
Previous
Skip
Next
Question # 4
A constraint that no primary key should contain nulls is known as:
Choose an answer
Normalization
Dependence
Entity integrity
SQL query
Previous
Skip
Next
Question # 5
When displaying a sub-form with in a main form, which form is based on the primary table?
Choose an answer
Neither main form nor sub-form
The sub-form
The main form
Both the main form and the sub-form
Previous
Skip
Next
Question # 6
Which of the following is NOT a database object?
Choose an answer
Table
Query
Report
MS word
Previous
Skip
Next
Question # 7
Format specifier starts with the symbol
Choose an answer
#
%
*
all
Previous
Skip
Next
Question # 8
A two-dimensional table of data is called:
Choose an answer
Group
Set
Module
Relation
Previous
Skip
Next
Question # 9
A loop with in a loop is called:
Choose an answer
Nested loop
Complex loop
Infinite loop
Dual loop
Previous
Skip
Next
Question # 10
Which is related to modality?
Choose an answer
Optional
Mandatory
Unidirectional
Both A & B
Previous
Skip
Next
Question # 11
How many times is the test expression of a switch statement evaluated?
Choose an answer
0
1
2
Once for each case
Previous
Skip
Next
Question # 12
Preprocessor directives are command for:
Choose an answer
Microprocessor
Language processor
C Preprocessor
Loader
Previous
Skip
Next
Question # 13
The function used to input data in C program is
Choose an answer
Print ()
Scanf ()
Sqrt ()
Main ()
Previous
Skip
Next
Question # 14
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 15
Which form of dependency is removed n 3NF?
Choose an answer
Functional
Non-functional
Associative
Transitive
Previous
Skip
Next
Question # 16
A constraint between two attributes is called:
Choose an answer
Functional relation
Attribute dependency
Functional dependency
Functional relation constaint
Previous
Skip
Next
Question # 17
A factor consider when choosing a file organization is
Choose an answer
Fast data retrieval
Security
Efficient storage
All of them
Previous
Skip
Next
Question # 18
In ERD model, the relationship between two entities is represented by a
Choose an answer
diamond symbol
rectangular box
oval symbol
line
Previous
Skip
Next
Back