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

Mini Project Oops

Uploaded by

Valmiki Manoj
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Mini Project Oops

Uploaded by

Valmiki Manoj
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Alliance School of Advance Computing

Object Oriented Programming


Mini Project

Alliance University

Central Campus, Chikkahadage Cross Chandapura-Anekal, Main Road,

Bengaluru, Karnataka 562106

1|Page
OOPS
MINI PROJECT

NAME OF THE STUDENT :- BADIGE MANOJKUMAR


ROLL NO :- 2023BCSE07AED307
SECTION :- CYBER SECURITY

UNDER THE GUIDANCE OF


Ms. Pragya

2|Page
Certificates
This is to certify that Badige Manojkumar Reg no: 2023BCSE07AED307 has
completed the report titled “Vechile management system” under my guidance
for the partial fulfilment of the course: OOPs in B TECH Semester III of the
Bachelor of Technology prescribed by Alliance
College of Engineering and Design in the year 2024-2025

Signature of Faculty Guide

3|Page
Acknowledgment
We extended our heartfelt gratitude to all those who supported
and guided us during our oops mini project on "Vehicle
management system". Special thanks to ALLIANCE
COLLEGE, for providing the platform to explore and
contribute to this vital subject. Our sincere appreciation goes to
Ms. Pragya Mam for invaluable insights and continuous
encouragement. This experience has not only enriched our
knowledge but also enhanced our understanding. We are
thankful for this opportunity.

4|Page
PROBLEM STATEMENT
Here is a very simple C++ program that embodies the class hierarchy for vehicles,
specific to cars, but one which goes into more details specific to the instance of a
particular kind: for instance This can be in form of a Volvo car. The first class is
‘vechile’ that contain attribute make and model, year; probably some other
function to read and write the data. The objects of the class ‘car’ can be created
from the class ‘vechile’; moreover, it has an additional attribute, such as doors.
Lastly, ‘volvocar’ is the subclass of the ‘car ‘with the attribute trimlevel belonging
to the class only. In every class there are `inputdata_event: inputdata` Then there
are `display_event :display` So that any user can input some data concerning full
vehicle detail and afterwards it could be displayed. Main functions make a
`volvocar` to ask and show of information concerning Volvo car model

5|Page
MINI PROJECT TITLE:
"Designing a Vechile Management System Using Object-
OrientedPrinciples in C++"

Step-by-Step Algorithm:
Algorithm for Vehicle Management System

Algorithm
1. Define the Vehicle Class:
Attributes:
make(string): Stores the name of the company through with the car
was manufactured.
model (string): Holds the car model's name.
year (int): Is the abbreviation of the manufacturing year of the car.
Methods:
inputdata(): Aids in getting from the user the make, model and year of
the car to be included in the search.
display(): Prints out the make, model, and the manufacturing year of
the car.

2. Define the Car Class (inherits from Vehicle):


Attributes:
doornum(int): Is the number of doors in the car.
Methods:
inputdata(): Depending on the value of modelno calls Vehicle’s
inputdata() to get the basic car details then the user will enter the number
of doors.
display(): Uses Vehicles display() method to print a basic car details
then prints the number of doors.

3. Define the VolvoCar Class (inherits from Car):


Attributes:
trimlevel (string): Defines the model of Volvo car, especially in the
aspect of the dressing code or trim level.
Methods:
inputdata(): Executes the inputdata() method on Car to input ordinary
6|Page
car details and then asks the user to provide trim as a string.
display(): Use Car’s display() method to output basic car information
and then output the trim level.

4. Main Function:
call an object named “mycar” of class type VolvoCar.
Show a message to the user to enter car information.
That’s why one has to call the function `mycar.inputdata()` to input all
necessary data about the car.
Show prompt to start the car information output.
5.END
SOURCE CODE
:

7|Page
OUTPUT :

8| P a g e
8| P a g e

You might also like