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
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 2
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 # 3
Format specifier is always preceded by:
Choose an answer
%
=
^
$
Previous
Skip
Next
Question # 4
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 5
Which symbol is used to represent the OR operator ?
Choose an answer
Previous
Skip
Next
Question # 6
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 # 7
After escape character, which specifies the movement of the cursor to start of next time ?
Choose an answer
n
b
d
c
Previous
Skip
Next
Question # 8
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 9
Which operator performs division of left operand by the right operand and returns the remainder value after division ?
Choose an answer
+
%
*
.
Previous
Skip
Next
Question # 10
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 # 11
Which operator is used to subtract the value on right side from the value on left side ?
Choose an answer
+
-
*
%
Previous
Skip
Next
Question # 12
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 13
getch() is used to take ________ as input form user:
Choose an answer
int
char
float
all of them
Previous
Skip
Next
Question # 14
Which operators are applied over one operand only ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 15
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 16
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 17
scanf is a __________ in C programming language:
Choose an answer
keyboard
library
function
none of them
Previous
Skip
Next
Back