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
The entity integrity rule states that:
Choose an answer
No primary key attribute can be null
Each entity must have a primary key
Primary key must have only one attribute
None
Previous
Skip
Next
Question # 2
All of the following are components of physical database design EXCEPT:
Choose an answer
Data volume and usage anylisis
Data distribution strategy
File organization
Normalize the relations
Previous
Skip
Next
Question # 3
Which of the following is NOT part of an if statement?
Choose an answer
A condition that evaluates as a Boolean
A condition that evaluates as true or false
A true block
All of are part of an IF statement
Previous
Skip
Next
Question # 4
Which of the following anomalies result from a transitive dependency ?
Choose an answer
Insertion
Modification
Deletion
All
Previous
Skip
Next
Question # 5
Which data type is used to store numeric value with no decimal point?
Choose an answer
int
char
float
All
Previous
Skip
Next
Question # 6
A person's account, car and house are considered:
Choose an answer
Object
Table
Record
Field
Previous
Skip
Next
Question # 7
The format specifier %u is used for:
Choose an answer
Integer
Unsigned short
Unsigned float
Unsigned long int
Previous
Skip
Next
Question # 8
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 # 9
All records in a file have the same:
Choose an answer
Contents
Structure
Order
Key
Previous
Skip
Next
Question # 10
We can make two way decisions with the help of
Choose an answer
if
nested
if-else
all
Previous
Skip
Next
Question # 11
Which of the following key is used to to load a program in memory to run?
Choose an answer
ALT+F9
CTRL+F9
CTRL+S
ALT+F5
Previous
Skip
Next
Question # 12
Relational operators are used to
Choose an answer
Establish a relationship among variables
Compare two values
Construct compound condition
Performs arithmetic operators
Previous
Skip
Next
Question # 13
Which of the following is NOT included in the definition of an entity?
Choose an answer
Person
Object
Concept
Action
Previous
Skip
Next
Question # 14
The number of bytes used by 'int' data type in C are:
Choose an answer
2
8
12
16
Previous
Skip
Next
Question # 15
Which file contains the program after translation into machine language?
Choose an answer
Object file
Exe file
Source file
None
Previous
Skip
Next
Question # 16
The escape sequence for backspace is
Choose an answer
\
\b
\\
\t
Previous
Skip
Next
Question # 17
The number of bytes used by double data type in C is:
Choose an answer
2 (8) 8
12
6
Previous
Skip
Next
Question # 18
Which programming structure makes a comparison?
Choose an answer
Relation
Decision
Sequence
Repetition
Previous
Skip
Next
Back