Question Detail

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

Question

The 'Uniqueness' characteristic of a good algorithm implies that:
Options
A The algorithm must be novel and previously unheard of.
B Results of each step are uniquely defined and only depend on the input and the result of the preceding steps.
Correct Answer
C The algorithm should only have one possible input value.
D Each step must be performed in a unique and different way every time.
Correct Answer

Option B is the correct answer.

Detailed Explanation

Page 10 defines Uniqueness as: 'results of each step are uniquely defined and only depend on the input and the result of the preceding steps.'

Hint

Look for the definition of 'Uniqueness' under 'Characteristics of a good algorithm' on page 10.

Question Info