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
An entity related to itself in an ERD model refers to :
Choose an answer
Recursive relationship
One-to-many relationship
Many-to-many relationship
One-to-one relationship
Previous
Skip
Next
Question # 2
The value of expression in switch statement must be type of
Choose an answer
int
char
float
both a and b
Previous
Skip
Next
Question # 3
Which of the following looks for the prototypes of functions used in a program
Choose an answer
Linker
Loader
Compiler
Parser
Previous
Skip
Next
Question # 4
When a relational expression is false, it has the value __________
Choose an answer
0
1
<0
S
Previous
Skip
Next
Question # 5
What symbol indicates that you are editing a record?
Choose an answer
Pencil
Black arrow
Key
Asterisk
Previous
Skip
Next
Question # 6
Which is a valid statement for initializing of a variable?
Choose an answer
int n=100;
int x=50, y=75;
char grade='a'
All of these
Previous
Skip
Next
Question # 7
Which of the following may be a temporary life?
Choose an answer
master File
transaction file
back up file
none of these
Previous
Skip
Next
Question # 8
Format specifier is started with symbol:
Choose an answer
?
%
&
*
Previous
Skip
Next
Question # 9
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 10
The exponential notation consists of:
Choose an answer
Mantissa
Exponent
Range
A and B
Previous
Skip
Next
Question # 11
A program used for producing an on-screen or printed documents from the database is known as:
Choose an answer
Security
Report generator
Query
SQL prompt
Previous
Skip
Next
Question # 12
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 13
Relationship are
Choose an answer
uni-directional
bi-directional
tri-directional
none of these
Previous
Skip
Next
Question # 14
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 15
Which of the following symbol is used to denote a pre-processor statement?
Choose an answer
%
$
#
@
Previous
Skip
Next
Question # 16
---------------- are written before the main () function
Choose an answer
C statements
preprocessor directives
linking instructions
both a and b
Previous
Skip
Next
Question # 17
In 3NT which form of dependency is removed ?
Choose an answer
functional
non-functional
associative
transitive
Previous
Skip
Next
Question # 18
In if statement , true is represented by:
Choose an answer
0
1
2
3
Previous
Skip
Next
Back