SlideShare una empresa de Scribd logo
1 de 10
What is an algorithm?
Definition "an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values as output.“ Introduction to Algorithms  (Second Edition) by Thomas H. Cormen, Charles E. Leiserson,  Ronald L. Rivest, Clifford Stein
Road Maps algorithms are like  road maps  for accomplishing  a given,  well-defined task. 
Instruction list Generally, an  algorithm  is a systematic list of instructions for accomplishing some task, and the task can be anything that has a recognizable end-point (or result).  Often some of the specific steps in the procedure are to be repeated until the task is done.  Normally, there are different algorithms for the same task, some better than others.
Computer program a computer program is essentially an algorithm that tells the computer:  what specific steps to perform,  in what specific order,  to carry out a specific task
Computational For any such computational process, the algorithm must be completely laid down:  the way it applies in all possible circumstances that could arise must be specified.  That is, any conditional steps must be systematically dealt with,  case-by-case;  the criteria for each case must be clear (and computable)
Precise order Because an algorithm is a precise list of precise steps, the order of operations will almost always be important.  Instructions are usually assumed to be listed explicitly, and are described as starting 'from the top' and going 'down to the bottom', an idea that can be discussed more formally in terms of  flow of control .
Defined procedure Once a formal description has been obtained, an  algorithm  is a well-defined method or procedure:  for solving a problem,  such as a problem in mathematics;  or otherwise relating to the manipulation of information.
Implementation Algorithms are implemented  as computer programs,  as electric circuits,  mechanically, or by humans.
[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Aad introduction
Aad introductionAad introduction
Aad introduction
Mr SMAK
 
8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving
Khan Yousafzai
 

La actualidad más candente (20)

Daa presentation 97
Daa presentation 97Daa presentation 97
Daa presentation 97
 
Design & Analysis of Algorithms Lecture Notes
Design & Analysis of Algorithms Lecture NotesDesign & Analysis of Algorithms Lecture Notes
Design & Analysis of Algorithms Lecture Notes
 
Lecture 2 role of algorithms in computing
Lecture 2   role of algorithms in computingLecture 2   role of algorithms in computing
Lecture 2 role of algorithms in computing
 
Lecture 1 objective and course plan
Lecture 1   objective and course planLecture 1   objective and course plan
Lecture 1 objective and course plan
 
Fundamentals of algorithms
Fundamentals of algorithmsFundamentals of algorithms
Fundamentals of algorithms
 
Empirical analysis
Empirical analysisEmpirical analysis
Empirical analysis
 
Notion of an algorithm
Notion of an algorithmNotion of an algorithm
Notion of an algorithm
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
 
Algorithmic problem solving
Algorithmic problem solvingAlgorithmic problem solving
Algorithmic problem solving
 
Algorithm defination, design & Implementation
Algorithm defination, design & ImplementationAlgorithm defination, design & Implementation
Algorithm defination, design & Implementation
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
 
Aad introduction
Aad introductionAad introduction
Aad introduction
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithms
 
8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving8.1 alogorithm & prolem solving
8.1 alogorithm & prolem solving
 
#1 designandanalysis of algo
#1 designandanalysis of algo#1 designandanalysis of algo
#1 designandanalysis of algo
 
Algorithms. Basic course
Algorithms. Basic courseAlgorithms. Basic course
Algorithms. Basic course
 
ADA complete notes
ADA complete notesADA complete notes
ADA complete notes
 
Unit 1 dsa
Unit 1 dsaUnit 1 dsa
Unit 1 dsa
 
Problem solving
Problem solvingProblem solving
Problem solving
 

Destacado

Dec 17: Global Product Management Talk on Competitive Intelligence
Dec 17: Global Product Management Talk on Competitive IntelligenceDec 17: Global Product Management Talk on Competitive Intelligence
Dec 17: Global Product Management Talk on Competitive Intelligence
Startup Product Academy, LLC
 

Destacado (11)

8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...
8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...
8/13/12 Global Product Management Talk Live From Agile 2012 With Nicholas Mul...
 
5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel
5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel
5/21/12 Product Requirements Management Tools w/ Leon Malalel @LeonMalalel
 
Dec 17: Global Product Management Talk on Competitive Intelligence
Dec 17: Global Product Management Talk on Competitive IntelligenceDec 17: Global Product Management Talk on Competitive Intelligence
Dec 17: Global Product Management Talk on Competitive Intelligence
 
Value Of Sponsoring The Product Summit
Value Of Sponsoring The Product SummitValue Of Sponsoring The Product Summit
Value Of Sponsoring The Product Summit
 
AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...
AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...
AIPMM Webinar: Managing the Unmanageable: Rules, Tools, and Insights for Mana...
 
Product-Summit-brochure_2
Product-Summit-brochure_2Product-Summit-brochure_2
Product-Summit-brochure_2
 
Lean content marketing
Lean content marketingLean content marketing
Lean content marketing
 
mTasR
mTasRmTasR
mTasR
 
What is the Semantic Web?
What is the Semantic Web?What is the Semantic Web?
What is the Semantic Web?
 
Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...
Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...
Why Exceptional Product Managers Have Many Mentors w/ Hector Del Castillo, CP...
 
What is usability testing?
What is usability testing?What is usability testing?
What is usability testing?
 

Similar a What is an algorithm?

Similar a What is an algorithm? (20)

Lecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its PropertiesLecture Note-1: Algorithm and Its Properties
Lecture Note-1: Algorithm and Its Properties
 
Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis Introduction to Algorithms Complexity Analysis
Introduction to Algorithms Complexity Analysis
 
Algorithm Analysis.pdf
Algorithm Analysis.pdfAlgorithm Analysis.pdf
Algorithm Analysis.pdf
 
Introduction to algorithms
Introduction to algorithmsIntroduction to algorithms
Introduction to algorithms
 
chapter 1
chapter 1chapter 1
chapter 1
 
Daa chapter 1
Daa chapter 1Daa chapter 1
Daa chapter 1
 
Unit 2 algorithm
Unit   2 algorithmUnit   2 algorithm
Unit 2 algorithm
 
11 Unit 1 Problem Solving Techniques
11  Unit 1 Problem Solving Techniques11  Unit 1 Problem Solving Techniques
11 Unit 1 Problem Solving Techniques
 
Introduction To Algorithms
Introduction To AlgorithmsIntroduction To Algorithms
Introduction To Algorithms
 
Lect 3-4 Zaheer Abbas
Lect 3-4 Zaheer AbbasLect 3-4 Zaheer Abbas
Lect 3-4 Zaheer Abbas
 
DAA 1 ppt.pptx
DAA 1 ppt.pptxDAA 1 ppt.pptx
DAA 1 ppt.pptx
 
DAA ppt.pptx
DAA ppt.pptxDAA ppt.pptx
DAA ppt.pptx
 
Chapter 6 algorithms and flow charts
Chapter 6  algorithms and flow chartsChapter 6  algorithms and flow charts
Chapter 6 algorithms and flow charts
 
2. Introduction to Algorithm.pptx
2. Introduction to Algorithm.pptx2. Introduction to Algorithm.pptx
2. Introduction to Algorithm.pptx
 
Algorithm.pptx
Algorithm.pptxAlgorithm.pptx
Algorithm.pptx
 
Algorithm.pptx
Algorithm.pptxAlgorithm.pptx
Algorithm.pptx
 
Introduction to Data Structure and algorithm.pptx
Introduction to Data Structure and algorithm.pptxIntroduction to Data Structure and algorithm.pptx
Introduction to Data Structure and algorithm.pptx
 
Theory of algorithms final
Theory of algorithms final Theory of algorithms final
Theory of algorithms final
 
Introduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- PythonIntroduction to Problem Solving Techniques- Python
Introduction to Problem Solving Techniques- Python
 
Data Structures and Algorithm Analysis
Data Structures  and  Algorithm AnalysisData Structures  and  Algorithm Analysis
Data Structures and Algorithm Analysis
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

What is an algorithm?

  • 1. What is an algorithm?
  • 2. Definition "an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values as output.“ Introduction to Algorithms (Second Edition) by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein
  • 3. Road Maps algorithms are like road maps for accomplishing a given, well-defined task. 
  • 4. Instruction list Generally, an  algorithm  is a systematic list of instructions for accomplishing some task, and the task can be anything that has a recognizable end-point (or result). Often some of the specific steps in the procedure are to be repeated until the task is done. Normally, there are different algorithms for the same task, some better than others.
  • 5. Computer program a computer program is essentially an algorithm that tells the computer: what specific steps to perform, in what specific order, to carry out a specific task
  • 6. Computational For any such computational process, the algorithm must be completely laid down: the way it applies in all possible circumstances that could arise must be specified. That is, any conditional steps must be systematically dealt with, case-by-case; the criteria for each case must be clear (and computable)
  • 7. Precise order Because an algorithm is a precise list of precise steps, the order of operations will almost always be important. Instructions are usually assumed to be listed explicitly, and are described as starting 'from the top' and going 'down to the bottom', an idea that can be discussed more formally in terms of  flow of control .
  • 8. Defined procedure Once a formal description has been obtained, an  algorithm  is a well-defined method or procedure: for solving a problem, such as a problem in mathematics; or otherwise relating to the manipulation of information.
  • 9. Implementation Algorithms are implemented as computer programs, as electric circuits,  mechanically, or by humans.
  • 10.