Weightage : 100%
Introduction to Computer Science Part 1 (50 marks)
Construct a solution algorithm for the following problems. Your solution should contain:
Defining problem
Pseudo code algorithm
Desk check of the algorithm
o (Three test cases for each question. Two valid and one error test case)
Question 1
A clinic requires a program to calculate the body mass index (BMI) and display the BMI
value and status of a patient. Develop a program to accept the height and weight of a patient,
calculate the BMI and display BMI value and status of a patient.
BMI = weight in kg/height2