For this python assignment, you are going to pretend that you are writing a calendar application.In order to do this, you are going to create two classes: A Calendar class An Event Class TheCalendar...

1 answer below »

For this python assignment, you are going to pretend that you are writing a calendar application.In order to do this, you are going to create two classes:




  1. A Calendar class

  2. An Event Class


TheCalendar class will be fairly simple. It must store the name of the calendar, calendar owner, and a list of Events as properties. The Event class will store event name, date, time, and event type information.


The Event class must include validation to ensure the following:




  • That the event name is letters only

  • That date information only contains numbers and the - symbol

  • That time informationonly contains numbers and the : symbol

  • That the event type is only one of the following: "single occurrence", "recurring", or "fixed number of meetings"


The Calendar class must contain two methods, addEvent and removeEvent, that add/remove events on the list as appropriate.


The rest of your implementation details are up to your discretion, applying the things you have learned about Python so far. Please note, however, that youmustorganize your classes into modules and produce documentation (using Pydoc) for your work using the principles discussed earlier in the class. Any applicable exception handling in your code must be done according to the principles previously discussed.


You must also create a comprehensive set of test cases for your application applying the principles discussed this week. As well, your test cases must be stored according to the methods discussed this week in the lecture.


Finally, be sure to create a main program to put your class code to good use.

Answered Same DayAug 12, 2022

Answer To: For this python assignment, you are going to pretend that you are writing a calendar application.In...

Dikchha answered on Aug 12 2022
68 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here