0% found this document useful (0 votes)
5 views

OOP Assignment List

The document outlines the lab experiments for the Object Oriented Programming and Computer Graphics Laboratory for the academic year 2024-2025 at the Pune Institute of Computer Technology. It includes a list of assignments for students, detailing programming tasks that cover various concepts in C++ and graphics, such as class implementation, operator overloading, file handling, and fractals. Students are instructed to submit their work in a journal format, including detailed write-ups for each assignment.

Uploaded by

studddy34
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)
5 views

OOP Assignment List

The document outlines the lab experiments for the Object Oriented Programming and Computer Graphics Laboratory for the academic year 2024-2025 at the Pune Institute of Computer Technology. It includes a list of assignments for students, detailing programming tasks that cover various concepts in C++ and graphics, such as class implementation, operator overloading, file handling, and fractals. Students are instructed to submit their work in a journal format, including detailed write-ups for each assignment.

Uploaded by

studddy34
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
You are on page 1/ 3

PUNE INSTITUTE OF COMPUTER TECHNOLOGY

DHANKAWADI, PUNE-43

LIST OF LABEXPERIMENTS
ACADEMIC YEAR: 2024-2025
Date: 28/06/2024

DEPARTMENT: Artificial Intelligence &Data Science


SUBJECT: Object Oriented Programming and Computer Graphics Laboratory (210247)
CLASS: S.E.
SEMESTER: I
Instructions:

Program codes with sample output of all performed assignments are to be


submitted as sotteopy.
Assignments should be submitted by students in the form of iournal, consisting of hand written
write up of cach assignment(Title, Date of Completion, Obiectives, Outcomes,
Problem
statement, S/W &HW requirements, Theory-concept in brief, algorithm/lowchart, mathematical
model(if applicable), test cases, conclusion/analysis.
GRO LAB
TOPIC OF ASSIGNMENT
UP

GROUPA (1,3,5 OOP and 2,4,6 CG)


1. | Implement a class Complex which represents the Complex Number data type. Implement
the following operations:
1. Constructor (including a default constructor which creates the complex number
0+01i).
2. Overloaded operator+ to add two complex numbers.
3. Overloaded operator* to multiply two complex numbers.
4. Overloaded << and >> to print and read complex Numbers.
A Bresenham's
2. a) Write C+t program to draw the following pattern. Use DDA line and
circle drawing algorithm. Apply the concept of encapsulation.

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

GROUP B (7,9 0OP and 8,10 CG)


information to it, closes the file,
7. Write a C++ program that creates an output file, writes
open it again as an input file and read the information from the file.
the user wants then read
Consider class person, open a file and write as many objects as
and display the entire contents of the file.
following basic transformations,
8. a) Write C++ program to draw 2-D object and perform operator overloading
Scaling, Translation, and Rotation. Apply the concept of
B OR
translation, rotation and scaling transformations on
b) Write C++ program to implement overloading
equilateral triangle and rhombus. Apply the concept of operator
inputs, sorts and outputs an
9. Write a function template for selection and insertion sort that
integer array and a float array.
10. a) Write C++ program to generate snowflakeOR using concept of fractals.

curve using concept of fractals.


b) Write C+ program to generate Hilbert
OR
patterns by using Koch curves.
c) Write C++ program to generate fractal CG)
Group C(11,13 0OP and 12,14
sorting and searching user defined records such as
11. a) Write C+t program using STL for etc.)using vector container.
Personal records (Name, DOB, Telephone number
OR
such as
Write C++ program using STL for sorting and searching user defined records
b) quantity etc.) using vector container.
Item records (Item code, name, cost, and using
structure like stack or queue visualization
12. a) Design and simulate any data operations perfornmed on designed data
graphics. Simulation should include all
structure. Implement the same using OpenGL.
OR
and perform following transformations on
it
a C++ program to draw 3-D cube
b) Write c)Rotation about an axis (x/y/z)
using OpenGL a) Scaling b) Translation OR
and Sunset.
c) Write OpenGL program to draw Sun Rise
P: F-LTL-UG/01/RO
The keys will be the names of
program in C++ to use map associative container. user
3 Write a
and the values will be the populations of
the states. When the program runs, the state
states map, using the
prompted to type the name of a state. The program then looks in the
is
the population of the state.
name as an index and retuns using arrow keys. Apply the
concept of
program to control a ball
14. Write a C++
polymorphism.
OR
bouncing ball using sine wave form.
Apply the
Write a Ctt program to imnplement
concept of polymorphism.
OR
walking in the rain with an umbrella. Apply the concept
Write C+t program to draw man
of polymorphism.
OR of
program to implement the game of 8-puzzle. Apply the concept
Write a C++
polymorphism.
OR concept of
C++ program to implement the game Tic-Tac-Toe. Apply the
Write a
polymorphism.
Mini-Projects/ Case Study
graphics
and implement game / animation clip / Graphics Editor using open source
15. Design Object Oriented Programming.
library. Make use of maximum features of

Prof. Priyanka Shahane


Dr. Shweta Dharmadhikari
Subject Coordinator
Head, AI & DS Department

P:F-LTL-UG/01/RO

You might also like