OOP - Microproject - 52 54

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

Kennedy Road, Near R.T.

O, Pune 411001
Institute Code: 0141

Car Parking System.


Academic Year: 2022-23 Program Code: CO3I
Course: OOP Course Code: 22316

Submitted By:

Roll No Student Name Branch Sign of Student


1652 Tanmay Pansare SYCO
1653 Onkar Tanpure SYCO
1654 Yash Sambherao SYCO

Under Guidance of:


Mrs. Sonar Vrushali Rajendra

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.

Mrs. Sonar Vrushali Rajendra


Name & signature of Subject teacher

2
COs addressed by the Micro Project:

a. Develop C++ programs to solve problems using Object Oriented Approach.


b. Develop C++ programs using classes and objects.
c. Develop C++ programs to perform file operations.

Major Learning Outcomes achieved by students by doing 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.

(b) Unit Outcomes in

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.

(c) Outcomes in Affective


Domain
a. Follow safety practices.
b. Practice good housekeeping.
c. Demonstrate working as a leader/a team member.
d. Maintain tools and equipment.
e. Follow ethical practices.

3
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1

COMPUTER ENGINEERING DEPARTMENT


VISION AND MISSION OF THE INSTITUTE

 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.

M2: Upgrade teaching-learning process and industry-institute interaction

VISION AND MISSION OF THE COMPUTER DEPARTMENT


 VISION:
“Enhance skills by providing value based technical education for fulfilling global needs in the field
of computer engineering.”

 MISSION:
M1: To provide quality education in computer engineering by improving
psychomotor skills.

M2: To develop positive attitude, communication skills, team spirit


and entrepreneurship.

M3: To develop awareness about societal and ethical responsibility for


professionalism.

4
ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S POLYTECHNIC, PUNE -1

COMPUTER ENGINEERING DEPARTMENT

PROGRAM OUTCOMES (POs)

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.

PROGRAM SPECIFIC OUTCOMES (PSO)

The Diploma in Computer Engineering will prepare students to attain:

 PSO 1: Apply computing knowledge with standard practices to develop software.


 PSO 2: Maintain Computer Hardware and Software System

5
INDEX

Sr. No. Content Page No.

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

11 Skill Developed / Learning outcome of the Micro


17
Project

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

Micro Project Proposal

“Car Parking System”

1.0 Aims/Benefit of the Micro Project (Minimum 30-50 Words):


1. Make a car parking system using different characteristics of OOP.
2. Through this project we are able to store the information about cars parked in a particular
area.

2.0 Course Outcomes Addressed:


a) Develop C++ programs to solve problems using Object Oriented Approach.
b) Develop C++ programs using classes and objects.
c) Develop C++ programs to perform file operations.

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

Selected the topic for micro


2 26.09.22 26.09.22 All Members
project

3 Discussed about the project 28.09.22 28.09.22 All Members

Assigned the work to each


4 03.10.22 03.10.22 Tanmay Pansare
group member

Detailed study of micro-


5 10.10.22 10.10.22 All Members
project

Collected information on
6 12.10.22 12.10.22 All Members
assignment topic

Started working on micro-


7 17.10.22 17.10.22 All Members
project
Tanmay Pansare ,
8 Assembled all the data 20.10.22 20.10.22
Yash Sambherao
Tanmay Pansare ,
9 Evaluation of data 07.11.22 07.11.22
Yash Sambherao
Prepared rough copy of micro-
10 10.11.22 10.11.22 Yash Sambherao
project

11 Prepared the program code 14.11.22 14.11.22 Tanmay Pansar

Corrected the micro-project Tanmay Pansare ,


12 17.11.322 17.11.322
suggested by guide Yash Sambherao

Actual implementation of
13 21.11.22 21.11.22 All Members
micro-project

Execution of overall data /


14 28.11.22 28.11.22 Yash Sambherao
prepared final draft copy
Final micro-project
15 05.12.322 05.12.322 All Members
presentation
16 Micro-project submitted 12.12.22 12.12.22 All Members

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 -

