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 3 Input and Output Handling English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
A set of multiple instructions enclosed in braces is called a _______:
Choose an answer
box
block
list
job
Previous
Skip
Next
Question # 2
Which of the following is the condition to check a is a factor of c ?
Choose an answer
a % c == 0
c % a == 0
a*c == 0
a+c == 0
Previous
Skip
Next
Question # 3
In which control all the statements are executed in the given sequence:
Choose an answer
Previous
Skip
Next
Question # 4
A set of multiple instructions enclosed in braces is called a block or:
Choose an answer
if
compound
while
if else
Previous
Skip
Next
Question # 5
__________ statements describe the sequence in which statements of the program should be executed:
Choose an answer
loop
conditional
control
all
Previous
Skip
Next
Question # 6
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise,
Choose an answer
if - else
condition
while
compound
Previous
Skip
Next
Question # 7
In which statement we specify a condition, and associate a code to it:
Choose an answer
selection
if
go to
loop
Previous
Skip
Next
Question # 8
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise:
Choose an answer
if else
condition
while
compound
Previous
Skip
Next
Question # 9
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 # 10
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions.
Choose an answer
If
condition
while
compound
Previous
Skip
Next
Question # 11
In If statement, what happens if condition is false ?
Choose an answer
program crashes
index out of bound error
further code executes
compiler asks to change condition
Previous
Skip
Next
Back