OOP - Microproject - 52 54
OOP - Microproject - 52 54
OOP - Microproject - 52 54
O, Pune 411001
Institute Code: 0141
Submitted By:
1
Kennedy Road, Near R.T.O, Pune 411001
Institute Code: 0141
CERTIFICATE
Certified that this micro project report titled “Car Parking System” is the bonafide
work of Ms./Mr. Tanmay Pansare , Onkar Tanpure , Yash Sambherao Roll. no.
1652, 1653, 1654 of second year diploma in Computer engineering for the course:
Object Oriented Programming using C++ Course code: 22316 during the
academic year 2022-23, who carried out the micro project work under my
supervision.
2
COs addressed by the Micro Project:
(a)Practical Outcomes:
• Use C++ variables, operators, decision making and control structure statements.
• Develop a program to implement classes and objects.
• Write C++ program to demonstrate function, operator overloading and file manipulation.
Cognitive domain
Write OOP based C++
program.
• Write C++ program to use objects, constructor and destructors.
• Identify and write C++ programs to perform file operations.
3
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1
VISION:
Achieve excellence in quality technical education by imparting knowledge, skills and abilities to
build a better technocrat.
MISSION:
M1: Empower the students by inculcating various technical and soft skills.
MISSION:
M1: To provide quality education in computer engineering by improving
psychomotor skills.
4
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1
PO1 Basic and Discipline specific knowledge: Apply knowledge of basic mathematics, science
and engineering fundamentals and engineering specialization to solve the engineering problems.
PO2 Problem analysis: Identify and analyze well-defined engineering problems using codified
standard methods.
PO3 Design/ development of solutions: Design solutions for well-defined technical problems and
assist with the design of systems components or processes to meet specified needs.
PO4 Engineering Tools, Experimentation and Testing: Apply modern engineering tools and
appropriate technique to conduct standard tests and measurements.
PO5 Engineering practices for society, sustainability and environment: Apply appropriate
technology in context of society, sustainability, environment and ethical practices.
PO6 Project Management: Use engineering management principles individually, as a team member
or a leader to manage projects and effectively communicate about well-defined engineering
activities.
PO7 Life-long learning: Ability to analyze individual needs and engage in updating in the context of
technological changes.
5
INDEX
1.
Annexure I 7-9
2.
Micro Project Proposal 7-9
3.
Annexure II 10 - 16
4.
Rationale 10
5.
Aims/Benefits of the Micro Project 10
6.
Course Outcome achieved 10
7.
Literature Review 10
8.
Actual Methodology Followed 10
9.
Actual Resources Used 10
10.
Output of the Micro Projects 11 - 16
12.
Applications of the Micro Project 17
13.
Annexure III 18-19
14.
Annexure IV (Evaluation Sheet) 20
15.
Log book 21
6
ANNEXURE I
3.0 Proposed Methodology (Procedure that will be followed to do the micro project- in about
100-200 words):
a. Select one topic for micro project that you find very simple.
b. Consult with your teacher for finalization of topic.
c. Make draft copy of micro project proposal.
d. Take approval from teacher.
e. Make list of resources required such as raw material, instruments, software.
f. Execute Micro project.
g. Test Micro project.
h. Observe outputs/Results of Micro project.
i. Prepare Micro Project Presentation.
j. Prepare Micro project report for submission
7
4.0 Action Plan:
Planned
Sr. Planned Name of Responsible
Details of Activity Finish
No. Start Date Team Members
Date
1 Formation of groups 15.09.22 15.09.22 All Members
Collected information on
6 12.10.22 12.10.22 All Members
assignment topic
Actual implementation of
13 21.11.22 21.11.22 All Members
micro-project
8
5.0 Resources Required
Sr. Name of
Specifications Quantity Remarks
No. Resource/material
Any desktop or laptop
1 Computer system computer with basic one system -
configuration
MS office Turbo C++
2 Office software package -
version 3.0, Dev C++
3 Printer inkjet or laser printer one printer -
Sr. No. Name of the Student Roll No. Marks Marks Total
Out of 6 Out of 4 Marks
9
ANNEXURE - II
This project has been made with a perspective that when published, can be used as a tracker. There
is no such project currently available out there. However, the program logic was referred from the
above-mentioned link.
5.0 Actual Methodology Followed: (Write stepwise work done, data collected and its analysis (if
any).
10
5) Preparing a word document for the information to be typed.
6) Typing the information with appropriate font and font size.
7) Snapping for suitable images for better clarification and pasting them in word document
7.0 Outputs of the Micro project (Presentation of data, findings, drawing etc.):
Program Code:-
#include<iostream.h>
#include<conio.h>
#include<process.h>
#include<stdio.h>
#include<fstream.h>
class car
{
public:
int vno;
float count;
char dname[15],x,l[50];
void input()
{
system("CLS");
int d;
cout<<"\n\n\t\tEnter the name of driver : ";
cin>>dname;
cout<<"\n\n\t\tEnter the car no : ";
cin>>vno;
cout<<"\n\n\t\tEnter the no of hours of stay : ";
cin>>count;
cout<<"\n\n\t\tEnter the time slot : ";
cin>>l;
if(d<20&&count<8)
{
cout<<"\n\n\t\tParking Available! You can park your car. ";
11
}
Else
{
cout<<"\n\n\t\t Parking not possible!!";
cout<<"\n\n\t\tCar got parked!!";
}
void cal()
{
cout<<"\n\t\n\tAre you a V.I.P: y/n ";
cin>>x;
if(x=='y')
{
system("CLS");
cout<<"\n\t\n\tThe total expense during parking ";
cout<<count*20<<" rupees";
}
else
{
system("CLS");
cout<<"\n\t\n\tThe total expenses during parking ";
cout<<count*25<<" rupees";
}
}
void output()
{
cout<<"\n\n\t\tThe Driver Name : "<<dname<<endl;
cout<<"\n\n\t\tThe Car No : "<<vno<<endl;
cout<<"\n\n\t\tThe Hours Of Stay : " <<count;
cout<<"\n\n\t\tThe Time Slot Of Parking : " <<l;
}
}a,a1;
void delete_record()
{
int n;
system("CLS");
cout<<"\n\n\t\tEnter the car no you want to get depart : ";
cin>>n;
ifstream inFile;
inFile.open("parking3.dat", ios::binary);
ofstream outFile;
outFile.open("temp.dat", ios::out | ios::binary);
while(inFile.read((char*)&a, sizeof(a)))
{
if(a.vno!= n)
{
outFile.write((char*)&a, sizeof(a));
}
12
}
cout<<"\n\n\t\t Parking Record Deleted";
inFile.close();
outFile.close();
remove("parking3.dat");
rename("temp.dat", "parking3.dat");
}
int main()
{
int login();
login();
int choice,vno1,d;
while(1)
{
system("CLS");
ofstream f1("parking3.dat",ios::binary|ios::out|ios::app);
a.input();
f1.write((char*)&a,sizeof(a));
}
break;
}
case 2 :
{
system("CLS");
cout << "\n\n\t\t=== View the Records in the Parking
Database ===";
13
cout << "\n";
ifstream infile("parking3.dat",ios::binary|ios::in);
int d=1;
while (infile.read((char *)&a,sizeof (a)))
{
system("CLS");
cout << "\n";
cout<<"\n\n\tThe Car position in parking lot : "<<d;
d++;
a.output();
cout<<"\n";
cout<<"\n\n\n";
system("PAUSE");
cout<<endl;
}
break;
}
case 4:
{
delete_record();
break;
}
case 3:
{
ifstream infile("parking3.dat",ios::binary|ios::in);
while (infile.read((char *)&a,sizeof (a)))
{
cout << "\n";
a.cal();
a.output();
cout<<"\n";
cout<<endl;
}
break;
}
case 5:
{
system("CLS");
exit(0);
break;
}
default :
{
cout<<"\n\n\t\t Invalid input";
cout<<"\n\n\t\tPress Enter to continue";
}
}
getch();
}
14
int login()
{
char ch;
cout <<"\n\n\n\n\n\n\n\t\t\t\t\tCar Parking Reservation System Login";
cout << "\n\n\n\n\n\n\n\t\t\t\t\t\tEnter Password: ";
ch = getch();
while(ch != 13)
{
cout << '*';
ch = getch();
}
{
cout << "\n\n\n\n\t\t\t\t\t Access Granted! Welcome To Our System \n\n";
system("PAUSE");
}
getch();
return 0;
}
Output:
15
16
8.0 Skill developed / Learning outcome of the Micro-Project:
1. Communication skills.
2. Time management.
3. Working in a team.
4. Following ethics.
5. Stress management.
6. Psychomotor skills such as making document and its demonstration.
7. Presentation skills.
Annexure - III
17
Suggested Rubric for Assessment of Micro Project
(The marks may be allotted to the characteristics of the Micro-Project by considering the suggested
rubrics)
Includes Well
Major
Includes major major organized,
information is
information but information includes
not included;
Presentation of the not well but not well major
7. information is
Micro-Project organized not organized not information,
not well
presented well. presented presented
organized.
well. well.
19
Annexure IV
Academic Year: 2022-2023 Name of Faculty: Mrs. Sonar Vrushali Rajendra
Course: Object Oriented Programming using C++ Course Code: 22316
Semester: 3-I-Scheme
20
Log Book of Students
Sr.
Date Time Work Done
No.
21