Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, you are required to design, implement, and test a program that can be used to manage a simple personal Schedule with appointment

In this assignment, you are required to design, implement, and test a program that can be used to manage a simple personal Schedule with appointment records, which are stored in a list. Your program must provide an interactive design that allows the user to: create new appointment records and add them to the schedule. display all appointment records with details. tally all appointments for a summary of the schedule. search for specific appointment records in all records. The program is to be implemented by Python and as a .ipynb file running on Jupyter notebook.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Goals and Topics The assignment problem is straightforward. All necessary details have been supplied. The solution to the problem will use the programming concepts and strategies covered in workshops 1-10 delivered in the course. The subgoals are: - Obtaining an advanced understanding of values, variables, and lists. - Understanding program input and output, functions, and expressions. - Understanding simple strategies like iteration, validation, sum, and count. - Understanding of advanced strategies like swapping, sorting, tallying, and searching. - Translating simple design into Python code. - The mechanics of editing, interpreting, building, and running a program. - Testing a program. - Commenting source code, especially Docstring on functions. - Becoming confident and comfortable with programming small problems. The Task In this assignment, you are required to design, implement, and test a program that can be used to manage a simple personal Schedule with appointment records, which are stored in a list. Your program must provide an interactive design that allows the user to: - create new appointment records and add them to the schedule. - display all appointment records with details. - tally all appointments for a summary of the schedule. - search for specific appointment records in all records. The program is to be implemented by Python and as a .ipynb file running on Jupyter notebook. Schedule Figure 1 illustrates the Schedule with an interactive editing environment on a webpage. Please use this illustration as the reference for the following descriptions. It is not necessary for you to present the interactive environment exactly as the Figure 1. The first section of input information can be implemented by 6 input functions and the outputs can be similar to Figure 2 (a "table" including headers, "-."" and records in each row) and Figure 3. Schedule Figure 1: The Interactive Editing Environment of Schedule Figure 2: The example of the appointment records Figure 3: The example of the tallying results Appointment records An appointment record in this program will hold or encapsulate data for the date, start time, end time, subject, venue, and priority of the appointment. With respect to each of the attributes, an appointment record can be represented like the following sample: "23/9/2023; 9; 10; CSC1401 class; D114; High" This can be deciphered as the appointment with "High" priority, on the date of "23/9/2023", starting at "9:00 am" and finishing at "10:00 am", about the subject of "CSC1401 class" in "D114". You should create a global variable "list" to store all such appointments. For the sake of easy explanation, we refer to this variable by appointmentList in the rest of this document. Some limitations must be imposed on the appointment records: 1. The primary unit of time in an appointment is the hour. 2. An appointment starts and finishes on the same day. 3. Only appointments occurring at a future time can be added to the Schedule. 4. No concurrent appointments are to be added to the Schedule. Date A date is valid if and only if: -9999>year>2023 - 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions