Sail E0 Webinar

MCQs

Total Questions : 147 | Page 15 of 15 pages
Question 141. Can we pass parameters to base class constructor though derived class or derived class constructor?
  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 142. In CPP, cin and cout are the predefined stream __________ .
  1.    Operator
  2.    Functions
  3.    Objects
  4.    Data types
 Discuss Question
Answer: Option C. -> Objects
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 143. Irrespective of exception occurrence, catch handler will always get executed.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 144. _________________are used for generic programming.
  1.    Inheritance
  2.    Virtual Functions
  3.    Templates
  4.    None of these
 Discuss Question
Answer: Option C. -> Templates
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 145. Constant variables can be created in CPP by using ________ .
  1.    enum
  2.    const
  3.    #define
  4.    All of these
  5.    None of these
 Discuss Question
Answer: Option D. -> All of these
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 146. A virtual function that has no definition within the base class is called____________.
  1.    Pure virtual function
  2.    Pure static function
  3.    Pure Const function
  4.    Friend function
 Discuss Question
Answer: Option A. -> Pure virtual function
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 147. Object oriented programming employs_________ programming approach.
  1.    top-down
  2.    procedural
  3.    bottom-up
  4.    all of these.
 Discuss Question
Answer: Option C. -> bottom-up
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!

Latest Videos

Latest Test Papers