Unit Award Scheme

116849 PROGRAMMING SKILLS (UNIT 3): TEMPERATURE CONVERSION

In successfully completing this unit, the Learner will have

Evidence needed

shown knowledge of

1the importance of using meaningful variable and subroutine names throughout their codeStudent completed work

demonstrated the ability to

2use either C#, Python or VB.NET to write a computer program to complete this unitStudent completed work
3write an appropriately named subroutine that takes a single real number parameter holding the temperature in Fahrenheit and returns the result of the formula celsius = 5 / 9 * (fahrenheit - 32)Student completed work
4write an appropriately named subroutine that takes a single real number parameter holding the temperature in Celsius and returns the result of the formula fahrenheit = (celsius * 9 / 5) + 32Student completed work
5write a subroutine called 'displayMenu' that has no parameters and displays three menu options, ie '1) Convert from Celsius to Fahrenheit', '2) Convert from Fahrenheit to Celsius' and '3) Exit'Student completed work
6use iteration to keep the program running until option 3 has been chosen from the menu Student completed work
7display the message 'Invalid option. Try again.' if any value other than 1, 2 or 3 is entered at the menuStudent completed work
8call the appropriate subroutine to convert the temperature that has been entered by the user when option 1 is chosenStudent completed work
9call the appropriate subroutine to convert the temperature that has been entered by the user when option 2 is chosenStudent completed work
10display the result of the conversion using a suitable message.Student completed work

All outcomes recorded on an AQA Summary Sheet

Approved 25 January 2022Level - Level Two