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
Computer Science 10th Class English Medium Chapter 3 Online Test MCQs With Answers
Question # 1
How many types of control statements
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 2
If statement is used within another if statement is called:
Choose an answer
nested if
simple if
many if
multiple if
Previous
Skip
Next
Question # 3
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 # 4
Which of the following is not a type of control statements in C language ?
Choose an answer
Previous
Skip
Next
Question # 5
An if statement inside another if statement is called _______ structure:
Choose an answer
nested
boxed
repeated
decomposed
Previous
Skip
Next
Question # 6
How many types of control statements are available in C language ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 7
In whihc statement we -specify a condition, and assoclate a code to it.
Choose an answer
go to
selection
If
loop
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 ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Question # 10
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 # 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
Question # 12
__________ statements describe the sequence in which statements of the program should be executed:
Choose an answer
loop
conditional
control
all
Previous
Skip
Next
Back