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
- Long-lived ytterbium states could sharpen quantum computing and atomic clocks - Phys.org - July 26th, 2026 [July 26th, 2026]
- A Pitt-led team plans to automate quantum computing research with a Department of Energy grant - University of Pittsburgh - July 26th, 2026 [July 26th, 2026]
- Quantum Computing Stocks Are Falling. Should You Buy IonQ or D-Wave, or Just Stick With Nvidia? - Yahoo Finance - July 26th, 2026 [July 26th, 2026]
- IBM to Acquire HRL Laboratories to Expand Quantum Computing Research - The Quantum Insider - July 26th, 2026 [July 26th, 2026]
- Quantum Computing Stocks Are Falling. Should You Buy IonQ or D-Wave, or Just Stick With Nvidia? - AOL.com - July 26th, 2026 [July 26th, 2026]
- [Webinar] Quantum Law: AI, Quantum Computing, and the Future of Legal Judgment - August 6th, 1:00 pm - 2:00 pm ET - JD Supra - July 26th, 2026 [July 26th, 2026]
- Quantum Computing Stocks IonQ, Rigetti, and D-Wave Are Sending Shockwaves Through Wall Street With This $988 Million Warning - The Motley Fool - July 26th, 2026 [July 26th, 2026]
- Best Quantum Computing Stocks To Keep An Eye On - July 25th - MarketBeat - July 26th, 2026 [July 26th, 2026]
- Got $1,000? This Under-the-Radar Quantum Computing Pioneer Could Be a Brilliant Buy - The Motley Fool - July 26th, 2026 [July 26th, 2026]
- Strategy, BlackRock form Bitcoin Security Consortium to prepare for quantum computing threat - The Block - July 26th, 2026 [July 26th, 2026]
- Quantum Computing Is Down 71% From Its High. Heres What Investors Are Actually Betting On - TIKR.com - July 26th, 2026 [July 26th, 2026]
- Illinois offering $1.8M in tax credits to attract quantum computing companies - MyStateline - July 26th, 2026 [July 26th, 2026]
- Galaxy Commits $5 Million to Prepare Bitcoin for Quantum Computing Threat - The Quantum Insider - July 21st, 2026 [July 21st, 2026]
- 1 Quantum Computing Stock That Could Be the Next Palantir - Yahoo Finance - July 21st, 2026 [July 21st, 2026]
- Singapore Defence Agencies Partner With IBM to Explore Quantum Computing Applications - The Quantum Insider - July 21st, 2026 [July 21st, 2026]
- How Quantum Computing Earns Its Place in the Data Center - EE Times - July 21st, 2026 [July 21st, 2026]
- Cutting through the quantum computing noise - Metal Tech News - July 21st, 2026 [July 21st, 2026]
- How to Secure Model Context Protocol (MCP) Deployments Against Quantum Computing Threats - Security Boulevard - July 21st, 2026 [July 21st, 2026]
- Bloch Quantum Tech Hub Secures $55M in Federal and Matching Grants to Build U.S. Quantum Supply Chain - Quantum Computing Report - July 21st, 2026 [July 21st, 2026]
- Bitpanda Mythbusters: Will quantum computing destroy the blockchain? - Bitpanda - July 21st, 2026 [July 21st, 2026]
- BTQ Technologies and TIDAL PWR Partner to Develop Trusted Quantum Data Center Reference Architectures - Quantum Computing Report - July 21st, 2026 [July 21st, 2026]
- 1 Quantum Computing Stock That Could Be the Next Palantir - The Motley Fool - July 21st, 2026 [July 21st, 2026]
- Israel Innovation Authority Launches NIS 100M ($33M USD) Call to Build National Quantum R&D Infrastructure - Quantum Computing Report - July 21st, 2026 [July 21st, 2026]
- Watch Why Quantum Computing May Depend on the Moon - Bloomberg.com - July 21st, 2026 [July 21st, 2026]
- DIS and DSTA Collaborate with IBM to Explore Quantum Computing for Mission Planning, Logistics Optimisation - mindef.gov.sg - July 21st, 2026 [July 21st, 2026]
- Israel earmarks NIS 100 million for national quantum computing R&D infrastructure - The Times of Israel - July 21st, 2026 [July 21st, 2026]
- Forum Live: Exploring Quantum Inward & Reaching for Space Outward - A Dialogue at the Starting Point of the New Computing Power Civilization -... - July 20th, 2026 [July 20th, 2026]
- Topological Materials Market Growth Forecast to 2035: Quantum Computing and Spintronics Drive Expansion - News and Statistics - IndexBox - July 20th, 2026 [July 20th, 2026]
- UConn, Yale-led collaboration wins federal grant for quantum computing. Its worth tens of millions. - Hartford Courant - July 20th, 2026 [July 20th, 2026]
- High Q Technologies Partners with Creative Biostructure to Scale Quantum-Enabled EPR Protein Mapping - Quantum Computing Report - July 20th, 2026 [July 20th, 2026]
- Quantum Computing (QUBT) Following NHanced Deal And ESOP Filing, Is The Bull Case Too Cheap? - simplywall.st - July 20th, 2026 [July 20th, 2026]
- Quantum computing stocks outlook: IonQ, Rigetti, and D-Wave after a brutal selloff - Investing.com - July 18th, 2026 [July 18th, 2026]
- Intels Former CEO Gelsinger Admits Firm Scoffed at NVIDIAs GPUs While Riding High on CPU Dominance & Makes Big Quantum Computing Claims - Wccftech - July 18th, 2026 [July 18th, 2026]
- When will quantum computing have its breakout moment? - Latitude Media - July 18th, 2026 [July 18th, 2026]
- Classiq and ParityQC Partner to Streamline Hardware-Aware Circuit Optimization - Quantum Computing Report - July 18th, 2026 [July 18th, 2026]
- AT&T Business and Palo Alto Networks Partner to Deliver Quantum-Resilient SASE Fabric - Quantum Computing Report - July 18th, 2026 [July 18th, 2026]
- Logical Qubit Technology Unveils AGate Quantum Cloud Platform and Multi-Year Roadmap - Quantum Computing Report - July 18th, 2026 [July 18th, 2026]
- IonQ Stock And 2 Quantum Computing Picks For Investors to Watch - simplywall.st - July 18th, 2026 [July 18th, 2026]
- Jane Goodall Institute USA and FormationQ Launch Quantum Computing Research Program to Explore Ecological Roots of War And Peace - The Quantum Insider - July 18th, 2026 [July 18th, 2026]
- IBM stock jumps on quantum computing breakthrough with U.S. scientists - Yahoo Finance - July 7th, 2026 [July 7th, 2026]
- D-Wave Quantum (QBTS) to Receive $1.5M Grant Through NSF Project to Strengthen US Quantum Computing Leadership - Yahoo! Finance Canada - July 7th, 2026 [July 7th, 2026]
- 3 Quantum Computing Stocks to Buy in July - 24/7 Wall St. - July 7th, 2026 [July 7th, 2026]
- What is quantum computing, and why does Trump care? - Mashable - July 7th, 2026 [July 7th, 2026]
- 3 Quantum Computing Stocks to Watch in the Second Half of 2026 - The Motley Fool - July 7th, 2026 [July 7th, 2026]
- 3 Quantum Computing Stocks to Watch in the Second Half of 2026 - Yahoo Finance - July 7th, 2026 [July 7th, 2026]
- Alfred University and Classiq Launch Quantum Computing Initiative - The Quantum Insider - July 7th, 2026 [July 7th, 2026]
- Pasqal and MegazoneCloud Partner to Bring Quantum Computing to South Korea - The Quantum Insider - July 7th, 2026 [July 7th, 2026]
- 3 Quantum Computing Stocks to Buy in July - Yahoo Finance - July 7th, 2026 [July 7th, 2026]
- Quantum computing is about to get a lot more real - Fast Company - July 7th, 2026 [July 7th, 2026]
- University of Sydney and IBM Identify Major Source of Quantum Computing Errors - The Quantum Insider - July 7th, 2026 [July 7th, 2026]
- How to Start a Career in Quantum Computing in 2026 - The Quantum Insider - July 7th, 2026 [July 7th, 2026]
- IOSG: Countdown to Q-DayWill Quantum Computing Spell the End for Cryptocurrencies? - - July 7th, 2026 [July 7th, 2026]
- This Quantum Computing Stock Recently Went Public, and It Could Be the Buy of the Year - The Motley Fool - July 7th, 2026 [July 7th, 2026]
- IQM achieves milestone in quantum error correction, enabling fault-tolerant computing in the near-term - Business Wire - June 26th, 2026 [June 26th, 2026]
- IonQ vs. Quantinuum: Which Quantum Computing Accuracy-Leading Stock Looks Like the Better Buy? - The Motley Fool - June 26th, 2026 [June 26th, 2026]
- AI and quantum computing: How the powerful partnership shaping the future - WION - June 26th, 2026 [June 26th, 2026]
- IonQ vs. Quantinuum: Which Quantum Computing Accuracy-Leading Stock Looks Like the Better Buy? - Yahoo Finance - June 26th, 2026 [June 26th, 2026]
- Quantum Computing Threat Elevates Cryptography to Board-Level Risk Oversight - WSJ - June 26th, 2026 [June 26th, 2026]
- Microsoft Stock After the Quantum Computing Controversy: What Investors Should Know - WEEX - June 26th, 2026 [June 26th, 2026]
- Quantum Computing (QUBT) Completes NHanced Deal To Expand Manufacturing For Quantum Tech - Yahoo Finance - June 24th, 2026 [June 24th, 2026]
- 3 Quantum Computing Stocks With More Upside Than SpaceX - The Motley Fool - June 24th, 2026 [June 24th, 2026]
- Quantum Computing (QUBT) Buys NHanced Semiconductors And Opens Fab 2 For Hardware Push - simplywall.st - June 24th, 2026 [June 24th, 2026]
- The Path to Utility-Scale Quantum Computing in HPC Starts with the Silicon Transistor - HPCwire - June 22nd, 2026 [June 22nd, 2026]
- IBM Nighthawk Processor Validated in Quantum Chromodynamics and Cybersecurity Benchmarks - Quantum Computing Report - June 22nd, 2026 [June 22nd, 2026]
- Digital twins, quantum computing and 40 years of HPC: What to watch at ISC High Performance 2026 - Scientific Computing World - June 22nd, 2026 [June 22nd, 2026]
- Rigetti Computing Stock (RGTI) Opinions on Quantum Computing Sector Growth - Quiver Quantitative - June 22nd, 2026 [June 22nd, 2026]
- Amazon (NASDAQ: AMZN) Sets Five-To-Seven Year Window For Commercially Viable Quantum Computing - foreignpolicyjournal.com - June 22nd, 2026 [June 22nd, 2026]
- Cleveland Clinic and IBM Forum Highlights Advancements in AI and Quantum Computing for Healthcare Research - Cleveland Clinic Newsroom - June 16th, 2026 [June 16th, 2026]
- Atom Computing and Phasecraft Partner on Material Science Algorithms - Quantum Computing Report - June 16th, 2026 [June 16th, 2026]
- HPE Advances Quantum Computing at Scale with Expanded Industry Collaborations - The Quantum Insider - June 16th, 2026 [June 16th, 2026]
- Why optical quantum computing could level up humanity to solving its greatest challenges - The World Economic Forum - June 16th, 2026 [June 16th, 2026]
- He Called Quantum Computing Before 1,800% Gains Here Are His Next Big Trades - InvestorPlace - June 16th, 2026 [June 16th, 2026]
- Atom Computing and Phasecraft Announce Strategic Collaboration to Accelerate Development of Next-Generation Materials - The Quantum Insider - June 16th, 2026 [June 16th, 2026]
- UK and Japan Ratify Frontier Technology Partnership to Align Quantum Computing Initiatives - Quantum Computing Report - June 16th, 2026 [June 16th, 2026]
- QuEra Outlines 2028 Roadmap for 256-Logical-Qubit Libra System and Expanded AWS Cloud Partnership - Quantum Computing Report - June 16th, 2026 [June 16th, 2026]
- Why is Quantum Computing stock surging today? - Investing.com - June 16th, 2026 [June 16th, 2026]
- HPE expands quantum computing partnerships with eight firms - Investing.com - June 16th, 2026 [June 16th, 2026]
- IQM CEO on the potential of quantum computing - CNBC - June 16th, 2026 [June 16th, 2026]
- Watch Why the US Is Investing in Quantum Computing - Bloomberg.com - June 16th, 2026 [June 16th, 2026]
- Quantum Computing: A Speculative Buy In An Emerging Technological Frontier (NASDAQ:QUBT) - Seeking Alpha - June 16th, 2026 [June 16th, 2026]