0% found this document useful (0 votes)
26 views8 pages

Oops Assignment Sample

This document is an assignment for the Object Oriented Programming course at the Indian Institute of Information Technology, Bhopal. It includes a list of experiments demonstrating various OOP concepts such as constructors, operator overloading, polymorphism, inheritance, and virtual functions. The assignment is submitted by Aryan Dixit to Dr. Ashish Kumar Sahu.

Uploaded by

mrunknownsir10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views8 pages

Oops Assignment Sample

This document is an assignment for the Object Oriented Programming course at the Indian Institute of Information Technology, Bhopal. It includes a list of experiments demonstrating various OOP concepts such as constructors, operator overloading, polymorphism, inheritance, and virtual functions. The assignment is submitted by Aryan Dixit to Dr. Ashish Kumar Sahu.

Uploaded by

mrunknownsir10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like