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 Unit 2 Programming In C English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which operator has the highest precedence among the following ?
Choose an answer
/
!
>
<
Previous
Skip
Next
Question # 2
Which is identifier for compiler to identity the end of a line ?
Choose an answer
:
:
"
'
Previous
Skip
Next
Question # 3
Which function is generally used to hold the execution of program because the program does not continue further until the user types a key ?
Choose an answer
read
getch()
input
printf
Previous
Skip
Next
Question # 4
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 # 5
Which operator requires three operands respectively to perform the operation ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 6
Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ?
Choose an answer
\c
\t
\n
\r
Previous
Skip
Next
Question # 7
Which operator negates or reverses the value of Boolean expression ?
Choose an answer
Previous
Skip
Next
Question # 8
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 9
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Question # 10
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 # 11
Which format specifier is used for integer data type ?
Choose an answer
%d
%i
both a and b
none of these
Previous
Skip
Next
Question # 12
Which operator makes it true, if it is false and false if it true ?
Choose an answer
Previous
Skip
Next
Back