Contents

How are compile time polymorphism implemented in C++?
a) using inheritance            
b) using virtual function
c) using templates              
d) both a & b

c

Which of the following is an abstract data type?
a) int
b) float  
c) class  
d) string

c

Which concept means the addition of new components to a program as it runs?
a) data hiding                      
b) dynamic binding
c) dynamic loading
d) dynamic typing

c

Which of the following explains the overloading of function?
a) virtual polymorphism                                   
b) transient polymorphism
c) Ad-hoc polymorphism                 
d) pseudo polymorphism

c

Which of the following approach is used by C++?
a) top-down                         
b) bottom-up
c) left-right                           
d) right-left

b

Which operator is overloaded for cout object?
a) >>
b) <<      
c) <                        
d) >

b