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 function used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 2
Which operator makes it true, if it is false and false if it true ?
Choose an answer
Previous
Skip
Next
Question # 3
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 4
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Question # 5
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 # 6
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 7
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 # 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
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 10
Escape sequences consists of ________ characters:
Choose an answer
two
three
four
five
Previous
Skip
Next
Question # 11
Which escape sequence is used to print the output on multiple lines ?
Choose an answer
\c
\t
\n
\r
Previous
Skip
Next
Question # 12
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Back