Python Program for Nutrition Policy Assignment
Programming Task 3
Must Complete: Yes
Assessment Notes: Programming task. All assignments must be attempted.
This assessment relates to:
Learning Outcomes 1 2 3 6
- Develop a Python program to solve a problem
- Follow good program development and coding style practices
- Develop a Graphical User Interface
Write a Python program to solve the following problem. Your solution should include a readme.md file (which includes details of how to run your assignment) and your Python program in a file named diet_gui.py, and be submitted as a single .tgz file named pt3.tgz. You should ensure your solution works using the Python 3 interpreter on turing.
Thanks to your previous programs, Codetown Central Hospital has implemented their new nutrition policy. All is going well, but some staff need to know the details of the different diets offered by the hospital. The hospital manager has asked you to implement a graphical user interface that allows the user to select a diet and see the amount of protein, carbohydrates, fat, and kilojoules it offers (to two decimal places).
The diets that have been identified are:
|Diet||Protein (g)||Carbohydrates (g)||Fat (g)|
Note: These values are taken from Ileri, Y. Y., & Hacibeyoglu, M. (2018). Advancing competitive position in healthcare: a hybrid metaheuristic nutrition decision support system. International Journal of Machine Learning and Cybernetics, 1-14.
Note that program specifications are not always clear. If you are uncertain about any aspect, you are typically better off asking than making assumptions. Please use the appropriate discussion forum to ask for clarification, if required.
A potential interface may look like the following:
|Adequate documentation (including commenting in source)||10|
|Program runs without hanging/crashing||10|
|Program handles input/output correctly||10|
|Program handles errors gracefully||30|
|GUI layout (including resizing)||20|
|Program follows the specification||20|
|Attempt number||This is attempt 1.|
|Submission status||No attempt|
|Grading status||Not graded|
|Due date||Sunday, 6 February 2022, 11:59 PM|
|Time remaining||11 days 8 hours|
|Submission comments||Comments (0)|
Get a fresh solution for Python Program for Nutrition Policy Assignment and many more. No 1 assignment help service in England, Plag free, Superfast Urgent On-time delivery, 100% safe and trusted by global students. Order online now!No Fields Found.