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
10th Class Computer Science English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 2
After escape character, which specifies the movement of the cursor to start of next time ?
Choose an answer
n
b
d
c
Previous
Skip
Next
Question # 3
The values passed to a function are called.
Choose an answer
Built -in
return type
Array
Arguments
Previous
Skip
Next
Question # 4
Which operator is used to multiply two values ?
Choose an answer
+
*
%
!
Previous
Skip
Next
Question # 5
A condition can be any ____________ expression:
Choose an answer
arithmetic
relational
logical
arithmetic, relational or logical
Previous
Skip
Next
Question # 6
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 7
Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
Choose an answer
Previous
Skip
Next
Question # 8
If the size of an array is 100, the range of indexes will be ............
Choose an answer
0 - 99
0 - 100
1 - 100
2 - 102
Previous
Skip
Next
Question # 9
How many types of logical operators ?
Choose an answer
3
1
4
2
Previous
Skip
Next
Question # 10
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 11
_______ structure allows repetition of a set of instructions:
Choose an answer
loop
conditional
control
data
Previous
Skip
Next
Question # 12
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Back