Question Detail

COS 102 Concept & Properties of Algorithm lecture 3 Week4 Objective Question

Question

An algorithm is defined as a plan for solving a problem. Which of the following statements further describes an algorithm according to the document?
Options
A A detailed programming code that can be executed directly by a computer.
B A precise sequence of an unlimited number of ambiguous, executable steps.
C A precise sequence of a limited number of unambiguous, executable steps that terminates in the form of a solution.
Correct Answer
D A rough sketch of instructions used only for simple tasks.
Correct Answer

Option C is the correct answer.

Detailed Explanation

Page 8 provides a 'Better Definition' of an algorithm: 'A precise sequence of a limited number of unambiguous, executable steps that terminates in the form of a solution'.

Hint

Look for the 'Better Definition' of an Algorithm on page 8.

Question Info