SlideShare une entreprise Scribd logo
1  sur  4
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
Lincoln School
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
Bharat Bhushan
 

Tendances (20)

Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
 
TOC 1 | Introduction to Theory of Computation
TOC 1 | Introduction to Theory of ComputationTOC 1 | Introduction to Theory of Computation
TOC 1 | Introduction to Theory of Computation
 
Syntax Analysis in Compiler Design
Syntax Analysis in Compiler Design Syntax Analysis in Compiler Design
Syntax Analysis in Compiler Design
 
Introduction to problem solving in C
Introduction to problem solving in CIntroduction to problem solving in C
Introduction to problem solving in C
 
Fundamental of Algorithms
Fundamental of Algorithms Fundamental of Algorithms
Fundamental of Algorithms
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithms
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
Introduction to Compiler
Introduction to CompilerIntroduction to Compiler
Introduction to Compiler
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
What is an algorithm?
What is an algorithm?What is an algorithm?
What is an algorithm?
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Data Structure and Algorithms.pptx
Data Structure and Algorithms.pptxData Structure and Algorithms.pptx
Data Structure and Algorithms.pptx
 
Algorithm Introduction
Algorithm IntroductionAlgorithm Introduction
Algorithm Introduction
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 
Flowcharts and algorithms
Flowcharts and algorithmsFlowcharts and algorithms
Flowcharts and algorithms
 
Chapter #1 overview of programming and problem solving
Chapter #1 overview of programming and problem solvingChapter #1 overview of programming and problem solving
Chapter #1 overview of programming and problem solving
 
Divide and conquer
Divide and conquerDivide and conquer
Divide and conquer
 

En vedette

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
 

En vedette (17)

2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
 
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
 

Similaire à 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
 

Similaire à 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
 

Plus de 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
 

Dernier

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Dernier (20)

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.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