Highlights
Learning Outcomes:
1. Construct logically and syntactically correct programs using appropriate programming constructs.
2. Demonstrate systematic testing of programmed solutions to identify and correct syntax, semantic and logical errors.
3. Present effective use of modelling standards to represent system structure, behaviour and interaction
Assignment
According to NHS (2016a): The body mass index (BMI) is a measure that uses your height and weight to work out if your weight is healthy. The BMI calculation divides an adult's weight in kilograms by their height in metres squared. For example, A BMI of 25 means 25kg/m2. BMI ranges For most adults, an ideal BMI is in the 18.5 to 24.9 range. For children and young people aged 2 to 18, the BMI calculation takes into account age and gender as well as height and weight. If your BMI is: • below 18.5 – you're in the underweight range
• between 18.5 and 24.9 – you're in the healthy weight range • between 25 and 29.9 – you're in the overweight range
• between 30 and 39.9 – you're in the obese range According to NHS (2016b): To work out your BMI:
• divide your weight in kilograms (kg) by your height in metres (m)
• then divide the answer by your height again to get your BMI For example:
• if you weigh 70kg and you're 1.75m tall, divide 70 by 1.75 – the answer is 40
• then divide 40 by 1.75 – the answer is 22.9 • your BMI is 22.9kg/m2 References: NHS(2016a) What is the body mass index (BMI)? [Online] Available at:
Scenario
You have been tasked with creating a programmed solution for a research team who are involved in analysing the health statistics related to n respondents in a focus group. In statistics, n refers to the number in a trial or sample.
Your programmed solution should:
• calculate health-related statistics for respondents in various focus groups.
• demonstrate versatility by being capable of taking details for n respondents since focus group sizes are dynamic and may have a changing numbers of respondents. Therefore, it is important that your application does not initially prompt the end user by asking for a specific number of respondents since the n may not be known at the beginning of a focus group session.
• capture details for each respondent including height, weight and age.
• determine the overall mean, mode, range for BMI, height, weight and age, the number and percentage of the sample considered underweight, healthy, overweight and obese.
• show versatility by allowing respondents to enter data using metric or imperial standards: weight in pounds (lb), stone (st) or kilkilograms (kg); height in metres (m), feet (ft) or inches (in)
be robust enough to handle erroneous or invalid data and generate appropriate messages alerting the user by asking for re-entry of data in the correct format and range.
Other Requirements:
• The program should start by displaying a welcome message explaining its purpose. Afterwards, it should display a message asking the end user if he/she would like to continue; if no is chosen, the program should terminate.
• After data for each respondent is entered, the program should ask the end user if he/she would like to enter details for another respondent in the sample or provide a summary of the aggregated statistics.
• After group statistics have been displayed, the program should allow restart of whole process.
Section 1: Decomposition, Planning and Design
1. Design your program based on the preceding scenario; these should:
• include a minimum of three (3) submodules.
• include a minimum of one (1) error-checking procedure.
2. Develop a Hierarchical Structure Chart depicting your overall design. An example layout is shown below:
Section 2: Implementation
1. Develop your program using appropriate algorithms to manipulate data.
2. Ensure appropriate comments are included within your program to explain functionality.
3. Include programming code and corresponding annotated screenshots of programs in execution as evidence within your report.
Section 3: Testing and Analysis
Incorporate annotated screenshots as supporting evidence.
1. Utilise appropriate data to test error-checking procedures and modify the program as appropriate.
2. Discuss situations during the debugging process where you have identified and corrected syntax and logic errors.
3. Demonstrate that you have used an iterative testing process using appropriate data to ensure correct program functionality. Correct and modify programs where necessary.
4. Discuss programming decisions made throughout work and alternative paths considered.
You may use the following table to document this process:
Section 4: Review
1. Discuss your own personal skills development throughout the project and self-management techniques and time management
This Engineering Assignment has been solved by our Engineering Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.