Blockly Coding Tasks
Example 4
This will give the correct output but be marked as wrong!
(This is due to the way the marking program has saved the temp in Celsius variable outside the function and then the function returns another value.)
Coding tasks - Intro
Recommended practice
Functions, Procedures and Subroutines
Example 1
Example 2
Example 3
Example 4
Did you know the UK Bebras Challenge is run by the Raspberry Pi Foundation? Discover free teaching resources, tools, and expert support for computing education at raspberrypi.org.