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 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 # 2
Which format specifier is used for float data type ?
Choose an answer
%d
%i
%f
%c
Previous
Skip
Next
Question # 3
Which is identifier for compiler to identity the end of a line ?
Choose an answer
:
:
"
'
Previous
Skip
Next
Question # 4
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 # 5
Which symbol is used to represent the OR operator ?
Choose an answer
Previous
Skip
Next
Question # 6
Format specifier is always preceded by:
Choose an answer
%
=
^
$
Previous
Skip
Next
Question # 7
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 # 8
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 9
Which operator negates or reverses the value of Boolean expression ?
Choose an answer
Previous
Skip
Next
Question # 10
Which operator is used to subtract the value on right side from the value on left side ?
Choose an answer
+
-
*
%
Previous
Skip
Next
Question # 11
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 12
Which of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Back