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
Format specifier is always preceded by:
Choose an answer
%
=
^
$
Previous
Skip
Next
Question # 3
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Question # 4
All of arithmetic operators, relational operators and logical operators && and || are:
Choose an answer
unary operators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 5
What is true about C language ?
Choose an answer
C is not a case sensitive language
keywords can be used as variable names
All logical operators are binary
none of them
Previous
Skip
Next
Question # 6
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Question # 7
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 8
Which of the following is a type of operator ?
Choose an answer
assignment operator
arithmeticoperators
logicaloperators
all of these
Previous
Skip
Next
Question # 9
Which operator checks whether right and left operands are equal or not ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 10
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
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 function used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 13
Which of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Back