You are on page 1of 4

Object Oriented Programming

Student Name: <Sahil Goyal>


Subject Code: <21CAH-151>

UID: 21BCA1380 Section/Group: 9B


Semester: 2nd Date of Performance:26-03-22
Experiment No.5

Aim/Overview of the practical:

To complete worksheet 2.1

Task to be done:

 Write a C++ program to demonstrate virtual base class.


 Write a C++ program to differentiate ambiguity through different modes of inheritance.

Code for experiment/practical:


1.
2.

1. Result/Output/Writing Summary:
1.
2.

Learning outcomes (What I have learnt):

1. Learned about ambiguity.

2. Learned how to use virtual keyword and remove ambiguity.

Evaluation Grid:

Sr. No. Parameters Marks Obtained Maximum Marks


1. Demonstration and Performance 5
2. Worksheet 10
3. Post Lab Quiz 5

You might also like