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
Escape sequences consists of ________ characters:
Choose an answer
two
three
four
five
Previous
Skip
Next
Question # 2
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 3
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 4
Which operator accepts Boolean expression and returns true if at least one of the operands is true ?
Choose an answer
Previous
Skip
Next
Question # 5
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 6
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 7
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 # 8
Which function used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 9
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 10
Which symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 11
Which is a built-in function in C programming language to show output on screen?
Choose an answer
printf()
scanf()
input
print
Previous
Skip
Next
Question # 12
Which of the following are logical operators ?
Choose an answer
AND
OR
NOT
all of these
Previous
Skip
Next
Question # 13
Which library file include in header section of program, when using getch() function ?
Choose an answer
conio.h
stdio.h
math.h
string.h
Previous
Skip
Next
Back