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
- Quantum Computing Moves Out Of The Lab - RealClearMarkets - May 1st, 2026 [May 1st, 2026]
- Quantum Computing Companies Are in a Race to Go Public - WSJ - April 27th, 2026 [April 27th, 2026]
- Top Quantum Computing Stocks to Buy in April - The Motley Fool - April 27th, 2026 [April 27th, 2026]
- Watch Wall Street Split on Quantum Computing Bet - Bloomberg.com - April 27th, 2026 [April 27th, 2026]
- Fault-Tolerant Quantum Computing with Trapped Ions: The Walking Cat Architecture - IonQ Quantum Computing - April 27th, 2026 [April 27th, 2026]
- Quantum computing gains stability boost from NVIDIA error correction model - Digital Watch Observatory - April 27th, 2026 [April 27th, 2026]
- Global Quantum Computing Market: Growth, Trends, and Future Outlook (2026-2036) - openPR.com - April 27th, 2026 [April 27th, 2026]
- Quantum Computing in Drug Discovery Market to Reach USD 637.83 - openPR.com - April 27th, 2026 [April 27th, 2026]
- Our Quantum Computing Name Faces a Crucial Spot in the Chart - TheStreet Pro - April 27th, 2026 [April 27th, 2026]
- This Quantum Computing Stock Is Up 200% in 2025. Here's 1 Reason That Could Be Just the Beginning. - AOL.com - April 27th, 2026 [April 27th, 2026]
- Quantinuum Has Submitted a Confidential S-1 Filing to the U.S. SEC for a Proposed Initial Public Offering (IPO) of their Common Stock - Quantum... - April 27th, 2026 [April 27th, 2026]
- Quantum Computing Stocks IonQ, Rigetti, and D-Wave Have Soared Up to 72% in 7 Trading Sessions -- and You'll Likely Regret Chasing This Rally - The... - April 25th, 2026 [April 25th, 2026]
- IonQ Publishes Definitive Technical Report, Establishing Its Fault-Tolerant Quantum Computing Trajectory Setting a New Standard for Technical... - April 25th, 2026 [April 25th, 2026]
- Coinbase Advisers Warn Quantum Computing Will Crack Blockchain Encryption -- And The Window to Prepare Is Narrowing - The Quantum Insider - April 25th, 2026 [April 25th, 2026]
- Quantum Computing Stocks IonQ, Rigetti, and D-Wave Have Soared Up to 72% in 7 Trading Sessions -- and You'll Likely Regret Chasing This Rally - Yahoo... - April 25th, 2026 [April 25th, 2026]
- Why the Real Quantum Race is Shifting from Hardware to Software - Quantum Computing Report - April 25th, 2026 [April 25th, 2026]
- Q.ANT Expands to U.S. and Appoints Former IBM Executive as CTO - Quantum Computing Report - April 25th, 2026 [April 25th, 2026]
- Bitcoin Quantum Computing Threat: Is Your Crypto at Risk in 2026? - Intellectia AI - April 25th, 2026 [April 25th, 2026]
- Quantum computing poised to displace classical AI infrastructure, Northland says - Investing.com - April 25th, 2026 [April 25th, 2026]
- "We are a part of this community now": How institutions are preparing for Bitcoin's quantum computing threat - Blockspace Media - April 25th, 2026 [April 25th, 2026]
- Scientists Overcome Major Quantum Bottleneck, Potentially Transforming Teleportation and Computing - SciTechDaily - April 25th, 2026 [April 25th, 2026]
- Phoenix Mayor Kate Gallego highlights new initiative to make Valley a quantum computing hub - KJZZ - April 23rd, 2026 [April 23rd, 2026]
- IonQ vs. Rigetti: Which Quantum Computing Stock Is the Better Buy Ahead of Q1 Earnings? - TipRanks - April 23rd, 2026 [April 23rd, 2026]
- Ripple haunted by spectre of quantum computing and proposes two-year plan for XRP Ledger - dlnews.com - April 23rd, 2026 [April 23rd, 2026]
- Global Quantum Computing Advanced Packaging Market to Reach USD 278.65 Million by 2036 - openPR.com - April 23rd, 2026 [April 23rd, 2026]
- Quantum Computing Inc Announces Deployment-Ready NeuraWave, A Photonic Computing Platform For Real-Time AI Inference At The Edge - marketscreener.com - April 23rd, 2026 [April 23rd, 2026]
- Architectural Blueprints for Fault-Tolerant Trapped-Ion and Neutral-Atom Systems - Quantum Computing Report - April 23rd, 2026 [April 23rd, 2026]
- Why Nvidia Is the Most Important Quantum Computing Stock of All - Yahoo Finance - April 21st, 2026 [April 21st, 2026]
- Senate Commerce Committee Unanimously Passes National Quantum Initiative Reauthorization Act - Quantum Computing Report - April 21st, 2026 [April 21st, 2026]
- Coinbase advisory board says quantum computing threat is on the horizon, crypto needs a plan - CoinDesk - April 21st, 2026 [April 21st, 2026]
- Two paths to scalable quantum computing: Optical links between fridges and higher-temperature qubits - Phys.org - April 21st, 2026 [April 21st, 2026]
- Why Nvidia Is the Most Important Quantum Computing Stock of All - The Motley Fool - April 21st, 2026 [April 21st, 2026]
- Quantum Computing Stock Earnings Breakdown: The Bigger the Loss, the Bigger the Gain? - NAI500 - April 21st, 2026 [April 21st, 2026]
- Kvantify and Equal1 Partner on Quantum Computing Integration - The Quantum Insider - April 21st, 2026 [April 21st, 2026]
- Why Nvidia Is the Most Important Quantum Computing Stock of All - AOL.com - April 21st, 2026 [April 21st, 2026]
- Quantum Computing Stocks: Sorting the Real Science from the Hype - MarketBeat - April 21st, 2026 [April 21st, 2026]
- Despite Its Name, The Defiance Quantum ETF Is NOT A Bona Fide Quantum Computing ETF (QTUM) - Seeking Alpha - April 21st, 2026 [April 21st, 2026]
- Quantum Computing (NASDAQ:QUBT) Coverage Initiated at Northland Securities - MarketBeat - April 21st, 2026 [April 21st, 2026]
- IBM and the University of Illinois Urbana-Champaign Expand Discovery Accelerator Institute to Advance AI and Quantum Computing - IBM Newsroom - April 17th, 2026 [April 17th, 2026]
- IBM, U of I renew and expand Illinois institute focused on AI, quantum computing - CBS News - April 17th, 2026 [April 17th, 2026]
- D-Wave Quantum Vs. Quantum Computing: Early Revenue Premium Masks Long-Term Parity (NYSE:QBTS) - Seeking Alpha - April 17th, 2026 [April 17th, 2026]
- IBM expands quantum computing partnership with University of Illinois - StreetInsider - April 17th, 2026 [April 17th, 2026]
- The Best Quantum Computing Stocks to Buy Today - Yahoo Finance - April 12th, 2026 [April 12th, 2026]
- 3 Quantum Computing Stocks with Potential to Beat the Market 4/10/2026 - TipRanks - April 12th, 2026 [April 12th, 2026]
- Why Quantum Computing Is Becoming a Strategic Lever in Materials Innovation - Wipro - April 12th, 2026 [April 12th, 2026]
- What Are the Best Quantum Computing Stocks to Buy in 2026? - CoinCentral - April 12th, 2026 [April 12th, 2026]
- Adam Back Says Quantum Threat to Bitcoin Is Decades Away, Urges Gradual Migration to Post-Quantum Security - Bitcoin Magazine - April 10th, 2026 [April 10th, 2026]
- Infleqtion and NASA Deploy Upgraded Quantum Hardware to International Space Station - Quantum Computing Report - April 10th, 2026 [April 10th, 2026]
- Long-term undervaluation lifts Quantum Computing stock to a 4.87% daily increase - Traders Union - April 10th, 2026 [April 10th, 2026]
- Up 1,460% Since 2024, Is It Too Late to Buy This Quantum Computing Leader? - Yahoo Finance - April 8th, 2026 [April 8th, 2026]
- Up 1,460% Since 2024, Is It Too Late to Buy This Quantum Computing Leader? - The Motley Fool - April 8th, 2026 [April 8th, 2026]
- Future of Quantum Computing | High-Speed Processing, AI Synergy - openPR.com - April 8th, 2026 [April 8th, 2026]
- Fully Programmable Quantum Computing With Trapped-ions - Quantum Zeitgeist - April 8th, 2026 [April 8th, 2026]
- News Explorer Quantum Computing Poses Potential Threats to Bitcoin, But Current Research Shows Limitations - Decrypt - April 8th, 2026 [April 8th, 2026]
- Quantum Computing Market to Reach US$ 22.75 Billion by 2033 - openPR.com - April 8th, 2026 [April 8th, 2026]
- A Cryptography Engineers Perspective on Quantum Computing Timelines - OODAloop - April 8th, 2026 [April 8th, 2026]
- Why the mind-bending physics of quantum computing is terrifying for bitcoin and crypto - CoinDesk - April 7th, 2026 [April 7th, 2026]
- Q-Factor emerges with $24M in funding and the next big bet to achieve quantum computing advantage - SiliconANGLE - April 7th, 2026 [April 7th, 2026]
- Alex Pruden: Quantum computing threatens elliptic curve cryptography, advancements could lead to utility-scale systems by decade's end, and the urgent... - April 7th, 2026 [April 7th, 2026]
- Lloyds Bank uses quantum computing to detect money mules - The Times - April 7th, 2026 [April 7th, 2026]
- SpinQ Technology Raises Nearly 1 Billion CNY ($145.3M USD) to Scale Industrial Quantum Computing - Quantum Computing Report - April 5th, 2026 [April 5th, 2026]
- Is Rigetti Computing the Best Quantum Computing Stock to Buy Right Now? - fool.com - April 5th, 2026 [April 5th, 2026]
- SpinQ Technology Secures Nearly 1 Billion Chinese Yuan in Series C Funding to Scale Industrial Superconducting Quantum Computing - The Quantum Insider - April 5th, 2026 [April 5th, 2026]
- Q&A: AWS on new AI agents, quantum computing in healthcare - MobiHealthNews - April 5th, 2026 [April 5th, 2026]
- QuiX Quantum Demonstrates Below-Threshold Error Mitigation in Photonic Quantum Computing for First Time - HPCwire - April 5th, 2026 [April 5th, 2026]
- Google says there's a 10% chance quantum computing will crack bitcoin cryptography by 2032 - PC Gamer - April 5th, 2026 [April 5th, 2026]
- Solana begins testing defenses against 'quantum-computing threat' "Stronger security leads to slower performance" - bloomingbit - April 5th, 2026 [April 5th, 2026]
- 'No Need to Panic': Binance Founder Says Crypto Can Survive Quantum Computing Threat by Upgrading - Yahoo Finance - April 5th, 2026 [April 5th, 2026]
- Clocking Quantum Instability: A New Process Could Open Pathways to Reliable Quantum Computing - thedebrief.org - April 5th, 2026 [April 5th, 2026]
- University of Chicago using "self-driving" lab in quantum computing research - CBS News - April 5th, 2026 [April 5th, 2026]
- IBM Advances Quantum Computing Research: Will it Boost Prospects? - sg.finance.yahoo.com - April 5th, 2026 [April 5th, 2026]
- Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly - research.google - April 1st, 2026 [April 1st, 2026]
- New Teaching Approach Could Open The Door to Quantum Computing - The Quantum Insider - April 1st, 2026 [April 1st, 2026]
- EPB Joins Southeastern Quantum Collaborative to Support Regional Infrastructure Integration - Quantum Computing Report - April 1st, 2026 [April 1st, 2026]
- Google warns quantum computing may break bitcoin earlier than thought, prepares 2029 transition - The Block - April 1st, 2026 [April 1st, 2026]
- Alice & Bob secures 3.4 million ARPA-E award to discover rare-earth-free magnets using quantum computing - BeBeez International - April 1st, 2026 [April 1st, 2026]
- 1 Unstoppable Quantum Computing Stock to Buy Before It Soars 200%, According to 1 Wall Street Analyst - finance.yahoo.com - April 1st, 2026 [April 1st, 2026]
- Is Ciscos Quantum Networking Push With Atom Computing Reshaping Its AI Infrastructure Story (CSCO)? - finance.yahoo.com - April 1st, 2026 [April 1st, 2026]
- Changpeng Zhao dismisses 'quantum computing fears' "No need to be scared" - bloomingbit - April 1st, 2026 [April 1st, 2026]
- UMass Amherst and UCSB Demonstrate Photonic Chip Technology for Miniaturized Quantum Systems - Quantum Computing Report - April 1st, 2026 [April 1st, 2026]