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 Online Test MCQs With Answers
Question # 1
A set of multiple instructions enclosed in braces is called a block or.
Choose an answer
if
if -else
while
compound
Previous
Skip
Next
Question # 2
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 3
Which format specifier is used for float data type ?
Choose an answer
%d
%i
%f
%c
Previous
Skip
Next
Question # 4
Which of the following are logical operators ?
Choose an answer
AND
OR
NOT
all of these
Previous
Skip
Next
Question # 5
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 6
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 7
Functions could be bult-in of...........
Choose an answer
Admin define
Server define
User define
Both a and b
Previous
Skip
Next
Question # 8
Which operator is used to divide the value on left side by the value on right side ?
Choose an answer
\
/
+
-
Previous
Skip
Next
Question # 9
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 10
These are the values without a decimal point:
Choose an answer
integer constants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 11
Single-line comments start with:
Choose an answer
//
==
??
&&
Previous
Skip
Next
Question # 12
Which operator assigns the result of expression on right side to the variable on left side ?
Choose an answer
==
=
*
( )
Previous
Skip
Next
Question # 13
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Back