Computer Science, asked by binnytresa8014, 1 year ago

Write a few goals of an algorithm

Answers

Answered by Aishwarya98
67

Few goals of an algorithm:

1. An algorithm should be precise and easily understandable.

2. Algorithm should give all details about the program.

3. Algorithm should be in a step by step manner.

Answered by umarmir15
0

Answer:

Algorithm is defined as, a sequence of steps to accomplish the task. Such a finite sequence

of steps required to get the desired output is called

an algorithm.

It will lead to the desired result in a finite amount of time, if followed correctly. Algorithm has a

definite beginning and a definite end, and consists of a finite number of steps

Explanation:

Writing an algorithm is mostly considered as a first

step to programming.

Once we have an algorithm to solve a problem, we can write the computer program for giving instructions to the computer in high level language. If the algorithm is correct, computer will run

the program correctly, every time.

So, the purpose of using an algorithm is to increase the reliability, accuracy and efficiency of obtaining solutions.

Characteristics of a good algorithm

• Precision — the steps are precisely stated or defined.

• Uniqueness — results of each step are uniquely

defined and only depend on the input and the result

of the preceding steps.

• Finiteness — the algorithm always stops after a

finite number of steps.

• Input — the algorithm receives some input.

• Output — the algorithm produces some output.

To know more about the programming and algorithm you may visit the below links.

https://brainly.in/textbook-solutions/q-computer-program-provides-services-computer-programs?source=quick-results

https://brainly.in/textbook-solutions/q-algorithm-1?source=quick-results#q-algorithm

Similar questions