What Is The Meaning Of Algorithm?

5
(1)

Simple Definition:

An algorithm is a step-by-step procedure [a series of actions performed in a certain order] or set of rules [instructions to follow] to solve a problem or accomplish a specific task. Often, a computer also follows an algorithm, the same way you can follow a recipe or a set of instructions.

Examples:

  1. In computer science, algorithms are used to sort lists of numbers or data in a specific order, like arranging them from smallest to largest.
  2. If you need to find the square root of a number, you can use the algorithm known as the Babylonian method. It involves making guesses and refining them until you reach an accurate approximation.

Very Simple Definition:

An algorithm is a set of rules or instructions that tell you how to do something. Often, a computer also follows an algorithm, the same way you can follow a recipe.

Examples:

  1. To solve a Rubik’s Cube (a type of puzzle) you can follow certain procedures (algorithms) that move the pieces into the correct place.
  2. A calculator follows an algorithm (set of instructions given to it) to find the square root of a number.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.