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
- 2 Top Quantum Computing Stocks to Buy in January - The Motley Fool - January 20th, 2026 [January 20th, 2026]
- IonQ Achieves 99.99% Accuracy in Quantum Computing, Aiming to Build Ecosystem - Intellectia AI - January 20th, 2026 [January 20th, 2026]
- Is This $8 Billion Quantum Computing Stock Too Cheap to Ignore Now? - Yahoo Finance - January 20th, 2026 [January 20th, 2026]
- 3 Top Quantum Computing Stocks to Buy in 2026 - The Motley Fool - January 20th, 2026 [January 20th, 2026]
- What Is the Best Quantum Computing Stock to Own for the Next 5 Years? - The Motley Fool - January 20th, 2026 [January 20th, 2026]
- Can Rigetti Become the Backbone of Quantum Computing? - The Motley Fool - January 20th, 2026 [January 20th, 2026]
- Is This $8 Billion Quantum Computing Stock Too Cheap to Ignore Now? - The Motley Fool - January 20th, 2026 [January 20th, 2026]
- Can Rigetti Become the Backbone of Quantum Computing? - Nasdaq - January 20th, 2026 [January 20th, 2026]
- Alphabet and Microsoft Achieve Quantum Computing Breakthroughs with Cash Flows Over $24 Billion - Intellectia AI - January 20th, 2026 [January 20th, 2026]
- Quantum Computing Advances Strongly Correlated Systems with Handover-Iterative VQE and SHCI Convergence - Quantum Zeitgeist - January 20th, 2026 [January 20th, 2026]
- NVIDIAs Strategy Is Shaping The Future Of Quantum Computing - Forbes - January 20th, 2026 [January 20th, 2026]
- After Rigetti Announced a Quantum Computing Delay, How Should You Play RGTI Stock in January 2026? - Barchart.com - January 20th, 2026 [January 20th, 2026]
- Summit on quantum computing tomorrow - Times of India - January 20th, 2026 [January 20th, 2026]
- Jefferies Analyst Dumps Bitcoin Over Quantum Computing Fears, Buys Gold - Bitcoin Magazine - January 18th, 2026 [January 18th, 2026]
- The Smartest Quantum Computing Stock to Buy for 2026 - Yahoo Finance - January 18th, 2026 [January 18th, 2026]
- Smart Investor: Bank Earnings, Index ETFs, and Quantum Computing Stocks - morningstar.com - January 18th, 2026 [January 18th, 2026]
- Why Quantum Computing Stock Plummeted 38% Last Year but Is Soaring in 2026 - The Motley Fool - January 18th, 2026 [January 18th, 2026]
- IonQ Stock Prediction: Here's Where the Quantum Computing Play Will Be in 1 Year - Nasdaq - January 18th, 2026 [January 18th, 2026]
- Opinion: Will Quantum Computing Be a Quantum Leap for Higher Ed? - GovTech - January 18th, 2026 [January 18th, 2026]
- Fear that quantum computing is on the cusp of cracking cryptocurrency's encryption spurs a global investment firm to remove Bitcoin from... - January 18th, 2026 [January 18th, 2026]
- IonQ Stock Prediction: Here's Where the Quantum Computing Play Will Be in 1 Year - The Motley Fool - January 18th, 2026 [January 18th, 2026]
- Alphabet Invests in Quantum Computing with Capex of $93 Billion - Intellectia AI - January 18th, 2026 [January 18th, 2026]
- Neutral-atom arrays, a rapidly emerging quantum computing platform, get a boost from researchers - Phys.org - January 18th, 2026 [January 18th, 2026]
- Quantum Computing Could Be a $72 Billion Opportunity by 2035. Can IonQ Capture It? - The Motley Fool - January 18th, 2026 [January 18th, 2026]
- A Wall Street analyst warns that quantum computing could eventually crack the cryptography of bitcoin - Business Insider - January 18th, 2026 [January 18th, 2026]
- BTQ Technologies Added To $524.5M VanEck Quantum Computing ETF - Quantum Zeitgeist - January 18th, 2026 [January 18th, 2026]
- Quantum Computing Threat Raises Doubts Over Bitcoin Security - Evrim Aac - January 18th, 2026 [January 18th, 2026]
- Jefferies Removes 10% Bitcoin Allocation Citing Quantum Computing Threats - Intellectia AI - January 18th, 2026 [January 18th, 2026]
- Jefferies Wood drops 10% bitcoin allocation over quantum computing fears - OODAloop - January 18th, 2026 [January 18th, 2026]
- Jefferies Strategist Dumps 10% Bitcoin Allocation Over Quantum Computing Fears - Yellow.com - January 18th, 2026 [January 18th, 2026]
- Jefferies Wood drops Bitcoin on threat from quantum computing - MSN - January 18th, 2026 [January 18th, 2026]
- If I Could Own Only 1 Quantum Computing Stock in 2026, This Would Be It - The Motley Fool - January 16th, 2026 [January 16th, 2026]
- Rigetti and Quantum Computing Stocks Are a Buy, Says Analyst. Look Past the Criticism of Both. - Barron's - January 16th, 2026 [January 16th, 2026]
- Jefferies Wood Drops Bitcoin on Threat From Quantum Computing - Bloomberg.com - January 16th, 2026 [January 16th, 2026]
- Jefferies' Wood drops 10% bitcoin allocation over quantum computing fears - The Block - January 16th, 2026 [January 16th, 2026]
- Rigetti, Quantum Computing initiated with bullish views at Rosenblatt - Seeking Alpha - January 16th, 2026 [January 16th, 2026]
- From Chat to Act: How Quantum Computing Power Fuels the Ascent of AI Agents - 36Kr - January 16th, 2026 [January 16th, 2026]
- Meet the Quantum Computing Stock That Billionaires Can't Get Enough Of (Hint: It's Not IonQ, Rigetti Computing, or D-Wave Quantum) - The Motley Fool - January 16th, 2026 [January 16th, 2026]
- 2 No-Brainer Quantum Computing Stocks to Buy Hand Over Fist for 2026 - The Motley Fool - January 16th, 2026 [January 16th, 2026]
- Top Wall Street equity strategist exits Bitcoin over quantum computing threat - Crypto Briefing - January 16th, 2026 [January 16th, 2026]
- Jefferies Abandons Bitcoin and Shifts 10% Back into Gold amid Quantum Computing Fears - TipRanks - January 16th, 2026 [January 16th, 2026]
- Has Bitcoin peaked? Why Jefferies removes 10% allocation; quantum computing, gold & more - MSN - January 16th, 2026 [January 16th, 2026]
- IonQ's Biggest Advantage in Quantum Computing Could Be Its Biggest Weakness - The Motley Fool - January 16th, 2026 [January 16th, 2026]
- With a Growing Quantum Computing Threat, Consider these 5 Stocks Before They Run - The Globe and Mail - January 16th, 2026 [January 16th, 2026]
- Quantum Computing Stocks IonQ, Rigetti Computing, D-Wave Quantum, and Quantum Computing Inc. Have Served Up an $840 Million Warning for Wall Street -... - January 16th, 2026 [January 16th, 2026]
- Jefferies withdraws from bitcoin, shifts to gold amid concerns of quantum computing - Mint - January 16th, 2026 [January 16th, 2026]
- Half of All Bitcoin Could Be Stolen in Hours When Quantum Computing Arrives, Says Jefferies - NDTV Profit - January 16th, 2026 [January 16th, 2026]
- Quantum Computing: Plenty Of Cash, Still Waiting On Traction (NASDAQ:QUBT) - Seeking Alpha - January 16th, 2026 [January 16th, 2026]
- From quantum computing to robotaxi rollouts: Tech trends expected to shape 2026 - Mainebiz - January 16th, 2026 [January 16th, 2026]
- Xanadu and Thorlabs partner to advance optical controls for photonic quantum computing - Stocktwits - January 16th, 2026 [January 16th, 2026]
- Project Eleven Secures $20 Million Series A to Protect Digital Assets from Quantum Threats - Quantum Computing Report - January 16th, 2026 [January 16th, 2026]
- EeroQ Demonstrates Scalable Control Architecture Capable of Controlling One Million Qubits with Less than 50 Control Lines - Quantum Computing Report - January 16th, 2026 [January 16th, 2026]
- If I Could Own Only 1 Quantum Computing Stock in 2026, This Would Be It - AOL.com - January 16th, 2026 [January 16th, 2026]
- Quantum Computing (QUBT) Stock Rises As Analyst Sees 'A Lot Of Ways To Win' - Benzinga - January 16th, 2026 [January 16th, 2026]
- Rigetti and quantum computing stocks are a buy, says analyst. Look past the criticism of both. - MSN - January 16th, 2026 [January 16th, 2026]
- Equal1: $60 Million Closed To Bring Quantum Computing To Standard Semiconductor Fabs - Pulse 2.0 - January 16th, 2026 [January 16th, 2026]
- Meet the Quantum Computing Stock That Billionaires Can't Get Enough Of (Hint: It's Not IonQ, Rigetti Computing, or D-Wave Quantum) - Nasdaq - January 16th, 2026 [January 16th, 2026]
- Quantum Computing Achieves Performance Gains with Thermodynamic Recycling and Information Erasure - Quantum Zeitgeist - January 16th, 2026 [January 16th, 2026]
- Want to Invest in Quantum Computing? These 3 Stocks Are Great Buys Right Now. - The Motley Fool - January 11th, 2026 [January 11th, 2026]
- A $550 Million Reason to Buy This Quantum Computing Stock Now - Barchart.com - January 11th, 2026 [January 11th, 2026]
- D-Wave Just Got a Formidable Quantum Computing Ally. Should You Buy QBTS Stock Here? - Barchart.com - January 11th, 2026 [January 11th, 2026]
- Want to invest in quantum computing? These 3 stocks are great buys right now. - MSN - January 11th, 2026 [January 11th, 2026]
- Assessing Rigetti Computing (RGTI) Valuation As Quantum Hype Builds Around Conferences And Hardware Updates - Yahoo Finance - January 11th, 2026 [January 11th, 2026]
- QuEra Computing Highlights Investor Perspective on Quantum Metrics and Architectures - TipRanks - January 11th, 2026 [January 11th, 2026]
- Beyond the Hype: 5 Reasons Quantum Computing Stocks IonQ, Rigetti Computing, and D-Wave Quantum Can Crash in 2026 - The Motley Fool - January 9th, 2026 [January 9th, 2026]
- Coinbase Exec Warns Quantum Computing Threatens 33% of Bitcoin Supply Heres Why - Yahoo Finance - January 9th, 2026 [January 9th, 2026]
- Senators Introduce Bipartisan National Quantum Initiative Reauthorization Act of 2026 - Quantum Computing Report - January 9th, 2026 [January 9th, 2026]
- 3 Quantum Computing Stocks with Potential to Beat the Market 1/9/2026 - TipRanks - January 9th, 2026 [January 9th, 2026]
- Quantum Computing Market Is Projected To Grow USD 14.19 Billion by 2035, Reaching at a CAGR of 27.04% - openPR.com - January 9th, 2026 [January 9th, 2026]
- CEO reveals two main problems with scaling quantum computing to commercial use - Fox Business - January 9th, 2026 [January 9th, 2026]
- Quantum Computing Stocks Off To Good Start In 2026. But Fasten Your Seat Belts. - Investor's Business Daily - January 8th, 2026 [January 8th, 2026]
- Prediction: These 4 Quantum Computing Stocks Will Skyrocket in 2026 - The Motley Fool - January 8th, 2026 [January 8th, 2026]
- The Best Quantum Computing Stock to Buy Hand Over Fist in 2026 - Yahoo Finance - January 8th, 2026 [January 8th, 2026]
- Quantum Computing Stocks: D-Wave To Acquire Quantum Circuits In $550M Deal - Investor's Business Daily - January 8th, 2026 [January 8th, 2026]
- Error-correction technology to turn quantum computing into real-world power - Phys.org - January 8th, 2026 [January 8th, 2026]
- 3 Top Quantum Computing Stocks to Buy in 2026 - Yahoo Finance - January 8th, 2026 [January 8th, 2026]
- The Best Quantum Computing Stock to Buy Hand Over Fist in 2026 - Nasdaq - January 8th, 2026 [January 8th, 2026]
- Quantum computing momentum grows: D-Wave announces first major breakthrough of 2026 - Fast Company - January 8th, 2026 [January 8th, 2026]
- Quantum Computing News: D-Wave Moves Into Gate-Based Systems as Funding and Global Expansion Pick Up - TipRanks - January 8th, 2026 [January 8th, 2026]
- Quantum Computing: What Investors Need to Know - Morningstar - January 8th, 2026 [January 8th, 2026]