SSC
COMPUTER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A good algorithm must be:
|
replacable
|
|
simple
|
|
open-ended
|
|
detailed
|
Explanation:
Detailed explanation-1: -An algorithm is made up of three basic building blocks: sequencing, selection, and iteration. Sequencing: An algorithm is a step-by-step process, and the order of those steps are crucial to ensuring the correctness of an algorithm.
Detailed explanation-2: -The efficiency of an algorithm is mainly defined by two factors i.e. space and time. A good algorithm is one that is taking less time and less space, but this is not possible all the time. There is a trade-off between time and space. If you want to reduce the time, then space might increase.
There is 1 question to complete.