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

Organise the items below into their correct category.

Sequence
Selection
Iteration
Recursion

procedure functionA()

         functionB()

         functionC()

         functionD()

endprocedure

while a < 10

    x = x + b

endwhile

switch entry

    case 1:

        print("yes")

    default:

         print("no")

endswitch

print(x)

procedure callSomething()

          ifXY()

          elseZ()

endprocedure

function calculation(value)

    return calculation(value^value)

endfunction

if a < 5 then

    print(a)

endif

function triple(number)

     return triple(number – 1)

endfunction

do

     answer=input("2+2")

until answer==4

for x = 1 to 2

    print(x)

next x

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

Pass Mark
70%