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
C was developed in the year:
Choose an answer
1970
1972
1976
1995
Previous
Skip
Next
Question # 2
Which of the following format specifiers is used for character data type?
Choose an answer
%d
%s
%c
%f
Previous
Skip
Next
Question # 3
What is the function of a Form in MS Access?
Choose an answer
View one record at a time
Add new data
Change existing data
All
Previous
Skip
Next
Question # 4
The body of for loop with single statement ends with:
Choose an answer
Right bracket ]
Right brace }
Comma ,
Semi colon ;
Previous
Skip
Next
Question # 5
Compiled programs typically execute faster because:
Choose an answer
Compiled programs are read and executed a line at a time
Compiled programs are already in a machine-readable form.
Compiled programs do not require any data
None of these
Previous
Skip
Next
Question # 6
Which of the following is an image file extension?
Choose an answer
.tif
.jpg
.bmp
All
Previous
Skip
Next
Question # 7
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 8
The symbol '=' represents
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 9
The conditional portion of the If statement can contain:
Choose an answer
Any valid constant
Any expression that can be evaluated to a Boolean value
Any valid variable
Any valid constant or vairable
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
Relational operators allow you to _____________ numbers.
Choose an answer
Compare
Add
Multiply
Divide
Previous
Skip
Next
Question # 12
Conditional operator is an alternative of:
Choose an answer
if
if-else
Nested if
All
Previous
Skip
Next
Question # 13
An MS Access table contains:
Choose an answer
Fields
Records
Characters
All
Previous
Skip
Next
Question # 14
Microsoft Access saves the database with extension
Choose an answer
mdb
msdb
madb
none of them
Previous
Skip
Next
Question # 15
If x=10 and y=5,, what will the output of the following expression?
x>y? x*y: x+y
Choose an answer
5
10
15
50
Previous
Skip
Next
Question # 16
Switch statement must use the keyword
Choose an answer
Case
Default
Break
All of the above
Previous
Skip
Next
Question # 17
In a for statement, this expression is executed only once:
Choose an answer
Test
Validation
Initialization
All
Previous
Skip
Next
Question # 18
Which format specific is used for integer data type?
Choose an answer
%d
%S
%C
%f
Previous
Skip
Next
Back