Contents

How many types of conditional/ selection statement?
a) one  
b) two 
c) three
d) four

d

Explanation: if statement, if-else statement, nested if statement, switch statement



The simplest form of selection structure is.
a) if statement   
b) if-else statement
c) nested if          
d) switch statement

a



When did statements after if statement is executed?
a) condition is true      
b) condition is false
c) both a & b               
d) none of these


a

Which of the following is syntax of if statement?
a) if{condition} statement
b) if(condition) statement
c) if” condition” statement
d) all of these

b

The set of statements is also called…
a) block of statement  
b) block of code
c) statement of block
d) code of block

a

Which programming statement decides?
a) if                             
b) break
c) assignment              
d) print ()

a