2023 Q 1 Implement a superclass Appointment and subclasses types Onetime Daily and Monthly An appointment has a description | Assignment Collections

Computer Science 2023 Paython

2023 Q 1 Implement a superclass Appointment and subclasses types Onetime Daily and Monthly An appointment has a description | Assignment Collections

Q 1

Implement a superclass Appointment and subclasses/types Onetime, Daily, and Monthly. An appointment has a description (use from the following: general, chiropractic, pediatric, heart, gastro, skin, or osteo), and a date. Write a method occursOn(day, month, year) that checks whether the appointment occurs on the given date. For example, for a monthly appointment, you must check whether the day of the month matches.

Whether you define this method in the superclass, or decide to overload the method is entirely up to you. Make your own design choice. Write other methods as needed (look at the User Interface given below and decide what functions you may need).

Then fill a list of Appointment objects with a mixture of 5 appointments for each subclass (i.e. ‘hard-code’ these in the program). Note: You are to create objects here, and NOT store this information in the file. 

Give the user the option to add new appointments. The user must specify the type of the appointment (i.e. Onetime, Daily, and Monthly), the description, and the date.

The User Interface should look like the following: 

A.  See all current Appointments

B.  See all current Appointments on a given date

C.  Make a new Appointment

D.  Cancel an existing Appointment

E.  See Appointments according to description

F.  Reload Appointment data from a File

G.  Exit the Program

Please Enter Your Choice: _

Design the sub-menus per your choice/need. For each of the “See Appointments” options above (i.e. A, B, E), the sub-menu should allow the user to save the data to a file. The user should be able to give the name of the file. 

Then, in option F above, allow the user to reload the data from a file. Here also, allow the user to specify the name of which file to load. The saving part is straightforward: Make a method save. Save the type, description, and date to a file. The loading part is not so easy. First determine the type of the appointment to be loaded, create an object of that type, and then call a load method to load the data.

After each menu/ sub-menu choice is completed, come back to the User Interface, i.e. the only way to exit the program is though Choice G.

Requirements

  • Make all the “best programming practice” decisions, e.g. how to show the output, what prompts to display, how to ask for input etc.
  • You are the developer/engineer, it is YOUR decision … YOUR job. If the program is not presented nicely, you will lose points.
  • First, all that is being asked should be done. Second, the displays should be intuitive, self-explanatory and nicely put.
    Do NOT assume that the user knows ANYTHING. 
  • Write the program such that any new person that sits in front of the terminal, can start playing with it (i.e., the commands, displays etc. are adequate).

Submission and Demo

  • Please put all your .py files in a folder called PY-FILES
  • Put the Screen Output(s) / screenshots in into a Word document/.pdf
  • Zip the Py-Files and the screenshots document and then submit to D2L. 
  • IF D2L doesn’t allow .zip file submission, then submit all files individually. Thank you!
  • Name your submission as:  Lastname-FirstName_423_Proj-2
  • If required, you may be asked to demo the project files IN-Person.

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational