Algorithm

An algorithm is a finite set of well-defined steps to solve a class of problems or perform a computation. In simpler terms, it is a set of guidelines that describes how to perform a task. To be classified as an algorithm, a set of rules must be unambiguous and have a clear stopping point. It can be expressed in any language, from natural languages like English or French to programming languages like the R language or object-oriented languages like Java.

In computer systems, a developer creates a program by essentially writing a set of algorithms. It is written for computers to produce an output from the given input. Algorithms are used to produce faster results and are essential to processing data. Many computer programs contain algorithms that detail specific instructions in a specific order for carrying out a specific task, such as calculating an employee’s paycheck.

Examples of algorithms

A common and simple example of an algorithm is a recipe. It’s a finite list of instructions used to perform a task. Typically, these steps must be done in a specific sequence in order to achieve the desired outcome. Other well known algorithms include:

  • Google’s PageRank: A set of algorithms Google used to determine the importance of website pages indexed by its search engine. It was designed to decide the order in which search results would be displayed. PageRank expired as of September 2019, but it was the first algorithm Google used.
  • Facebook timeline algorithm: The set of algorithms that determines the content a user sees and in which order. It is based on a series of parameters (personal tastes, response to previous content, etc.). The algorithm is constantly updated to better improve user experience.
  • High Frequency Trading algorithms: Algorithms used globally by financial institutions to launch orders on the market based on expected profit and market conditions at any given time.
  • Algorithm of Round Robin: Used by process and network schedulers in computing to assign time slices to each process in equal portions in a circular order. It can determine the amount of time the CPU of a computer will spend on each of the processes in progress.

UPDATED: This page was updated April 2021 by Kaiti Norton.

Vangie Beal
Vangie Beal
Vangie Beal is a freelance business and technology writer covering Internet technologies and online business since the late '90s.

Top Articles

List of Windows Operating System Versions & History [In Order]

The Windows operating system (Windows OS) refers to a family of operating systems developed by Microsoft Corporation. We look at the history of Windows...

How to Create a Website Shortcut on Your Desktop

Website Shortcut on Your Desktop reviewed by Web Webster   This Webopedia guide will show you how to create a website shortcut on your desktop using...

What are the Five Generations of Computers? (1st to 5th)

Reviewed by Web Webster Each generation of computer has brought significant advances in speed and power to computing tasks. Learn about each of the...

Hotmail [Outlook] Email Accounts

Launched in 1996, Hotmail was one of the first public webmail services that could be accessed from any web browser. At its peak in...

AutoLocky Ransomware

AutoLocky is ransomware written in the popular AutoIt scripting language. It uses strong...

Data Governance

Data governance is a term used to refer to the management of processes,...

Capacity Planning

Capacity planning is a process that helps organizations determine the resources needed to...