Assignment 2

You might also like

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

Assignment 2

Deadline: 16th February 2024

BIT 400

1. Develop a data analysis tool using Python that accepts a list of numeric values as input.
Implement functions to calculate various statistical measures such as mean, median,
mode, and standard deviation. Utilize dictionaries to store the results for easy access.
2. Design a flight booking system in Python that manages flight information and passenger
bookings. Use dictionaries to store flight details (e.g., flight number, destination,
departure time) and passenger information. Implement functions to book seats, check
availability, and display passenger manifests.
3. Build a contact management system using Python that allows users to store and manage
contact information. Use dictionaries to represent contacts with keys for attributes like
name, phone number, and email. Implement functions for adding, updating, and deleting
contacts.
4. Design a class hierarchy for a library management system, including classes for books,
library members, and transactions. Implement methods for adding new books, tracking
book loans, and managing member accounts.
5. Develop a class structure for an online shopping platform, including classes for products,
customers, and orders. Implement functionalities for adding products to a shopping cart,
processing orders, and calculating total costs.
6. Design classes for students, courses, and grades, with functionalities such as recording
student grades, calculating GPA, and generating academic transcripts.
7. Create a weather-tracking application. Define a list to store daily temperature data for a
week. Each element should be a dictionary representing a day with keys such as date,
high temperature, low temperature, and weather conditions. Implement functions to
calculate the average temperature for the week and find the day with the highest
temperature.

You might also like