OOP Assignment List
OOP Assignment List
DHANKAWADI, PUNE-43
LIST OF LABEXPERIMENTS
ACADEMIC YEAR: 2024-2025
Date: 28/06/2024
OR
Use DDA line and Bresenham's
b) Write C+t program to draw the following pattern.
encapsulation.
circle drawing algorithm. Apply the concept of
P:F-LTL-UG/01/RO
information system containing
3 Develop a program in C++ to create a database of student's
Date of Birth, Blood
the following information: Name, Roll number, Class, Division, other. Construct the
and
group, Contact address, Telephone number, Driving license no.
database with suitable member functions. Make use of constructor, default constructor,
functions, friend class, this pointer, inline code
copy constructor, destructor, static member exception handling.
delete as well as
and dynamic memory allocation operators-new and
desired color using scan
Write a C++ program to draw a concave polygon and fill it with
fillalgorithm. Apply the concept of inheritance.
book and audio cassette
5. Imagine a publishing company which does marketing for (type float) of
versions. Create a class publication that stores the title (a string) and pricecount (type int)
publications. From this class derive two classes: book which adds a page
and tape which adds a playing time in minutes (type float).
allows user to enter data and
Write a program that instantiates the book and tape class,
data member values
displays the data nmembers. If an exception is caught, replace all the
with zero values.
algorithm.
6 Write a Ctt program toimplement Cohen Southerland line clipping
P:F-LTL-UG/01/RO