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 called escape character which is associated with each escape sequence to notify about escape ?
Choose an answer
back slash (\)
/
?
:
Previous
Skip
Next
Question # 2
Which symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 3
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 4
Which of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Question # 5
Which symbol is used to represent the OR operator ?
Choose an answer
Previous
Skip
Next
Question # 6
Escape sequences consists of ________ characters:
Choose an answer
two
three
four
five
Previous
Skip
Next
Question # 7
Which is identifier for compiler to identity the end of a line ?
Choose an answer
:
:
"
'
Previous
Skip
Next
Question # 8
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 9
Which of the following are logical operators ?
Choose an answer
AND
OR
NOT
all of these
Previous
Skip
Next
Question # 10
Which of the following is escape sequence ?
Choose an answer
\n
\t
\a
all of these
Previous
Skip
Next
Question # 11
Which of the following is not a type of operator ?
Choose an answer
arithmetic operator
checkoperator
relationaloperator
logicaloperator
Previous
Skip
Next
Question # 12
Which is used to display data in specific format ?
Choose an answer
read
data
specifiers
format specifiers
Previous
Skip
Next
Question # 13
Let the following part of code, what will be the value of variable an after execution:
int a = 4;
float b= 2.2;
a = a * b;
Choose an answer
8.8
8
8.2
8.0
Previous
Skip
Next
Back