Contents

Which statement have this statement If(condition){if(condition){statement}else{statement}}?
a) if-else                                
b) if
c) nested if                           
d) switch

c

Which statement is used when single block of statement is executed?
a) if statement    
b) if-else statement
c) nested if                           
d) switch statement

a

Which statement is used when if block is skipped and other else block of code is executed?
a) if statement                     
b) if-else statement
c) nested if                           
d) switch statement

b

Which statement is used to select a block of statement is based on the value or variable?
a) if statement                     
b) if-else statement
c) nested if                           
d) switch statement

d

if there is no match the default block of variable is executed is called……
a) if statement                     
b) if-else statement
c) nested if                           
d) switch statement

d

which symbol is used for writing a statement after condition?
a) {}                                       
b) []
c) ()                                        
d) <>

a