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.

Fundamentals of Algorithms Reorder

Target Level
4-5
Running Total
0
0%
Attempt
1 of 3

Drag and drop the boxes into the correct order.



  • If True, swap next number with current number
  • The array is now ordered and the algorithm can stop.
  • Compare with this with next number
  • Is next number < current number?
  • Move to next number in array; make this the current number
  • Examine first number in array
  • Repeat the check and swap steps until the whole list is checked without any swaps being made.
  • Repeat the comparison between current number and the next number

This is your 1st attempt! The marking algorithm gives more marks for getting the right order first time.

Pass Mark
70%