ppt on types of inheritance
ppt on function overriding
ppt on invocation of Constructor and Destructor
ppt on virtual functions
ppt on mechanism of virtual functions
ppt on Pure Virtual Functions
Inheritance and Virtual Functions
Overview
After watching the video and lecture notes, students are evaluated for their understanding on the concepts with a quiz and activity
Quiz on Virtual Functions and Inheritance
Student has to solve TPS activity and answer the quiz questions
OOPS WITH c++
QUIZ QUESTIONS
1. What is the difference between c & c++?
2. What are the few advantages of Inline function?
3. When two or more classes serve as base class for a derived class, the situation is known as __________.
a. multiple inheritance
b. polymorphism
c. encapsulation
d. hierarchical inheritance
e. none of these
4.When a class serves as base class for many derived classes, the situation is called:
a. polymorphism
b. hierarchical inheritance
c. hybrid inheritance
d. multipath inheritance
e. none of these
5.Which symbol is used to create multiple inheritance?
a)Dot
b)Comma
c)Dollar
d) None of the mentioned
6. What are the different forms of inheritance supported by C++?
7.Which of the following advantages we lose by using multiple inheritance?
a) Dynamic binding
b) Polymorphism
c) Both a & b
d) None of the mentioned
8. | Which of the following type of class allows only one object of it to be created? | |||||||
|
9. | Which of the following concepts means determining at runtime what method to invoke? | |||||||
|
10 | .Which of the following statements is correct? | |||||||
|