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
A \t is used for:
Choose an answer
New line
Tab
Back space
None of these
Previous
Skip
Next
Question # 2
A category of data or information that describes an entity is called
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 3
The symbol '=' represents
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 4
To select all records that begin with letters A through G
Choose an answer
<="G"
Like "G"
<> A
> A
Previous
Skip
Next
Question # 5
The type of files from usage point of view include:
Choose an answer
Master file
Transaction file
Backup file
All
Previous
Skip
Next
Question # 6
Which statement is true about data types?
Choose an answer
Data type has no memory requirements
Each data type has different memory requirements
Each data type has same memory requirements
None of the above
Previous
Skip
Next
Question # 7
Which is a numeric data type ?
Choose an answer
float
int
Both a and b
char
Previous
Skip
Next
Question # 8
stdio.h is part of:
Choose an answer
Comment section
C standard library
Compiler
Main function
Previous
Skip
Next
Question # 9
The statement printf ("%-10d",n) will display the value of n:
Choose an answer
Right justified in ten-character space
Left justified in ten-character space
Center-justified in ten-character space
None of these
Previous
Skip
Next
Question # 10
Which form of dependency is removed n 3NF?
Choose an answer
Functional
Non-functional
Associative
Transitive
Previous
Skip
Next
Question # 11
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 12
In a relational database, a single piece of information is called:
Choose an answer
Table
Record
Entity
Attribute
Previous
Skip
Next
Question # 13
Which of the following are required to declare a variable?
Choose an answer
keyword
Variable name
Data type
Both b and c
Previous
Skip
Next
Question # 14
Which of the following is not a valid escape code?
Choose an answer
\t
\r
\y
\f
Previous
Skip
Next
Question # 15
Which of the following is an example of a database?
Choose an answer
Liberary management system
Accounts & inventory system
College management system
All
Previous
Skip
Next
Question # 16
A record is a ------------------- in table
Choose an answer
row
field
table
data
Previous
Skip
Next
Question # 17
Choose an answer
mendatory
optional
may be many
none of theses
Previous
Skip
Next
Question # 18
Optional is represented by
Choose an answer
0
1
2
none of these
Previous
Skip
Next
Back