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
- Prediction: This Stock Will Be the Biggest Quantum Computing Winner of 2025 - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Schrdinger's Cat breakthrough could usher in the 'Holy Grail' of quantum computing, making them error-proof - Livescience.com - January 19th, 2025 [January 19th, 2025]
- Here's Some Reassuring News for Anyone Invested in Quantum Computing Stocks - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- What is the future of quantum computing going to look like? - opinion - The Jerusalem Post - January 19th, 2025 [January 19th, 2025]
- What Is Quantum Computing? And Should You Be Investing In It? - Investor's Business Daily - January 19th, 2025 [January 19th, 2025]
- 2 Quantum Computing Stocks That Could Be a Once-in-a-Lifetime Opportunity - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Quantum Computing vs. Traditional AI: Which Tech Stocks Are Must-Haves in 2025? - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Should You Buy Quantum Computing Stock While It's Below $15? - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Why Quantum Computing Stock IonQ Surged Higher This Week - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Why Rigetti Computing, IonQ, D-Wave Quantum, and Quantum Computing Stocks All Exploded Higher on Wednesday - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Miami University and Cleveland Clinic announce partnership to advance education in quantum computing - The Miami Student - January 19th, 2025 [January 19th, 2025]
- Interested in Quantum Computing? You Might Want to Hear What Nvidia's CEO Just Said About It - The Motley Fool - January 19th, 2025 [January 19th, 2025]
- Quantum-computing stocks could be rich takeover targets. Heres what to know. - MarketWatch - January 19th, 2025 [January 19th, 2025]
- D-Wave and Quantum Computing Stocks Are on the Rise. What You Should Know. - Barron's - January 19th, 2025 [January 19th, 2025]
- Jim Cramer Eyes Quantum Computing Stocks Like Rigetti, Warns Against Super Micro Computer: 'They Are Trying So Hard To Walk It Up Now' - Yahoo Finance - January 19th, 2025 [January 19th, 2025]
- Here's Some Reassuring News for Anyone Invested in Quantum Computing Stocks - MSN - January 19th, 2025 [January 19th, 2025]
- Quantum Computing vs. Traditional AI: Which Tech Stocks Are Must-Haves in 2025? - MSN - January 19th, 2025 [January 19th, 2025]
- The Blockchain Industry Cant Afford Complacency in Preparing for Quantum Computing - Blockhead - January 19th, 2025 [January 19th, 2025]
- Rigetti and D-Wave: Top Analyst Chooses the Best Quantum Computing Stocks to Buy - TipRanks - January 19th, 2025 [January 19th, 2025]
- Quantum Computing: The Next Big Thing? Investors Are Watching Closely! - Jomfruland.net - January 19th, 2025 [January 19th, 2025]
- Quantum Computing in Healthcare Overview and Leading Players: - openPR - January 19th, 2025 [January 19th, 2025]
- Interested in quantum computing investments? Hear what Nvidia's CEO just said about it - USA TODAY - January 19th, 2025 [January 19th, 2025]
- Quantum Computing: The Next Big Thing or Just Hype? - Jomfruland.net - January 19th, 2025 [January 19th, 2025]
- Miami University and Cleveland Clinic Announce Partnership to Advance Education in Quantum Computing - Cleveland Clinic Newsroom - January 15th, 2025 [January 15th, 2025]
- Quantum computing stocks rebound after massive sell-off as industry exec says opportunity is 'real' - Yahoo Finance - January 15th, 2025 [January 15th, 2025]
- D-Wave Partners with Carahsoft to Provide Quantum Computing Solutions for the Public Sector - The Quantum Insider - January 15th, 2025 [January 15th, 2025]
- Miami University And Cleveland Clinic Announce Partnership to Launch Specialized Quantum Computing Degree Program - The Quantum Insider - January 15th, 2025 [January 15th, 2025]
- Quantum computing stocks soar after Nvidia and Meta CEOs tanked them - Yahoo Finance - January 15th, 2025 [January 15th, 2025]
- Are Quantum Computing Stocks a Buy in January? - The Motley Fool - January 15th, 2025 [January 15th, 2025]
- Jim Cramer Eyes Quantum Computing Stocks Like Rigetti, Warns Against Super Micro Computer: 'They Are Trying So Hard To Walk It Up Now' - Benzinga - January 15th, 2025 [January 15th, 2025]
- Quantum Computing Stocks Roar Back to Life. Time to Buy? - 24/7 Wall St. - January 15th, 2025 [January 15th, 2025]
- What's Going On With Quantum Computing Stock Today? - Benzinga - January 15th, 2025 [January 15th, 2025]
- D-Wave Partners with Carahsoft to Bring Quantum Computing to U.S. Government Agencies - StockTitan - January 15th, 2025 [January 15th, 2025]
- Quantum computing applications are 'real today': D-Wave CEO - Yahoo Finance - January 15th, 2025 [January 15th, 2025]
- Nvidia's Jensen Huang and Meta's Mark Zuckerberg Pour Cold Water on Quantum Computing Hype. Here's 1 Stock to Buy Anyway. - The Motley Fool - January 15th, 2025 [January 15th, 2025]
- Mark Zuckerberg joined Nvidia's CEO in doubting quantum computing and the stocks plunge again - Quartz - January 15th, 2025 [January 15th, 2025]
- Why Shares of Quantum Computing Stocks D-Wave Quantum, Quantum Computing, and Rigetti Computing Were Plunging Again Today - The Motley Fool - January 15th, 2025 [January 15th, 2025]
- Expert: The Nvidia-Driven Selloff in Quantum Computing Stocks Is a Reason to Double Down on These 4 Names - Barchart - January 15th, 2025 [January 15th, 2025]
- Quantum Computing Stocks Collapse: Here's Why - The Motley Fool - January 15th, 2025 [January 15th, 2025]
- NVIDIA Announces First-Ever Quantum Day At GTC 2025, Days After Jensen Huang Said Quantum Computing Is 20 Years Away - Benzinga - January 15th, 2025 [January 15th, 2025]
- SAP CEO Sees Huge Quantum Computing Impact In 3 To 4 Years - Investor's Business Daily - January 15th, 2025 [January 15th, 2025]
- MIT sets world record with 99.998% fidelity in quantum computing breakthrough - Interesting Engineering - January 15th, 2025 [January 15th, 2025]
- Quantum Computing Stocks Jump On D-Wave, Carahsoft Partnership - Yahoo! Voices - January 15th, 2025 [January 15th, 2025]
- IonQ and Rigetti: Top Analyst Chooses the Best Quantum Computing Stocks to Buy - TipRanks - January 15th, 2025 [January 15th, 2025]
- Scientists Create Split-Electrons, Unlocking the Future of Quantum Computing - SciTechDaily - January 15th, 2025 [January 15th, 2025]
- Quantum Computing Can Be Brought to the Masses, if It Is Decentralized - CCN.com - January 9th, 2025 [January 9th, 2025]
- Why Quantum Computing Specialist IonQ (IONQ) May Have Reached The End Of The Road - Barchart - January 9th, 2025 [January 9th, 2025]
- Nvidia CEO Jensen Huang just tanked quantum-computing stocks after saying their most exciting developments are more than a decade away - Fortune - January 9th, 2025 [January 9th, 2025]
- Quantum Computing Stocks Sink as Nvidia CEO Says Tech Is 15 to 30 Years Away - Investopedia - January 9th, 2025 [January 9th, 2025]
- Why Quantum Computing Stocks Rigetti Computing, Quantum Computing, and D-Wave Computing All Plunged Today - The Motley Fool - January 9th, 2025 [January 9th, 2025]
- Quantum Computing Stocks Crashed -- Here's Why - The Motley Fool - January 9th, 2025 [January 9th, 2025]
- Nvidia CEO Jen-Hsun Huang's simple reminder that useful quantum computing is a long way off has somehow caused industry stocks to plummet - PC Gamer - January 9th, 2025 [January 9th, 2025]
- How Quantum Computing Could Advance One Health - Impakter - January 9th, 2025 [January 9th, 2025]
- Quantum computing stocks are having a rough start to 2025: IonQ, D-Wave, Rigetti tank after Nvidia CEO predicts 20-year horizon - Fast Company - January 9th, 2025 [January 9th, 2025]
- Quantum Computing, Inc. Announces Private Placement of Common Stock for Proceeds of $100 Million - Yahoo Finance - January 9th, 2025 [January 9th, 2025]
- 2025 will see huge advances in quantum computing. So what is a quantum chip and how does it work? - The Conversation - January 9th, 2025 [January 9th, 2025]
- Nvidia CEO Jensen Huang just tanked quantum-computing stocks after saying their most exciting developments are more than a decade away - AOL - January 9th, 2025 [January 9th, 2025]
- Collaboration to explore the use of graphene technology in quantum computing - The Manufacturer - January 9th, 2025 [January 9th, 2025]
- Quantum computing stocks tumble after Nvidia boss Jensen Huang says the tech is still 20 years away - Markets Insider - January 9th, 2025 [January 9th, 2025]
- Want to Buy a Quantum Computing Stock in 2025? You Might Consider This Quantum Computing ETF. - The Motley Fool - January 9th, 2025 [January 9th, 2025]
- Ride the Quantum Computing Wave with These 2 Stocks: RGTI, QBTS - Yahoo Finance - January 9th, 2025 [January 9th, 2025]
- Shaping the Future of Quantum Computing in the United Arab Emirates (UAE) - Quantum Computing Report - January 9th, 2025 [January 9th, 2025]
- How Nvidia CEO Jensen Huang's one sentence wiped out $8 billion in market cap of quantum computing compan - The Times of India - January 9th, 2025 [January 9th, 2025]
- Will This Quantum Computing Stock Be a Must-Own in 2025? - The Motley Fool - January 9th, 2025 [January 9th, 2025]
- Quantum-computing stocks tumble on Nvidia CEOs comment that theyre decades away from being very useful - Sherwood News - January 9th, 2025 [January 9th, 2025]
- Analyzing Quantum Computing Has Been The Most Challenging Project In My Career (NASDAQ:QUBT) - Seeking Alpha - January 3rd, 2025 [January 3rd, 2025]
- Norma and Mabel Quantum Partner to Launch Integrated Quantum Computing System in Korea - Quantum Computing Report - January 3rd, 2025 [January 3rd, 2025]
- How Microsoft and Partners are Shaping the Future of Quantum Computing - The Quantum Insider - January 3rd, 2025 [January 3rd, 2025]
- One Quantum Computing ETF to Buy Hand Over Fist as Googles Willow Supercharges the Market - Barchart - January 3rd, 2025 [January 3rd, 2025]
- MicroCloud Hologram Inc. Develops Semiconductor Quantum Dot Hole Spin Qubit Technology, Advancing the Frontiers of Quantum Computing - Yahoo Finance - January 3rd, 2025 [January 3rd, 2025]
- Quantum Applications in the Automotive Industry - Quantum Computing Report - January 3rd, 2025 [January 3rd, 2025]
- Jim Cramer Warns 'Day Is Not Near Enough To Justify The Current Valuations' Of Quantum Computing, Nuclear Power Stocks - Benzinga - January 3rd, 2025 [January 3rd, 2025]
- MicroCloud Hologram's Stock Surges 31% on Quantum Computing Breakthrough: What This Means for the Future of Tech - The Africa Logistics - January 3rd, 2025 [January 3rd, 2025]
- Quantum Computing Stocks Like Rigetti Computing Are Soaring And This ETF Lets Investors Participate In The Boom Story - Benzinga - January 3rd, 2025 [January 3rd, 2025]
- Future Industry Growth Of Commercial Quantum Computing - openPR - January 3rd, 2025 [January 3rd, 2025]
- GCAN to Explore Strategic Alternatives in Artificial Intelligence and Quantum Computing - GlobeNewswire - January 3rd, 2025 [January 3rd, 2025]
- Jim Cramer talks being cautious with nuclear power and quantum computing stocks - MSN - January 3rd, 2025 [January 3rd, 2025]
- Quantum Computing Is Finally Here. But What Is It? - Bloomberg - December 27th, 2024 [December 27th, 2024]
- Should You Buy Quantum Computing Stocks in 2025? - The Motley Fool - December 27th, 2024 [December 27th, 2024]
- Rigetti Stock Doubles in Days: Here's the Quantum Computing Stock's Next Target - Money Morning - December 27th, 2024 [December 27th, 2024]