Edexcel GCSE Computer Science 2020

6.6.2: be able to write functions that may or may not take parameters but must return values, and procedures that may or may not take parameters but do not return values

Test your self on these keywords and definitions using the games below or Play random game
functiontype of subprogram which always returns a value
parameterdata passed into a subprogram to customise how it works
proceduretype of subprogram which never returns a value
return valuedata passed out of a function back to the part of code which called it
subprogrameither a procedure or function (named section of code which can be customised with parameters and called multiple times)
subprogram callpart of the code which causes a subprogram to actually run
subprogram definitionpart of the code which tells the code what to do when a subprogram runs
Keyword games: