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
______is a functional dependency in a relation between two or more non-key attributes
Choose an answer
Transitive dependency
Partial dependency
Repeating groups
None of these
Previous
Skip
Next
Question # 2
In if statement , true is represented by:
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 3
Which is an example of multiple branches form single expression?
Choose an answer
If statement
Switch statement
While loop
All
Previous
Skip
Next
Question # 4
An array subscript should be
Choose an answer
Int
Float
Double
An array
Previous
Skip
Next
Question # 5
The goal of normalization is to:
Choose an answer
Get stable data structure
Increase number of relation
Increase redundancy
Remove constraints
Previous
Skip
Next
Question # 6
The functions used for input and output is stored in:
Choose an answer
stdio.h
conio.h
math.h
inout.h
Previous
Skip
Next
Question # 7
Which of the following is an image file extension?
Choose an answer
.tif
.jpg
.bmp
All
Previous
Skip
Next
Question # 8
A row of a relation is called:
Choose an answer
Attribute
Entity
Tuple
a and c
Previous
Skip
Next
Question # 9
Any array script should be:
Choose an answer
Int
Float
Double
Array
Previous
Skip
Next
Question # 10
Which of the following function is used to read a string from a file
Choose an answer
puts()
Pute()
fputs()
fgets()
Previous
Skip
Next
Question # 11
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 # 12
Which of the following is used to describe the characteristics of an object?
Choose an answer
Attribute
Relationship
Cardinality
Modality
Previous
Skip
Next
Question # 13
Which view is used to add, edit or delete records form a table?
Choose an answer
Record view
Datasheet view
Design view
Edit view
Previous
Skip
Next
Question # 14
Which form of dependency is removed in 2NF?
Choose an answer
Functional
Transitive
Associative
Partial
Previous
Skip
Next
Question # 15
The last statement of each case in switch must be a:
Choose an answer
Default statement
If-else statement
Break statement
Else statement
Previous
Skip
Next
Question # 16
Which escape sequence can move the cursor at the beginning of current line in C?
Choose an answer
\a
\b
\m
\r
Previous
Skip
Next
Question # 17
The statement that is used for an
Choose an answer
while
all
for
goto
Previous
Skip
Next
Question # 18
Which of the following may be a temporary file?
Choose an answer
Master file
Transaction file
Back up file
None
Previous
Skip
Next
Back