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 of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 2
Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ?
Choose an answer
\c
\t
\n
\r
Previous
Skip
Next
Question # 3
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 4
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 # 5
Which operator makes it true, if it is false and false if it true ?
Choose an answer
Previous
Skip
Next
Question # 6
Which symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 7
Which operator has the highest precedence among the following ?
Choose an answer
/
!
>
<
Previous
Skip
Next
Question # 8
Which operators perform operation on Boolean expressions and produce a Boolean expressions as a result ?
Choose an answer
logical
assignment
arithmetic
relation
Previous
Skip
Next
Question # 9
Which symbol is used to represent the NOT operator ?
Choose an answer
Previous
Skip
Next
Question # 10
Which is used to display data in specific format ?
Choose an answer
read
data
specifiers
format specifiers
Previous
Skip
Next
Question # 11
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 12
Which of the following is a type of operator ?
Choose an answer
assignment operator
arithmeticoperators
logicaloperators
all of these
Previous
Skip
Next
Question # 13
Escape sequences consists of ________ characters:
Choose an answer
two
three
four
five
Previous
Skip
Next
Back