SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
Data Structures and Algorithms




    Problem Solving


Six steps in problem solving

           @ Identify the problem

           @ Understand the problem

           @ Identify alternative ways to solve the
                 problem
           @ Select the best way to solve the problem
                 from the list of alternative solutions
           @ List instructions that enable you to solve
                 the problem using the selected solution
           @ Evaluate the solution




Introduction to Problem-Solving and Programming                      Page 1 of 4
Data Structures and Algorithms




                       Types of
                       Problem

@      Problems that can be solve with a series of actions.
@      Problems that can be solve with knowledge and
       experience, and a process of trial and error.


Algorithmic Solutions
       a solutions that can be reached in a series
             of steps

Heuristic Solutions
       a solutions that cannot be reached
             through a direct set of steps, usually
             on a trial and error basis




Introduction to Problem-Solving and Programming                      Page 2 of 4
Data Structures and Algorithms




     Problem Solving
     with Computers

Solution
    @ the instructions listed during step 5 of problem
         solving - the instructions that must be followed
         to produce the best results

Results
    @ the outcome of the completed computer-assisted
         answer

Program
    @ the set of instructions that make up the solution
         after they have beed coded into a particular
         computer language

Artificial intelligence
    @ enables a computer to do things like build its own
         knowledge bank and speak in human language


Introduction to Problem-Solving and Programming                      Page 3 of 4
Data Structures and Algorithms




    Difficulties with
    Problem Solving

 a when choosing the best alternative, you might
       eliminate good alternatives or list the pros and
       cons too hastily

 a may not use a logical sequence of steps in your
       solution

 a takes practice and time to perfect

 a one of the most difficult tasks for the problem
       solver is writing the instructions

 a assume the computer knows nothing except what
       you tell it, and think of it as an ignorant but
       efficient aid to problem solving.




Introduction to Problem-Solving and Programming                      Page 4 of 4

Weitere ähnliche Inhalte

Was ist angesagt?

Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
Raja Hamid
 
Our presentation on algorithm design
Our presentation on algorithm designOur presentation on algorithm design
Our presentation on algorithm design
Nahid Hasan
 
Software development slides
Software development slidesSoftware development slides
Software development slides
iarthur
 

Was ist angesagt? (20)

Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 
Software design
Software designSoftware design
Software design
 
mano.ppt
mano.pptmano.ppt
mano.ppt
 
Our presentation on algorithm design
Our presentation on algorithm designOur presentation on algorithm design
Our presentation on algorithm design
 
Requirements analysis and modeling
Requirements analysis and modelingRequirements analysis and modeling
Requirements analysis and modeling
 
Basics of C programming
Basics of C programmingBasics of C programming
Basics of C programming
 
Program design and problem solving techniques
Program design and problem solving techniquesProgram design and problem solving techniques
Program design and problem solving techniques
 
LISP: Introduction to lisp
LISP: Introduction to lispLISP: Introduction to lisp
LISP: Introduction to lisp
 
Compilers
CompilersCompilers
Compilers
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Daa unit 1
Daa unit 1Daa unit 1
Daa unit 1
 
C programming for problem solving
C programming for problem solving  C programming for problem solving
C programming for problem solving
 
Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language
 
Software development slides
Software development slidesSoftware development slides
Software development slides
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Problem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to CProblem Solving Techniques and Introduction to C
Problem Solving Techniques and Introduction to C
 
Algorithmic problem solving
Algorithmic problem solvingAlgorithmic problem solving
Algorithmic problem solving
 
Chapter 01 software engineering pressman
Chapter 01  software engineering pressmanChapter 01  software engineering pressman
Chapter 01 software engineering pressman
 

Andere mochten auch

Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
Ashesh R
 
Stages of problem solving presentation
Stages of problem solving presentationStages of problem solving presentation
Stages of problem solving presentation
bbaugh
 
11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties
VKool Magazine - VKool.com
 
The statement of the problem
The statement of the problemThe statement of the problem
The statement of the problem
edac4co
 
Problem solving method
Problem solving methodProblem solving method
Problem solving method
BSEPhySci14
 
Problem solving ppt
Problem solving pptProblem solving ppt
Problem solving ppt
Ika Rose
 

Andere mochten auch (19)

