INDIAN INSTITUTE OF INFORMATION
TECHNOLOGY, BHOPAL
Assignment
Subject: Object Oriented Programming (IT- 214)
Branch: Information Technology Section-2
3rd Semester
Submitted by: Submitted to:
Aryan Dixit Dr. Ashish Kumar Sahu
Scholar no.: 23U03116 Course Instructor
INDEX
S. No. Name of Experiment Remark
1. Program to demonstrate all types of constructors
for a class Complex
2. Program to demonstrate operator overloading for
addition and subtraction over two complex
numbers
3. Program to demonstrate polymorphism by adding
two int numbers, three int numbers, and one int ad
one float.
4. Program to demonstrate pre/post increment and
decrement where pre/post increment rather do the
operation by increment by 1, it decrements by 1,
and vise-versa
5. Program to store book number, name, publisher,
author, no. of pages and year of publication using
class and concept of inheritance
6. Implementing a class string containing the
different functions
7. Creating a class called LIST with two pure virtual
function store() and retrieve(), derive two classes
stack and queue from it and override store and
retrieve.
8. Program to give result of a student, using
inheritance of classes such as Student, Exam,
Result to perform different operations
9. Program to create a class SHAPE, TRIANGLE &
RECTANGLE to evaluate area of given shapes in
an interactive way using inheritance
10. Creating a class TIME with members hours,
minutes, seconds, taking input, add two time
objects passing objects to function and display
result