Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON Create a UML Class diagram, which has at least one base class with at least two associated subclasses. (Feel free to add additional base

PYTHON Create a UML Class diagram, which has at least one base class with at least two associated subclasses. (Feel free to add additional base and/or subclasses.) Each base class must contain attributes with associated getters and setters. (Remember that all attributes must havegetters. It will be up the programmers whether you will allow the user the change attribute values are an object is created.) UML Class Diagrams a normally created in Microsoft Visio. However, you may do so in Microsoft Word as well. If done in Microsoft Word, the diagram MUST be properly formatted.

Information needed:

* As the CEO to restaraunt chain Pzza & Wings, I want to identify what are the best selling dishes or the least selling dishes so that I can change the menus in accordanance to save on money being wasted..

As the restaraunt manager, I need to make sure groceries are properly stocked so I dont run out of the popular dishes

As cook, I need to always rotate and discard expired food. The documention of waste will allow the CEO to know what not to buy as much of.

Program Requirements:

Use the following categories to write the program.

Think of the User- specify the problem, including somewhat detailed requirements to make theprogram user friendly.

Design the program Sketch the User Interface. Design the program - determine the classes,

fields, methods, objects, etc.

Programmer Write pseudocode for all methods and then write the code.

Tester- Develop a test plan including test procedures & test data. The program should be interactive with the user.The code must includethe following:

1.Use of at least one class with executed subclasses

. This means you must instantiate at least one subclass to show inheritance and polymorphism

. Your classes base classes must be in separate modules. Your subclasses can be in the same module as their related base class.

2.Only include main logic in your main function and use functions for reusable code

3.Use of a loop of your choice

4.Use of a decision structure

5.You must include a menu in your program and your program must allow the user to repeat the program if necessary.

6.Use of functions in your main program that require you to pass values from the main.

7.Use of a list, tuple, or dictionary to store data

8.Write some type of data to a file as well reading data from a file

9.Use of exception handling. Your program should attempt to catch most of the commonexceptions.

10.Include comments in the code

PYTHON!!!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

2 The role of economic theory in economics.

Answered: 1 week ago