FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A good algorithm must be:
A
ambiguous
B
simple
C
open-ended
D
detailed
Explanation: 

Detailed explanation-1: -A good algorithm should produce the correct outputs for any set of legal inputs. A good algorithm should execute efficiently with the fewest number of steps as possible. A good algorithm should be designed in such a way that others will be able to understand it and modify it to specify solutions to additional problems.

Detailed explanation-2: -Unambiguity, fineness, effectiveness, and language independence are some of the characteristics of an algorithm. The scalability and performance of an algorithm are the primary factors that contribute to its importance.

Detailed explanation-3: -the characteristics of a good algorithm are: Precision – the steps are precisely stated(defined). Uniqueness – results of each step are uniquely definedand only depend on the input and the result of the preceding steps. Definiteness – the algorithm stops after a finite number of instructions are executed.

There is 1 question to complete.