Our site uses cookies. Some of the cookies we use are essential for parts of the site to operate and have already been set. You may delete and block all cookies from this site, but parts of the site will not work. To find out more about cookies on this website, see our Cookie Policy
Accept
© eRevision.uk and ZigZag Education 2025
This test is run by guest.
Note that your final mark will not be saved in the system.

1 - Programming Categorise

Target Level
C
Running Total
0
0%
Attempt
1 of 3

Click on an item, then click on a category to place it. Or, drag and drop the item into the correct category. Organise all items before clicking 'Check'.

Sequence
Selection
Iteration
Recursion

while a < 10

    x = x + b

endwhile

if a < 5 then

    print(a)

endif

for x = 1 to 2

    print(x)

next x

switch entry

    case 1:

        print("yes")

    default:

         print("no")

endswitch

function triple(number)

     return triple(number – 1)

endfunction

procedure functionA()

         functionB()

         functionC()

         functionD()

endprocedure

procedure callSomething()

          ifXY()

          elseZ()

endprocedure

print(x)

function calculation(value)

    return calculation(value^value)

endfunction

do

     answer=input("2+2")

until answer==4

This is your 1st attempt! You get 5 marks for each one you get right first time. Good luck!

Pass Mark
70%