Unit Award Scheme
116849 PROGRAMMING SKILLS (UNIT 3): TEMPERATURE CONVERSION
In successfully completing this unit, the Learner will have | Evidence needed | |
---|---|---|
shown knowledge of | ||
1 | the importance of using meaningful variable and subroutine names throughout their code | Student completed work |
demonstrated the ability to | ||
2 | use either C#, Python or VB.NET to write a computer program to complete this unit | Student completed work |
3 | write 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 |
4 | write 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) + 32 | Student completed work |
5 | write 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 |
6 | use iteration to keep the program running until option 3 has been chosen from the menu | Student completed work |
7 | display the message 'Invalid option. Try again.' if any value other than 1, 2 or 3 is entered at the menu | Student completed work |
8 | call the appropriate subroutine to convert the temperature that has been entered by the user when option 1 is chosen | Student completed work |
9 | call the appropriate subroutine to convert the temperature that has been entered by the user when option 2 is chosen | Student completed work |
10 | display 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