Contents

The conditional operator is an alternative of …
a) if                                        
b) if….else
c) nested if                           
d) all of these

b

The case is used which of the following?
a) if                                        
b) do……while
c) for                                     
d) switch

d

Which of the following is not part of switch statement?
a) default                             
b) break
c) case                                   
d) else

d

The first line in switch statement……..
a) the value of first criterion                             
b) statement to be executed
c) expression to be evaluated                         
d) statement to be created if no criteria true

c

A case can be defined as….
a) an individual condition can test
b) set of condition to test
c) statement with if statement                         
d) block of selection code

d

The case block in switch ends which of the following?
a) end select                         
b) end case
c) break                                
d) case else

c