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 is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
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
Which function that is used to take input from the user.
Choose an answer
output
Input
Scan f
Print f
Previous
Skip
Next
Question # 4
Statements that are ignored by the compiler and do not get executed:
Choose an answer
read only
comments
enclosed in braces
curly braces
Previous
Skip
Next
Question # 5
The __ of the function is the data type of the value returned by function.
Choose an answer
Return type
Input
Output
Value
Previous
Skip
Next
Question # 6
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Question # 7
array can be initialized _______ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 8
Which operator makes it true, if it is false and false if it true ?
Choose an answer
Previous
Skip
Next
Question # 9
Which Statements is used ot execute not set of instructions, if a particular condition is true and another set of instructions if the condition is false.
Choose an answer
if
else
if else
loop
Previous
Skip
Next
Question # 10
_______ make it easier to read and write values in array:
Choose an answer
loops
conditions
expressions
functions
Previous
Skip
Next
Question # 11
Set of instruction given to the computer to perform a specific task is known as:
Choose an answer
computer program
software
both a and b
none of these
Previous
Skip
Next
Question # 12
Which format specifier is used for character data type ?
Choose an answer
%d
%i
%c
%f
Previous
Skip
Next
Back