Exam-style question
Try this first
Which statement best describes an algorithm?.
- A.A set of computer components that stores data
- B.A sequence of steps that can be followed to complete a task and always terminates
- C.A programming language used to write software
- D.A collection of test data used to check a program
Answer and explanation
Concise answer
A sequence of steps that can be followed to complete a task and always terminates
Why this is correct
An algorithm is a sequence of steps for completing a task, and it must always terminate rather than continuing indefinitely.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
