Contents

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 of the following symbol is used to enclose if statement?
a) {}      
b) [ ]                        
c) ( )                        
d) < >

c

Which of the following is not part of if statement?
a) a condition that evaluates                          
b) a condition that evaluates true or false
c) a true block                     
d) false blocks

a

Which statement executes block of statement when condition is true and execute other statement when condition is false?
a) if statement                     
b) if-else statement
c) switch statement            
d) none of these

b

Why do we need to alter the program flow?
a) decision alter   
b) decision making
c) decision pending             
d) decision seen

b

How many types of control statements?
a) one    
b) two    
c) three  
d) four

b

Explanation: conditional/selection statement, Repetition/looping statement