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
10th Class Computer Science English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 2
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 3
Selection statements within selection statements are called.
Choose an answer
if -else
condition
while
nested selection structures
Previous
Skip
Next
Question # 4
Which operator makes it true, if it is false and false if it true ?
Choose an answer
Previous
Skip
Next
Question # 5
Which section contains header files ?
Choose an answer
header section (Link section)
main section
reservesection
bodysection
Previous
Skip
Next
Question # 6
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 7
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 # 8
Which operator returns remainder ?
Choose an answer
modulusoperators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 9
Which of the following is not a valid variable name ?
Choose an answer
height
9A
f_name
average
Previous
Skip
Next
Question # 10
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Question # 11
Which symbol is used to represent the NOT operator ?
Choose an answer
Previous
Skip
Next
Question # 12
C language program is written in the text editor of IDE ___________:
Choose an answer
text
ms word
power point
code::blocks
Previous
Skip
Next
Back