Note that your final mark will not be saved in the system.
1 - Programming GapFill
You must fill all the gaps before clicking ‘Check Answers!’
There are four programming constructs, which determine the order and quantity in which instruction executes. involves each instruction executing once, in a fixed order. , indicated by keywords such as and , involves one path being taken through the code where more than one path was available. is the repeated execution of a block of code, which is signified by programming keyworks such as and . Finally, is the construct in which a subroutine calls itself.
When a subroutine calls another subroutine, or calls itself, data can be passed to the called subroutine by way of . There are two ways of doing this. Passing by involves making a copy of the data that's passed in. Passing by involves passing a pointer to the called subroutine – any changes made to this data entail changes being made to the original, as there is no copy. A subroutine might return a value, in which case it is referred to as a . If it returns no value, it is known as a .