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
The logical not operator denoted by is
Choose an answer
Ternary operator
Unary operator
a=a+b
b=b+a
Previous
Skip
Next
Question # 2
The ------------------- translates the source program into the machine code or object code
Choose an answer
compiler
assembler
interpreter
all of them
Previous
Skip
Next
Question # 3
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 4
Computer program are also known as:
Choose an answer
Hardware
Software
Firmware
None
Previous
Skip
Next
Question # 5
Which is not possible
Choose an answer
Nesting if statement
Loop in the body of statement
If statement in the body of loop
None of above
Previous
Skip
Next
Question # 6
The maximum numbers of tables in a database can be:
Choose an answer
1
2
3
Any
Previous
Skip
Next
Question # 7
The number of variables that can be used in printf ( ) function are
Choose an answer
One
Many
Three
Zero
Previous
Skip
Next
Question # 8
Which of the following is suitable for an input mask?
Choose an answer
Social security number
Telephone number
A date
All
Previous
Skip
Next
Question # 9
The header file that contains input and output functions is
Choose an answer
Math.h
Graphic.h
Stdio.h
Conio.h
Previous
Skip
Next
Question # 10
An if statement inside the true block of another if statement is called:
Choose an answer
A nested if statement
A branched if statement
A conditional operator
A relational operator
Previous
Skip
Next
Question # 11
Which of the following is not a valid escape code?
Choose an answer
\t
\r
\y
\f
Previous
Skip
Next
Question # 12
A person's name, birthday and social security number are examples of:
Choose an answer
Attributes
Entities
Relationships
Descriptors
Previous
Skip
Next
Question # 13
Which of the following data type is used to store string value:
Choose an answer
char
float
string
long
Previous
Skip
Next
Question # 14
A table with five fields has a degree of
Choose an answer
5
2
10
none
Previous
Skip
Next
Question # 15
A relation is analogous to a
Choose an answer
File
Field
Record
Row
Previous
Skip
Next
Question # 16
The output of the query is in the form of a :
Choose an answer
Table
Form
Report
Query
Previous
Skip
Next
Question # 17
This statement may be used to stop a loop's current iteration and begin once:
Choose an answer
Continue
Break
Terminate
Next
Previous
Skip
Next
Question # 18
Which of the following is used to display yes/no values?
Choose an answer
Checkbox
Option button
Both a and b
None of these
Previous
Skip
Next
Back