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
- A Once-in-a-Decade Investment Opportunity: 3 Quantum Computing Stocks to Buy and Hold - The Motley Fool - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing Is Already Hitting BitcoinHeres How - Yahoo Finance - January 22nd, 2026 [January 22nd, 2026]
- Investors Are Overlooking a Monumental Headwind With Quantum Computing Stocks IonQ and Rigetti Computing - The Motley Fool - January 22nd, 2026 [January 22nd, 2026]
- After Rigetti Announced a Quantum Computing Delay, How Should You Play RGTI Stock in January 2026? - Yahoo Finance - January 22nd, 2026 [January 22nd, 2026]
- New insight into light-matter thermalization could advance neutral-atom quantum computing - Phys.org - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing Stocks: Separating Hype From Reality in 2026 - The Motley Fool - January 22nd, 2026 [January 22nd, 2026]
- Coinbase launches expert board to assess quantum computing threat to crypto - Fortune - January 22nd, 2026 [January 22nd, 2026]
- How can we scale quantum computing in the most energy-efficient way? - The World Economic Forum - January 22nd, 2026 [January 22nd, 2026]
- Does Quantum Computing (QUBT) Have the Scale to Turn Photonics Deals into Durable Revenue? - simplywall.st - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing Is Already Hitting BitcoinHeres How - BeInCrypto - January 22nd, 2026 [January 22nd, 2026]
- 2 Top Quantum Computing Stocks to Buy in January - Yahoo Finance - January 22nd, 2026 [January 22nd, 2026]
- Quantum computing firm dangles $22,500 Bitcoin prize all you have to do is uncover a private key hidden inside a quantum-optimized problem - Tom's... - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing Achieves Database Optimisation with Sub-5 Second Runtime Performance - Quantum Zeitgeist - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing (NASDAQ:QUBT) Trading Down 6.2% - Here's What Happened - MarketBeat - January 22nd, 2026 [January 22nd, 2026]
- Quantum Computing Stocks Surge Over 1000% in Three Years - Intellectia AI - January 22nd, 2026 [January 22nd, 2026]
- Could IonQ Become the Nvidia of Quantum Computing? - The Motley Fool - January 22nd, 2026 [January 22nd, 2026]
- Horizon Quantum Explores Faster Ways to Fault-Tolerant Quantum Computing with Alice & Bob - Business Wire - January 22nd, 2026 [January 22nd, 2026]
- 3 Key Ways D-Wave Is Developing an Advantage in Quantum Computing - MarketBeat - January 22nd, 2026 [January 22nd, 2026]
- 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]