Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 8 - No. 19)

When designing an algorithm, what is the role of 'verification'?
To compare the algorithm's results with expected outputs.
To optimize the algorithm's performance.
To translate the algorithm into machine code.
To correct all syntax errors.

Explanation

Verification is the process of making sure the algorithm's output is correct. This is often done by comparing it to a known value.

Comments (0)

Advertisement