Name of Team Members with Roll No’s:

Sr. No. Name of the Student Roll No. Marks Marks Total
Out of 6 Out of 4 Marks

1. Tanmay Pansare 1652

2. Onkar Tanpure 1653

3. Yash Sambherao 1654

Mrs. Sonar Vrushali Rajendra


(Name & Signature of faculty)

9
ANNEXURE - II

Micro Project Report

“Car Parking System”


1.0 Rationale (Importance of the project, in about 30 to 50 Words.):
This project is important in order to understand the interactive and file features provided by
C++. It aims at being one-to-one with the user and accepting all the known information from
the user. This information will be stored permanently in a permanent-file. Thus, just like a
tracker, which stores the recent information safely, this project will store space research
safely. From an information perspective, it will help students to know about space research
and technology. File Handling concept in C++ language is used to store data permanently in a
computer. Using file handling we can store our data in secondary memory.

2.0 Aims/Benefits of the Micro Project:


1. Make a car parking system using different characteristics of OOP.
2. Through this project we are able to store the information about cars parked in a particular
area.

3.0 Course Outcomes Achieved:


a) Develop C++ programs to solve problems using Object Oriented Approach.
b) Develop C++ programs using classes and objects.
c) Develop C++ programs to perform file operations.

4.0 Literature Review:

1. Information about file operations: C++ Files and Streams (tutorialspoint.com)


2. Knowledge about classes: C++ Classes and Objects - GeeksforGeeks
3. Interactive programming: Learn C++ - Free Interactive C++ Tutorial (learn-cpp.org)
4. Objects in C++: Object in C++ | Learn How to Create an Object in C++? (educba.com)
5. Access Specifiers in C++: C++ Access Specifiers - Private, Public and Protected
(trytoprogram.com)

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).

1) Searching information using various internet resources.


2) Verifying and proofreading the information.
3) Coding the program.
4) Checking the validity of the information.

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

6.0 Actual resources required:

Sr. Name of Specifications Quantity Remarks


No Resource/material
.
Any desktop or laptop
1 Computer system computer with basic One system -
configuration
Office software MS office, Turbo C++
2 - -
package version 3.0, Dev C++

3 Printer Inkjet or laser printer One printer -

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");

cout << "\n\n\t\t ====== CAR PARKING RESERVATION


