Contents

What does polymorphism refer to……
a) ability to assign multiple meanings
b) overriding base class
c) overloading unction                                       
d) executing a function multiple time

a

You should make a function a virtual function……
a) every class that is derived from this class
b) need to redefine this function
c) only in the derived classes                            
d) In all parent classes

b

Dynamic binding in C++ occurs at……
a) compile time   
b) link time
c) run time                           
d) design time

c

Dynamic binding is useful for……
a) function that are overridden     
b) functions that are defined once
c) functions that are undefined                       
d) functions that are executed

a

The compiler performs……on virtual functions.
a) static binding  
b) dynamic binding
c) error checking 
d) none of these

b

Function that are dynamically bound by the compiler are…….
a) destructor                        
b) virtual function
c) destructor function
d) none of these

b