- Details
- Parent Category: Programming Assignments' Solutions
We Helped With This Python Programming Homework: Have A Similar One?

Category | Programming |
---|---|
Subject | Python |
Difficulty | Undergraduate |
Status | Solved |
More Info | Online Python Help |
Short Assignment Requirements
Assignment Description
Programming Assignment for
CCT Diploma in Python Programming
Create a Python program to calculate Body Mass Index (BMI)
Class Ending: 11 Jun 2018
CCT College Dublin,
30 - 34 Westmoreland St., Dublin 2
Tutor Brian Rogers
Assignment Due Date 9 July 2018
Introduction
By recent estimates, large numbers of people in Ireland and other countries are overweight and a significant number are obese. This causes increases in illnesses such as diabetes and heart disease. To determine whether a person is overweight or obese, you can use a measure called the body mass index (BMI). The website of safefood provides one of many BMI calculators you will find online at http://www.safefood.eu/Healthy-Eating/WeightLoss/BMI-calculator.aspx. Use it to calculate your own BMI.
There is extensive information about BMI on this Wikipedia web page https://en.wikipedia.org/wiki/Body_mass_index
The objective of this assignment is to program a BMI calculator using Python.
Create a BMI calculator Program Description
The program should allow the user to enter a person’s weight in stones and pounds and then convert the entered weight to kilograms or converts the weight entered in kilograms to Stones and pounds.
The program should allow the user to enter a person’s height in feet and inches and then convert the entered height to centimetres or converts the height entered in centimetres to feet and inches.
The program should then calculate the BMI and display the result. The program should also
display further information telling the user if the persons BMI indicates if they are underweight, normal, overweight or obese using the values shown in this table.
BMI VALUES | |
Underweight | less than 18.5 |
Normal (heathy weight) | between 18.5 and 24.9 |
Overweight | between 25 and 29.9 |
Obese | 30 or greater |
BMI Formulae
BMI is calculated using either of the following formulae:
English Imperial BMI Formula
BMI = (Weight in Pounds / (Height in inches x Height in inches)) x 703
Metric BMI Formula
BMI = (Weight in Kilograms / (Height in Meters x Height in Meters))
You only need to use one of the above as your program will contain all the values in both the imperial and metric systems.
The program should ensure that the user enters valid (numeric /positive / appropriate range) values only. If the user enters incorrect values the program should request new values.
Functionality
The program should have all functionality described in this document. It must be written in Python and can have either a text or TK graphical user interface.
A GUI interface might look something like this, this is for guideline purposes only
Exception Handling:
The application should have sufficient exception handling to ensure robust operation.
It should not fail if the user enter inappropriate values.
Deliverables:
Your project should be submitted as Python source files only. You do not need to provide any compiled class files.
This should then be submitted as a zip file by email to .... You will receive an emailed acknowledgement within 48 hours. If you do not receive this acknowledgement please resubmit.
ALL the files necessary to compile the application as it exists after each part. Each source file should contain your name, email address and phone number as a comment.
Marking schema:
Marks will be assigned as follows:
Full Functionality of program: 70%
Validation of user input and exception handling: 20%
Presentation and Readability of Code: 10%
The Diploma in Python programming is awarded as follows:
Pass: 40% to 49%,
Merit: 50% to 69%,
Distinction: 70% to 100%
Please note if you wish to submit your assignment before the deadline and get your result quickly I will accommodate this. Just send me your assignment, ask me to correct it quickly and I will do so within 2 working days.