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
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 2
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 3
The statements which help us to decide whihc statements should be executed next, on the basis of conditions, are called.
Choose an answer
Error Control Statements
Selection statements
Sequential Control Statements
Repetition Control Statements
Previous
Skip
Next
Question # 4
An important property of __________ is that it stores all the values at consecutive locations inside the computer memory.
Choose an answer
Loop
Array
for loop
index
Previous
Skip
Next
Question # 5
Choose an answer
a++;
a--;
both (a) and (b)
none
Previous
Skip
Next
Question # 6
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 # 7
A set of multiple instructions enclosed in braces is called a block or.
Choose an answer
if
if -else
while
compound
Previous
Skip
Next
Question # 8
A condition can be any ____________ expression:
Choose an answer
arithmetic
relational
logical
arithmetic, relational or logical
Previous
Skip
Next
Question # 9
A _________ cannot be used as a variable name:
Choose an answer
reserved word
simple words
stringwords
reserved variable
Previous
Skip
Next
Question # 10
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 11
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a:
Choose an answer
()
*
:
{ }
Previous
Skip
Next
Question # 12
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Back