General Questions (Set - 1)

Question 16 :

Which of the following concepts means adding new components to a program as it runs?


A). Data hiding
B). Dynamic typing
C). Dynamic binding
D). Dynamic loading
Answer : Option D

Question 17 :

Which of the following statement is correct?


A). A constructor is called at the time of declaration of an object.
B). A constructor is called at the time of use of an object.
C). A constructor is called at the time of declaration of a class.
D). A constructor is called at the time of use of a class.
Answer : Option A

Question 18 :

Which of the following correctly describes overloading of functions?


A). Virtual polymorphism
B). Transient polymorphism
C). Ad-hoc polymorphism
D). Pseudo polymorphism
Answer : Option C

Question 19 :

Which of the following approach is adapted by C++?


A). Top-down
B). Bottom-up
C). Right-left
D). Left-right
Answer : Option B

Question 20 :

Which of the following is correct about function overloading?


A). The types of arguments are different.
B). The order of argument is different.
C). The number of argument is same.
D). Both A and B.
Answer : Option D