Computer Science, asked by allie459, 2 months ago

A good algorithm must be:

A) Replaceable
B)Ambiguous
C) Detailed
D) Open-ended

Answers

Answered by jaideepkonka
2

Answer:

Option C) Detailed

hope it helps you

:)

Answered by aditijaink283
0

Answer:

The answer to the given question is:

C) Detailed

Explanation:

Qualities of an effective algorithm:

Correctness: An algorithm is said to be accurate if it stops producing the right result for every set of inputs. Your algorithm is flawed if you aren't getting the right result for any given set of inputs.

Finiteness: Although most people overlook this, it is a crucial element in the evaluation of algorithms. A finite number of steps must always bring the algorithm to an end. Your method should come to an end in situations like recursion and looping, for instance, since these might lead to stack overflows and infinite loops, respectively.

Efficiency: The algorithm is always efficient. Two variables, namely space and time, are the main determinants of an algorithm's efficiency. A smart algorithm should consume less time and space, although this is not always attainable. Time and space are subject to trade-offs. Time can be cut down, but space might get bigger.

#SPJ2

Similar questions