0% found this document useful (0 votes)
22 views8 pages

PWP Microproject

The document details a micro project titled 'Airline Booking System' completed by Shaunak Dandavate as part of his Diploma in Computer Engineering at Marathwada Mitra Mandal’s Polytechnic for the academic year 2024-25. It includes a certificate of completion, a teacher evaluation sheet, a project work report outlining the activities performed, and the program code for the booking system. The project demonstrates practical programming skills in Python, including the use of classes, functions, and user interaction.

Uploaded by

sad14042006
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)
22 views8 pages

PWP Microproject

The document details a micro project titled 'Airline Booking System' completed by Shaunak Dandavate as part of his Diploma in Computer Engineering at Marathwada Mitra Mandal’s Polytechnic for the academic year 2024-25. It includes a certificate of completion, a teacher evaluation sheet, a project work report outlining the activities performed, and the program code for the booking system. The project demonstrates practical programming skills in Python, including the use of classes, functions, and user interaction.

Uploaded by

sad14042006
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/ 8

Marathwada Mitra Mandal’s Polytechnic

Thergaon Pune-33

VI Semester
(Year: 2024-25)

Micro Project
Diploma In Computer Engineering

Title: Airline Booking System


Name of the Student: Shaunak Dandavate
Branch: Computer Engineering

Members of the Group


1. Shaunak Dandavate Roll No. 2203115
Maharashtra State Board of Technical Education, Mumbai

CERTIFICATE

This is to certify that

Mr. Shaunak Deelip Dandavate Roll No. 2203115 of Fourth Semester of

Diploma in Computer Engineering of Marathwada Mitra Mandal’s

Polytechnic has completed the Micro Project satisfactorily in course

Programming with Python for the academic year 2024-25 as prescribed

in the curriculum.

Place Pune Enrollment No 2209890241

Date _______________ Exam Seat No _______________________

Subject Teacher HOD Principal

Institute Seal
Teacher Evaluation Sheet for Micro Project

Name of the student: Shaunak Deelip Dandavate

Course Title and Code: Programming with Python [22616]

Title of the Project: Airline Booking System

COs addressed by the Micro Project


a) Display message on screen using Python script on IDE

b) Develop python program to demonstrate use of operators

c) Develop functions for given problem

d) Design classes for given problem

Major Learning Outcomes achieved by students by doing the project


(a) Practical Outcomes
 Write simple Python program to display message on screen.
 Write simple Python program to demonstrate use of looping statements.
 Write simple Python program to demonstrate use of conditional statements.

(b) Unit Outcomes (in Cognitive Domain)


1d. develop the python program to display the given text.
4a. Use the python standard functions for the given problem.
5a. Create classes and objects to solve given problem.
(c) Outcomes in Affective Domain
 Work in teams & Self-learning
 Demonstrate working as a leader/a team member

Any other Comment

__________________________________________________________________________________________________

Marks

(A) Marks for Group Work : ______________________

(B) Marks obtained by the individual based on viva: ______________________

(C) Name of Student: Shaunak Dandavate

(D) Total Marks (A+B)= _______________________

Name and designation of Faculty Member:

Signature: _____________________________________________
Maharashtra State Board of Technical Education, Mumbai
MICRO PROJECT
Project work Report
_AIRLINE BOOKING SYSTEM

Name of the Student: Shaunak Dandavate

Programme: CO5I Roll No. 2203115

Week Duration Sign of


Date Work Activity Performed
No in Hrs Faculty

1 6/1/25 1 hr Deciding the topic

9/1/25 1 hr Finalizing the topic


2

3 13/1/25 1 hr Creating algorithm required to code

4 16/1/25 1 hr Building logic for the code

5 18/1/25 1 hr Creating the program – I

6 21/1/25 1 hr Creating the program – II

7 24/1/25 1 hr Debugging the code

8 29/1/25 1 hr Making minor changes in the code

9 6/2/25 1 hr Debugging the made changes

10 10/2/25 1 hr Executing the code

11 14/2/25 1 hr Done with code

12 18/2/25 1 hr Preparing report

13 21/2/25 1 hr Done with report

14 24/2/25 1 hr Reviewing the report and code

15 28/2/25 1 hr Made some minor changes

16 3/3/25 1 hr Done with the project


PROGRAM CODE
class AirlineBookingSystem:

def _init(self):

self.flights = {

1: {"Flight No": "AI101", "From": "New York", "To": "London", "Price": 500},

2: {"Flight No": "AI102", "From": "Los Angeles", "To": "Tokyo", "Price": 700},

3: {"Flight No": "AI103", "From": "Chicago", "To": "Paris", "Price": 600},

self.bookings = []

def display_flights(self):

print("\nAvailable Flights:")

print("--------------------------------------------------")

for key, flight in self.flights.items():

print(

f"{key}. Flight No: {flight['Flight No']}, From: {flight['From']}, To: {flight['To']},


Price: ${flight['Price']}"

def book_flight(self):

self.display_flights()

choice = int(input("\nEnter the flight number to book (1/2/3): "))

if choice not in self.flights:

print("Invalid choice. Please try again.")

return

flight = self.flights[choice]

print(f"\nYou selected: Flight {flight['Flight No']} from {flight['From']} to


{flight['To']}.")

name = input("Enter passenger name: ")


age = int(input("Enter passenger age: "))

passport = input("Enter passport number: ")

booking = {

"Name": name,

"Age": age,

"Passport": passport,

"Flight": flight,

self.bookings.append(booking)

print("\nBooking Confirmed!")

print("--------------------------------------------------")

print(f"Passenger Name: {name}")

print(f"Age: {age}")

print(f"Passport Number: {passport}")

print(f"Flight: {flight['Flight No']} from {flight['From']} to {flight['To']}")

print(f"Price: ${flight['Price']}")

print("--------------------------------------------------")

def view_bookings(self):

if not self.bookings:

print("\nNo bookings found.")

return

print("\nYour Bookings:")

print("--------------------------------------------------")

for booking in self.bookings:

print(

f"Name: {booking['Name']}, Age: {booking['Age']}, Passport: {booking['Passport']},


"
f"Flight: {booking['Flight']['Flight No']} from {booking['Flight']['From']} to
{booking['Flight']['To']}"

print("--------------------------------------------------")

def main():

system = AirlineBookingSystem()

while True:

print("\nAirline Booking System")

print("1. View Flights")

print("2. Book a Flight")

print("3. View Bookings")

print("4. Exit")

choice = input("Enter your choice (1/2/3/4): ")

if choice == "1":

system.display_flights()

elif choice == "2":

system.book_flight()

elif choice == "3":

system.view_bookings()

elif choice == "4":

print("Thank you for using the Airline Booking System. Goodbye!")

break

else:

print("Invalid choice. Please try again.")

if _name_ == "_main":

main()
OUTPUT

You might also like