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 10th Class English Medium Chapter 2 Online Test MCQs With Answers
Question # 1
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 2
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 3
Which operator has the highest precedence among the following ?
Choose an answer
/
!
>
<
Previous
Skip
Next
Question # 4
Which operators are applied over one operand only ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 5
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 6
Format specifier is always preceded by:
Choose an answer
%
=
^
$
Previous
Skip
Next
Question # 7
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 8
Which is a built-in function in C language that takes input from user into the variables ?
Choose an answer
printf()
scanf()
input
print
Previous
Skip
Next
Question # 9
Which of the following is a type of operator ?
Choose an answer
assignment operator
arithmeticoperators
logicaloperators
all of these
Previous
Skip
Next
Question # 10
Which of the following are logical operators ?
Choose an answer
AND
OR
NOT
all of these
Previous
Skip
Next
Question # 11
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 12
Which symbol is used to represent the NOT operator ?
Choose an answer
Previous
Skip
Next
Question # 13
printf is to used print _________ type of data:
Choose an answer
int
float
char
all of them
Previous
Skip
Next
Back