Contents

A block of code that perform some operation is called…….
a) procedure                       
b) function
c) array                                 
d) loop

a

Which of the following keyword indicate the start of procedure body?
a) Sub                                   
b) End Sub
c) start                                   
d) end

a

Which of the following keyword indicate the end of procedure body?
a) Sub                                   
b) End Sub
c) start                                   
d) end

b

A block of code that performs some actions is known as……..
a) procedure                        
b) function
c) array                                 
d) loop

b

Which of the following is the advantage of function?
a) easy to write program                                   
b) reusability
c) eliminate duplicate code
d) all of these

d

Which of the following is type of function available in C++?
a) user-defined    
b) built-in
c) subprogram                     
d) both a & b

d