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 function used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 2
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Question # 3
scanf is a __________ in C programming language:
Choose an answer
keyboard
library
function
none of them
Previous
Skip
Next
Question # 4
A tab stop is collection of _________ spaces:
Choose an answer
8
6
7
9
Previous
Skip
Next
Question # 5
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 6
Which operator is used to divide the value on left side by the value on right side ?
Choose an answer
\
/
+
-
Previous
Skip
Next
Question # 7
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 # 8
Which symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 9
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
Question # 10
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 11
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 # 12
All of arithmetic operators, relational operators and logical operators && and || are:
Choose an answer
unary operators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Back