2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
Stages of problem solving presentation
Stages of problem solving presentationStages of problem solving presentation
Stages of problem solving presentation
 
Problem Solving
Problem SolvingProblem Solving
Problem Solving
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Introduction to problem solving in c++
Introduction to problem solving in c++Introduction to problem solving in c++
Introduction to problem solving in c++
 
11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties11 Tips On Problem Solving Skills – Overcome Difficulties
11 Tips On Problem Solving Skills – Overcome Difficulties
 
Problem solving& Decision Making
Problem solving& Decision MakingProblem solving& Decision Making
Problem solving& Decision Making
 
The statement of the problem
The statement of the problemThe statement of the problem
The statement of the problem
 
Problem solving method
Problem solving methodProblem solving method
Problem solving method
 
Problem Solving Method
Problem Solving MethodProblem Solving Method
Problem Solving Method
 
Problem solving & decision making at the workplace
Problem solving & decision making at the workplaceProblem solving & decision making at the workplace
Problem solving & decision making at the workplace
 
Problem solving ppt
Problem solving pptProblem solving ppt
Problem solving ppt
 
Problem Solving and Decision Making
Problem Solving and Decision MakingProblem Solving and Decision Making
Problem Solving and Decision Making
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Problem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern SampleProblem Solving PowerPoint PPT Content Modern Sample
Problem Solving PowerPoint PPT Content Modern Sample
 
PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT PROBLEM SOLVING POWERPOINT
PROBLEM SOLVING POWERPOINT
 
How to write a statement problem
How to write a statement problemHow to write a statement problem
How to write a statement problem
 

Ähnlich wie 1 introduction to problem solving and programming

Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdfAlgorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
Hoomale
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)
alvin567
 
1.1 the introduction of design and analysis of algorithm
1.1 the introduction of design and analysis of algorithm1.1 the introduction of design and analysis of algorithm
1.1 the introduction of design and analysis of algorithm
Mohammed khaja Jamaluddin
 
Atd advanced topicsworkshop
Atd advanced topicsworkshopAtd advanced topicsworkshop
Atd advanced topicsworkshop
lisacrispin
 
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdfSMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
ssuser6d321e
 

Ähnlich wie 1 introduction to problem solving and programming (20)

Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdfAlgorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
Algorithmic Thinking_ Basics for Gen Z and Gen Alpha.pdf
 
Google Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerGoogle Interview Prep Guide Software Engineer
Google Interview Prep Guide Software Engineer
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)
 
Unit no_1.pptx
Unit no_1.pptxUnit no_1.pptx
Unit no_1.pptx
 
problem characterstics.pptx
problem characterstics.pptxproblem characterstics.pptx
problem characterstics.pptx
 
FDS Unit I_PPT.pptx
FDS Unit I_PPT.pptxFDS Unit I_PPT.pptx
FDS Unit I_PPT.pptx
 
Interview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptxInterview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptx
 
Ch2.ppt
Ch2.pptCh2.ppt
Ch2.ppt
 
Problem solving technique , strategies
Problem solving technique , strategiesProblem solving technique , strategies
Problem solving technique , strategies
 
1.1 the introduction of design and analysis of algorithm
1.1 the introduction of design and analysis of algorithm1.1 the introduction of design and analysis of algorithm
1.1 the introduction of design and analysis of algorithm
 
Software engineering 22 error detection and debugging
Software engineering 22 error detection and debuggingSoftware engineering 22 error detection and debugging
Software engineering 22 error detection and debugging
 
Problem-Solving-Techniques-2015.pptx
Problem-Solving-Techniques-2015.pptxProblem-Solving-Techniques-2015.pptx
Problem-Solving-Techniques-2015.pptx
 
Session 3 : Competitive programming 1
Session 3 : Competitive programming 1Session 3 : Competitive programming 1
Session 3 : Competitive programming 1
 
A Deep Dive into A3 Thinking
A Deep Dive into A3 ThinkingA Deep Dive into A3 Thinking
A Deep Dive into A3 Thinking
 
Atd advanced topicsworkshop
Atd advanced topicsworkshopAtd advanced topicsworkshop
Atd advanced topicsworkshop
 
Problem solving techniques
Problem solving techniquesProblem solving techniques
Problem solving techniques
 
Greythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideGreythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview Guide
 
Global 8D Problem Solving Process Training Module
Global 8D Problem Solving Process Training ModuleGlobal 8D Problem Solving Process Training Module
Global 8D Problem Solving Process Training Module
 
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdfSMI SHAS4542 n4_Decision Making  _ Organizing 0922.pdf
SMI SHAS4542 n4_Decision Making _ Organizing 0922.pdf
 
The Engineer's Playbook: Starting a New Role
The Engineer's Playbook: Starting a New RoleThe Engineer's Playbook: Starting a New Role
The Engineer's Playbook: Starting a New Role
 

Mehr von Rheigh Henley Calderon (20)

10 data structures
10 data structures10 data structures
10 data structures
 
9 processing arrays
9 processing arrays9 processing arrays
9 processing arrays
 
8 problem solving with the case logic structure
8 problem solving with the case logic structure8 problem solving with the case logic structure
8 problem solving with the case logic structure
 
7 problem solving with loops
7 problem solving with loops7 problem solving with loops
7 problem solving with loops
 
6 problem solving with decisions
6 problem solving with decisions6 problem solving with decisions
6 problem solving with decisions
 
5 problem solving with the sequential logic structure
5 problem solving with the sequential logic structure5 problem solving with the sequential logic structure
5 problem solving with the sequential logic structure
 
4 introduction to programming structure
4 introduction to programming structure4 introduction to programming structure
4 introduction to programming structure
 
3 programming concepts
3 programming concepts3 programming concepts
3 programming concepts
 
2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computer2 beginning problem solving concepts for the computer
2 beginning problem solving concepts for the computer
 
9 technical support
9 technical support9 technical support
9 technical support
 
8 customer service
8 customer service8 customer service
8 customer service
 
7 laptop repair
7 laptop repair7 laptop repair
7 laptop repair
 
6 laptop basics
6 laptop basics6 laptop basics
6 laptop basics
 
5 pc maintenance
5 pc maintenance5 pc maintenance
5 pc maintenance
 
4 pc repair
4 pc repair4 pc repair
4 pc repair
 
3 pc upgrade
3 pc upgrade3 pc upgrade
3 pc upgrade
 
2 pc assembly
2 pc assembly2 pc assembly
2 pc assembly
 
1 hardware fundamentals
1 hardware fundamentals1 hardware fundamentals
1 hardware fundamentals
 
8 cyber crimes
8 cyber crimes8 cyber crimes
8 cyber crimes
 
7 computer ethics
7 computer ethics7 computer ethics
7 computer ethics
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

1 introduction to problem solving and programming

  • 1. Data Structures and Algorithms Problem Solving Six steps in problem solving @ Identify the problem @ Understand the problem @ Identify alternative ways to solve the problem @ Select the best way to solve the problem from the list of alternative solutions @ List instructions that enable you to solve the problem using the selected solution @ Evaluate the solution Introduction to Problem-Solving and Programming Page 1 of 4
  • 2. Data Structures and Algorithms Types of Problem @ Problems that can be solve with a series of actions. @ Problems that can be solve with knowledge and experience, and a process of trial and error. Algorithmic Solutions a solutions that can be reached in a series of steps Heuristic Solutions a solutions that cannot be reached through a direct set of steps, usually on a trial and error basis Introduction to Problem-Solving and Programming Page 2 of 4
  • 3. Data Structures and Algorithms Problem Solving with Computers Solution @ the instructions listed during step 5 of problem solving - the instructions that must be followed to produce the best results Results @ the outcome of the completed computer-assisted answer Program @ the set of instructions that make up the solution after they have beed coded into a particular computer language Artificial intelligence @ enables a computer to do things like build its own knowledge bank and speak in human language Introduction to Problem-Solving and Programming Page 3 of 4
  • 4. Data Structures and Algorithms Difficulties with Problem Solving a when choosing the best alternative, you might eliminate good alternatives or list the pros and cons too hastily a may not use a logical sequence of steps in your solution a takes practice and time to perfect a one of the most difficult tasks for the problem solver is writing the instructions a assume the computer knows nothing except what you tell it, and think of it as an ignorant but efficient aid to problem solving. Introduction to Problem-Solving and Programming Page 4 of 4