What is an algorithm? How computers know what to do with data – The Conversation US
The world of computing is full of buzzwords: AI, supercomputers, machine learning, the cloud, quantum computing and more. One word in particular is used throughout computing algorithm.
In the most general sense, an algorithm is a series of instructions telling a computer how to transform a set of facts about the world into useful information. The facts are data, and the useful information is knowledge for people, instructions for machines or input for yet another algorithm. There are many common examples of algorithms, from sorting sets of numbers to finding routes through maps to displaying information on a screen.
To get a feel for the concept of algorithms, think about getting dressed in the morning. Few people give it a second thought. But how would you write down your process or tell a 5-year-old your approach? Answering these questions in a detailed way yields an algorithm.
To a computer, input is the information needed to make decisions.
When you get dressed in the morning, what information do you need? First and foremost, you need to know what clothes are available to you in your closet. Then you might consider what the temperature is, what the weather forecast is for the day, what season it is and maybe some personal preferences.
All of this can be represented in data, which is essentially simple collections of numbers or words. For example, temperature is a number, and a weather forecast might be rainy or sunshine.
Next comes the heart of an algorithm computation. Computations involve arithmetic, decision-making and repetition.
So, how does this apply to getting dressed? You make decisions by doing some math on those input quantities. Whether you put on a jacket might depend on the temperature, and which jacket you choose might depend on the forecast. To a computer, part of our getting-dressed algorithm would look like if it is below 50 degrees and it is raining, then pick the rain jacket and a long-sleeved shirt to wear underneath it.
After picking your clothes, you then need to put them on. This is a key part of our algorithm. To a computer a repetition can be expressed like for each piece of clothing, put it on.
Finally, the last step of an algorithm is output expressing the answer. To a computer, output is usually more data, just like input. It allows computers to string algorithms together in complex fashions to produce more algorithms. However, output can also involve presenting information, for example putting words on a screen, producing auditory cues or some other form of communication.
So after getting dressed you step out into the world, ready for the elements and the gazes of the people around you. Maybe you even take a selfie and put it on Instagram to strut your stuff.
Sometimes its too complicated to spell out a decision-making process. A special category of algorithms, machine learning algorithms, try to learn based on a set of past decision-making examples. Machine learning is commonplace for things like recommendations, predictions and looking up information.
[Deep knowledge, daily. Sign up for The Conversations newsletter.]
For our getting-dressed example, a machine learning algorithm would be the equivalent of your remembering past decisions about what to wear, knowing how comfortable you feel wearing each item, and maybe which selfies got the most likes, and using that information to make better choices.
So, an algorithm is the process a computer uses to transform input data into output data. A simple concept, and yet every piece of technology that you touch involves many algorithms. Maybe the next time you grab your phone, see a Hollywood movie or check your email, you can ponder what sort of complex set of algorithms is behind the scenes.
Read more here:
What is an algorithm? How computers know what to do with data - The Conversation US
- USA Rare Earth, Pasqal, and Riven Systems Partner to Advance Quantum ML for Critical Mineral Processing - Quantum Computing Report - September 20th, 2026 [September 20th, 2026]
- Quantum Computing Stocks Lose Their Momentumand the Lone Holdout Isn't Really a Quantum Play - ChartMill - September 20th, 2026 [September 20th, 2026]
- Prediction: This Quantum Computing Stock Is Going to Plummet Over the Next 12 Months - The Motley Fool - September 20th, 2026 [September 20th, 2026]
- Prediction: This Quantum Computing Stock Is Going to Plummet Over the Next 12 Months - Currently.com - September 20th, 2026 [September 20th, 2026]
- USAR Turns To AI, Quantum Computing To Tackle A Key Supply Bottleneck Why Its Partnership With Pasqal, Riven Systems Matters - stocktwits.com - September 20th, 2026 [September 20th, 2026]
- USAR Turns To AI, Quantum Computing To Tackle A Key Supply Bottleneck Why Its Partnership With Pasqal, Riven Systems Matters - Yahoo Finance - September 20th, 2026 [September 20th, 2026]
- Quantum Computing: Continuing To Evolve And Transition From Lab To Commerce (NASDAQ:QUBT) - Seeking Alpha - September 20th, 2026 [September 20th, 2026]
- Shark Tank Star Kevin OLeary Sets $1 Million Bitcoin Target But Theres One Quantum Computing Hurdle - CryptoRank - September 20th, 2026 [September 20th, 2026]
- Roundtable: Quantum Computing Scenario Implementation & Emergence If Quantum Computing Power Is Available Tomorrow, Who Will Be the First... - September 15th, 2026 [September 15th, 2026]
- Quantum Computing Inc. Expands Global Quantum Adoption Through New Hamad Bin Khalifa University Framework Agreement - PR Newswire - September 15th, 2026 [September 15th, 2026]
- Keynote Speech: Breaking Boundaries Quantum Computing Advances into Deep Industrial Application Waters The Next Mile of Quantum Computing | 36Kr... - September 15th, 2026 [September 15th, 2026]
- CloudHill Capital Partner Song Xuwen: Quantum Computing Advances Engineering & Industrialization in Parallel - Inflection Point Near | 36Kr 2026... - September 15th, 2026 [September 15th, 2026]
- Why Quantum Computing Could Break the Internets Security And What Comes Next - European Business Magazine - September 15th, 2026 [September 15th, 2026]
- Quantum Computing expands global quantum adoption via accord with university in Qatar - ROI-NJ - September 15th, 2026 [September 15th, 2026]
- Phasecraft and NVIDIA expand collaboration to advance quantum computing research - New Electronics - September 15th, 2026 [September 15th, 2026]
- Quantum Dice and North Wales Police Test Probabilistic Computing for Emergency Response - The Quantum Insider - September 15th, 2026 [September 15th, 2026]
- Quantum Computing Inc. Signs Three-Year Agreement With Hamad Bin Khalifa University - Yahoo Finance - September 15th, 2026 [September 15th, 2026]
- Quantum Computing and the Rise of the Breachless Data Breach - Law.com - September 15th, 2026 [September 15th, 2026]
- If I Could Only Buy 1 Quantum Computing Stock, This Would Be It - Yahoo Finance - September 13th, 2026 [September 13th, 2026]
- BigBear.ai vs. IonQ: Weighing Whether to Invest in the Artificial Intelligence Company or the Quantum Computing Giant - The Motley Fool - September 13th, 2026 [September 13th, 2026]
- IBM and Lockheed Martin Partner with ETH Zurich to Deploy Switzerlands First IBM Quantum System Two - Quantum Computing Report - September 13th, 2026 [September 13th, 2026]
- BWT Alpine Formula One Team and SEALSQ Expand Quantum Partnership into Multiphysics Simulation - Quantum Computing Report - September 13th, 2026 [September 13th, 2026]
- If I Could Only Buy 1 Quantum Computing Stock, This Would Be It - The Motley Fool - September 13th, 2026 [September 13th, 2026]
- 3 Quantum Computing Stocks Have Issued a $63 Million Warning This Year That Wall Street Cannot Ignore - The Motley Fool - September 13th, 2026 [September 13th, 2026]
- BigBear.ai vs. IonQ: Weighing Whether to Invest in the Artificial Intelligence Company or the Quantum Computing Giant - The Globe and Mail - September 13th, 2026 [September 13th, 2026]
- Why quantum computing stocks are soaring today while the rest of the market falls - Yahoo Finance - September 13th, 2026 [September 13th, 2026]
- Is the Quantum Computing Threat to Bitcoin Overblown? These New Developments Suggest That's the Case. - The Motley Fool - September 8th, 2026 [September 8th, 2026]
- AI models using quantum computing will be tested on live currency data - Stock Titan - September 8th, 2026 [September 8th, 2026]
- The US is pouring hundreds of millions more into quantum computing. This is only the beginning - XTB.com - September 8th, 2026 [September 8th, 2026]
- Quantum Motion Raises Additional Funding for Silicon Quantum Computing - The Quantum Insider - September 4th, 2026 [September 4th, 2026]
- George Mason University Partners with TreQ to Install $7.7M Open-Architecture Quantum QPU in Virginia - Quantum Computing Report - September 4th, 2026 [September 4th, 2026]
- Rigetti and Purdue University Demonstrate Quantum Preconditioning Framework for Constrained Optimization - Quantum Computing Report - September 4th, 2026 [September 4th, 2026]
- George Mason and TreQ Bring Open-Architecture Quantum Computing to Virginia - HPCwire - September 4th, 2026 [September 4th, 2026]
- IBM Releases Nighthawk r2 QPU Featuring Active Dissipative Qubit Reset and 25x Circuit Throughput - Quantum Computing Report - September 4th, 2026 [September 4th, 2026]
- Why everyone in quantum computing is buzzing about Googles move into neutral atoms - Fast Company - September 2nd, 2026 [September 2nd, 2026]
- Bitcoin May Already be Resistant to Quantum Computing Attacks - extremetech.com - September 2nd, 2026 [September 2nd, 2026]
- Anyon Systems and KMT Technologies Partner to Expand Quantum Computing Deployment - The Quantum Insider - September 2nd, 2026 [September 2nd, 2026]
- Yaqumo and SCREEN Holdings Partner on NEDO Project to Build Optical Modules for Neutral-Atom QPUs - Quantum Computing Report - September 2nd, 2026 [September 2nd, 2026]
- NSF awards $37M to its UC Berkeley-led quantum computing research - Daily Cal - September 2nd, 2026 [September 2nd, 2026]
- Anyon Systems and Matrix Group Partner to Accelerate International Quantum Supercomputing Deployments - Quantum Computing Report - September 2nd, 2026 [September 2nd, 2026]
- Diffraqtion Caps Pre-Seed Round at $10M+ with Strategic Backing from Lockheed Martin and Presidio Ventures - Quantum Computing Report - September 2nd, 2026 [September 2nd, 2026]
- Anyon Systems and KMT Technologies Partner to Accelerate International Deployment of Quantum Computing - HPCwire - September 2nd, 2026 [September 2nd, 2026]
- A Major Quantum Computing Problem May Finally Have an Answer: Can We Trust the Results? - SciTechDaily - September 2nd, 2026 [September 2nd, 2026]
- S-Transistors Raises 2.6 Million ($3 Million USD) Pre-Seed Round to Build Superconducting Quantum Control Motherboards - Quantum Computing Report - September 2nd, 2026 [September 2nd, 2026]
- How Quantum Hardware Rollouts And NHanced Deal At Quantum Computing (QUBT) Have Changed Its Investment Story - simplywall.st - September 2nd, 2026 [September 2nd, 2026]
- Can IBM's HRL Acquisition Boost Its Quantum Computing Capabilities? - The Globe and Mail - September 2nd, 2026 [September 2nd, 2026]
- Anyon Systems And Matrix Group Team Up To Expand Quantum Computing Access - Quantum Zeitgeist - September 2nd, 2026 [September 2nd, 2026]
- Quantum Computing Use Cases for the Oil and Gas Industry - JPT Homepage - August 31st, 2026 [August 31st, 2026]
- Quantum computing: Where we stand in 2026 - Constellation Research - August 31st, 2026 [August 31st, 2026]
- Quantum Computing Inc Stock (QUBT) Opinions on Revenue Surge and Analyst Upgrade - Quiver Quantitative - August 31st, 2026 [August 31st, 2026]
- Quantum Computing (QUBT) Stock Looks Reasonable On Book Value While Returns Look Stretched - simplywall.st - August 31st, 2026 [August 31st, 2026]
- Quantum Computing (QUBT) Looks Undervalued On Paper, Is The Pullback A Buying Opportunity? - simplywall.st - August 31st, 2026 [August 31st, 2026]
- Quantum Computing Is Raising the Stakes for Cybersecurity: 5 Stocks to Watch - Yahoo Finance - August 31st, 2026 [August 31st, 2026]
- The Dream of Quantum Computing Is Both Dead and Alive - Bloomberg - August 27th, 2026 [August 27th, 2026]
- Quantum Datacenter Alliance Announces Second Annual Forum on Scaling Quantum Computing - The Quantum Insider - August 27th, 2026 [August 27th, 2026]
- Why Quantum Computing Is a Threat to Cybersecurity - WSJ - August 27th, 2026 [August 27th, 2026]
- Its time to stop sleeping on quantum computing: 48 experts on what to watch for next - Fast Company - August 27th, 2026 [August 27th, 2026]
- Bitcoin now has a quantum computing escape route, but 7 million BTC may still be exposed - CryptoSlate - August 27th, 2026 [August 27th, 2026]
- Quantum Computing Inc Stock (QBTS) Opinions on CFO Resignation - Quiver Quantitative - August 27th, 2026 [August 27th, 2026]
- Pasqal and Eleven Ventures Form Joint Venture for Quantum Computing in Saudi Arabia - The Quantum Insider - August 27th, 2026 [August 27th, 2026]
- 1 Quantum Computing Stock Everyone's Ignoring While IonQ Gets the Headlines - The Motley Fool - August 27th, 2026 [August 27th, 2026]
- Quantum Stocks Unwind a Revenue-Headline Rally: Rigetti Computing and Infleqtion Down 7%, IonQ Down 6% - 24/7 Wall St. - August 27th, 2026 [August 27th, 2026]
- Quantum Datacenter Alliance Announces 2nd Annual Forum on Scaling Quantum Computing - HPCwire - August 27th, 2026 [August 27th, 2026]
- IonQ vs. Quantum Computing Inc.: Which Quantum Computing Stock Is a Better Buy in 2026? - The Motley Fool - August 27th, 2026 [August 27th, 2026]
- Quantum Computing Stocks IonQ, Rigetti Computing, and D-Wave Quantum Have Put Wall Street on Notice With This $863 Million Warning - The Motley Fool - August 27th, 2026 [August 27th, 2026]
- IonQ Expands Cloud Quantum Computing Access Through Canadian FABrIC Sandbox - The Fast Mode - August 23rd, 2026 [August 23rd, 2026]
- IonQ (NYSE: IONQ) Emerges As The Standout Pure-Play Quantum Computing Stock To Watch - foreignpolicyjournal.com - August 23rd, 2026 [August 23rd, 2026]
- The Quantum Computing Race Is Heating Up: The Top 3 Stocks to Buy Right Now - Yahoo Finance - August 23rd, 2026 [August 23rd, 2026]
- Reddit vs. Rigetti Computing: Which High-Growth Stock Is a Better Buy in 2026, the Social Media Giant or Rising Quantum Computing Company? - Yahoo... - August 23rd, 2026 [August 23rd, 2026]
- 1 Quantum Computing Stock That Looks Like a Screaming Buy Right Now - The Motley Fool - August 23rd, 2026 [August 23rd, 2026]
- Quantum Computing vs. Red Cat: Which High-Growth Innovation Stock Is a Better Buy in 2026? - The Motley Fool - August 23rd, 2026 [August 23rd, 2026]
- Quantum Computing Finally Delivered, And The Stock May Be Too Cheap (NASDAQ:QUBT) - Seeking Alpha - August 23rd, 2026 [August 23rd, 2026]
- Quantum Computing Stock Jumps 9.6% as Cash Covers 64% of Its Market Value - TechStock - August 23rd, 2026 [August 23rd, 2026]
- D-Wave Quantum vs. Microsoft: Which Is the Better Quantum Computing Stock to Own for the Next 5 Years? - Yahoo Finance - August 23rd, 2026 [August 23rd, 2026]
- A little bit more than magic: The secret to quantum computing may lie in negativity - Phys.org - August 22nd, 2026 [August 22nd, 2026]
- IBM's new 'quantum fridges' are nearly 200 times colder than deep space and could pave the way for fault-tolerant quantum computing - Live Science - August 22nd, 2026 [August 22nd, 2026]
- 3 Quantum Computing Stocks With the Most Upside in August - Yahoo Finance - August 22nd, 2026 [August 22nd, 2026]
- Can IBM Scale Quantum Computing With Its New Cryogenic Systems? - Yahoo Finance - August 22nd, 2026 [August 22nd, 2026]
- EBU and Superpositions Partner to Add Quantum Computing to Business Education - The Quantum Insider - August 22nd, 2026 [August 22nd, 2026]
- IonQ and CMC Microsystems Announce Collaboration to Expand Cloud Quantum Computing Access in Canada - The Quantum Insider - August 22nd, 2026 [August 22nd, 2026]