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
_______ structure allows repetition of a set of instructions:
Choose an answer
loop
conditional
control
data
Previous
Skip
Next
Question # 2
In which control all the statments are executed in the given dequence.
Choose an answer
Error Control Statements
Selection ctonrol statemetns
Repetition cotrol statements
Sequential Control Statements
Previous
Skip
Next
Question # 3
Any single small case letter, upper case letter, digit, punctuation mark, special symbol enclosed within ' ' is considered:
Choose an answer
integerconstants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 4
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 5
Multiple variables of same data type may also be declared in a:
Choose an answer
multiple
single statement
many
multiple variable
Previous
Skip
Next
Question # 6
Which makes it easier to read and write values in arrays.
Choose an answer
Loop
While loop
end
simple loop
Previous
Skip
Next
Question # 7
Which operator is used to multiply two values ?
Choose an answer
+
*
%
!
Previous
Skip
Next
Question # 8
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 # 9
A set of multiple instructions enclosed in braces is called a _______:
Choose an answer
box
block
list
job
Previous
Skip
Next
Question # 10
Which of the following is escape sequence ?
Choose an answer
\n
\t
\a
all of these
Previous
Skip
Next
Question # 11
__________ part of for loop is executed first:
Choose an answer
condition
body
intialization
increment/decrement
Previous
Skip
Next
Question # 12
The _______ does not describe how the function performs the task assigned to it.
Choose an answer
Return value
Function signature
Output
Reader
Previous
Skip
Next
Back