Question Detail

COS 102 introduction to programming Objective Question

Question

An Algorithm is defined as:
Options
A A physical component inside a computer that performs calculations.
B A sequence of instructions describing how to do a task (or process).
Correct Answer
C A specialized programming language used only for scientific computing.
D The final executable software product.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 4 explicitly defines 'Algorithm: A sequence of instructions describing how to do a task (or process)'.

Hint

An algorithm is a set of logical steps to solve a problem, not a physical object or a language.

Question Info