Algorithm

What is an algorithm?

2 Answers
2 answers

What is an algorithm?

0
It is problem solving technic,It can be defined as a step by step procedure to solve particular problem .
Wrote answer · 11/24/2021
Karma · -10
0

An algorithm is a well-defined sequence of instructions to solve a specific problem or perform a computation. It's a step-by-step procedure that always produces the correct result if followed correctly. Algorithms are used in computer science, mathematics, and other fields.

Key characteristics of an algorithm include:

  • Finiteness: An algorithm must always terminate after a finite number of steps.
  • Definiteness: Each step in the algorithm must be precisely defined and unambiguous.
  • Input: An algorithm takes zero or more inputs.
  • Output: An algorithm produces one or more outputs.
  • Effectiveness: Each step in the algorithm must be basic enough that it can be carried out in principle by a person using only pencil and paper.

Here are some examples of algorithms:

  • A recipe for baking a cake.
  • A method for solving a mathematical equation.
  • A computer program for sorting a list of names.
Wrote answer · 3/13/2025
Karma · 40

Related Questions

What are the best books on Data Structures and Algorithms by specific authors?
What should be fitted at a height on your house?
Ram and Shyam were walking towards the field and noticed an old man.
What is benzene?
What preservation activities does the museum carry out?
यथाशक्ती, पाऊसपाणी या सामातजक शब्दाांचा करून प्रकार तलहा (२)?
Is a square matrix A invertible if |A|=0?