SYSTEM ======";
cout <<"\n\n ";
cout<<" \n\t\t\t======================";
cout << "\n\n\t\t\t 1. Arrival of a Car";
cout << "\n\n\t\t\t 2. Total no of cars Arrived";
cout << "\n\n\t\t\t 3. Total parking charges of all cars with details";
cout << "\n\n\t\t\t 4. Departure of the car";
cout << "\n\n\t\t\t 5. Exit Program";
cout<<" \n\t\t\t======================";
cout << "\n\n";
cout << "\t\t\t Select Your Choice ::";
cin>>choice;
switch(choice)
{
case 1 :
{
char f;
cout<<"\n\n\t\t==Do You Want to continue==y/n ";
cin>>f;
if(f=='y')
{

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.

9.0 Applications of the Micro-Project:

1. Help understand the concept of file operations via example.


2. Store information about research operations in real time.
3. Use inheritance [hierarchical] to provide properties to children.
4. An interactive program to ensure user gets all possible choices, while using the program.

Mrs. Sonar Vrushali Rajendra


(Name & Signature of faculty)

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)

S. Characteristics to Poor Average Good Excellent


No be assessed (Marks 1-3) (Marks 4-5) (Marks 6-8) (Marks 9-10)
Related to Addressed
Relevance to the Related to some Addressed at-
1. very  few more than one
Course Los least one CO
LOs CO
Not more
than two
At-least 7 About 10
Literature sources At-least 5 relevant
relevant relevant
2. Review/information (Primary and sources, at least 2
sources, most sources, most
collection   Secondary), latest
latest latest
very old
reference
Completion of Completed
Completed Completed 50 to Completed 60
3. Target as per more than
less than 50% 60% to 80%
Project proposal 80%
Enough data
collected by
Sufficient and
sufficient and
appropriate
Sufficient and appropriate
sample,
Sample Size appropriate sample size.
enough data
all, data sample, enough Proper
generated
Analysis of Data neither data generated but inferences
4. which is
and representation organized nor not organized and drawn by
organized and
presented not well presented organizing
presented
well  well. No or poor and
well. But poor
inferences drawn presenting
inferences
data through
drawn
tables, charts
and graphs
Well a Just
Well a Just assembled/
assembled/ fabricated
fabricated with proper
Just assembled/
with proper functioning
fabricated and
functioning parts. In
parts are not
parts.in proper proper shape,
functioning well.
Incomplete shape, within within
Quality of Not in proper
5. fabrication/ tolerance tolerance
prototype/Model shape, dimensions
assembly dimensions dimensions
beyond tolerance
and good and good
limit.
finish. But no finish/
Appearance/
creativity in appearance.
finish are shabby.
design and Creativity in
use of design and
material use of
material.
18
Very short, Detailed,
Nearly sufficient Very detailed,
poor quality correct and
and correct details correct, clear
sketches, clear
about methods, description of
Details about description of
materials, methods,
methods, methods,
precautions and materials,
materials, materials,
conclusion. But precautions
6. Report Preparation Precautions precautions
clarity is not there and
and and
in   presentation. conclusion.
Conclusions conclusion.
But not enough Enough
omitted, Sufficient
graphic tables, charts
some details graphic
description and sketches
are wrong. description 

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.

Could not Replied to Replied


Replied most
reply to considerable properly
of the
considerable number of considerable
8. Viva questions
number of questions nut not number of
properly
question very properly question.

19
Annexure IV

Evaluation Sheet for the Micro Project 

Academic Year: 2022-2023         Name of Faculty: Mrs. Sonar Vrushali Rajendra
Course: Object Oriented Programming using C++ Course Code: 22316
Semester: 3-I-Scheme

Title of the Project : Car Parking System.


Comments/Suggestions about team work/leadership/inter-personal communication (if any).:
________________________________________________________________________________
________________________________________________________________________________

Student Marks out of 6 Marks out of 4 Total


Roll
Name for performance in group for performance in oral / out of
No
activity  (D5 :Col. 8) presentation   (D5 :Col. 9) 10
Tanmay
1652
Pansare
Onkar
1653
Tanpure
Yash
1654
Sambherao

Mrs. Sonar Vrushali Rajendra


(Name & Signature of faculty)

20
Log Book of Students

Academic Year: 2022-2023

Name of Student: Tanmay Pansare , Onkar Tanpure , Yash Sambherao

Title of the Project: Car Parking System.

Course: Object Oriented Programming. Course Code: 22320 Semester: 3-I

Sr.
Date Time Work Done
No.

1. 15.09.22 10:30am-12:30pm Group discussion on topic

2. 26.09.22 10:30am-12:30pm Assign task to group

3. 28.09.22 10:30am-12:30pm Giving particular information

4. 03.10.22 10:30am-12:30pm Get some Course Outcomes and Practical Outcomes

5. 10.10.22 10:30am-12:30pm Taking review about collected data

6. 12.10.22 10:30am-12:30pm Verify material in sequence

7. 17.10.22 10:30am-12:30pm Discussion on suggestions

8. 20.10.22 10:30am-12:30pm Arrange data in sequence

9. 07.11.22 10:30am-12:30pm Prepare Proposal of the Project

10. 10.11.22 10:30am-12:30pm Verify the draft from teacher

11. 14.11.22 10:30am-12:30pm Rearrange the Data

12. 17.11.322 10:30am-12:30pm Share the data among group

13. 21.11.22 10:30am-12:30pm Prepare the report

14. 28.11.22 10:30am-12:30pm Work on data

15. 05.12.322 10:30am-12:30pm Prepare soft copy

16. 12.12.22 10:30am-12:30pm Submission

21

You might also like