← Back to library

Algorithms: Testing and Fixing Errors

Year 8 · Number and Algebra · 4 questions · 6 min

These are the four free questions for this topic. Your score will be saved before the subscription gate.

Medium

0 of 4
Jump to a question 4 total
Question 1

Testing an algorithm means:

Question 2

An algorithm should double a number, but for input 5 it outputs 7. The likely error is:

Question 3

A 'test case' is:

Question 4

An algorithm to find an average sums the numbers but forgets to divide. For 2, 4, 6 it outputs 12 instead of:

A calm next step

Find the right place to begin

Try a free topic quiz, or use the short maths check-up to identify useful practice areas.