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 2024
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

do

     answer=input("2+2")

until answer==4

function calculation(value)

    return calculation(value^value)

endfunction

switch entry

    case 1:

        print("yes")

    default:

         print("no")

endswitch

for x = 1 to 2

    print(x)

next x

function triple(number)

     return triple(number – 1)

endfunction

procedure functionA()

         functionB()

         functionC()

         functionD()

endprocedure

print(x)

if a < 5 then

    print(a)

endif

while a < 10

    x = x + b

endwhile

procedure callSomething()

          ifXY()

          elseZ()

endprocedure

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

Pass Mark
70%