SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
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

More Related Content

PPTX
Introduction to programming
PPT
Introduction to data structures and Algorithm
PPT
Problem Solving Techniques
PPTX
memory reference instruction
PPT
Intro To Programming Concepts
PPTX
Deadlock ppt
PPTX
System Programing Unit 1
PPT
Introduction to Compiler design
Introduction to programming
Introduction to data structures and Algorithm
Problem Solving Techniques
memory reference instruction
Intro To Programming Concepts
Deadlock ppt
System Programing Unit 1
Introduction to Compiler design

What's hot (20)

PDF
Algorithms Lecture 1: Introduction to Algorithms
PDF
CS4109 Computer System Architecture
PPTX
Assemblers
PDF
Machine language
PDF
Lecture 2 role of algorithms in computing
PPTX
History of C Programming Language
PPTX
Loaders ( system programming )
PPS
Registers and-common-bus
PPT
AI Lecture 3 (solving problems by searching)
PPT
DESIGN AND ANALYSIS OF ALGORITHMS
PPT
Top down parsing
PPTX
Propositional logic
PPTX
Arithmatic pipline
PPTX
Specification-of-tokens
PPTX
Knowledge representation in AI
PPTX
Semantic Networks
PPT
Knowledge Representation & Reasoning
PPTX
Interrupts
PPTX
Data structures and algorithms
PPT
1.Role lexical Analyzer
Algorithms Lecture 1: Introduction to Algorithms
CS4109 Computer System Architecture
Assemblers
Machine language
Lecture 2 role of algorithms in computing
History of C Programming Language
Loaders ( system programming )
Registers and-common-bus
AI Lecture 3 (solving problems by searching)
DESIGN AND ANALYSIS OF ALGORITHMS
Top down parsing
Propositional logic
Arithmatic pipline
Specification-of-tokens
Knowledge representation in AI
Semantic Networks
Knowledge Representation & Reasoning
Interrupts
Data structures and algorithms
1.Role lexical Analyzer
Ad

Viewers also liked (17)

PPTX
2.1 Understand problem solving concept
PPTX
Introduction to problem solving in C
PPT
Stages of problem solving presentation
PPTX
Problem Solving
PPTX
Problem solving
PPT
Introduction to problem solving in c++
PDF
11 Tips On Problem Solving Skills – Overcome Difficulties
PPT
The statement of the problem
PPTX
Problem solving method
PPTX
Problem solving & decision making at the workplace
PPT
Problem solving ppt
PPT
Problem Solving and Decision Making
PPSX
Problem solving
PPT
Problem Solving PowerPoint PPT Content Modern Sample
PPT
PROBLEM SOLVING POWERPOINT
PDF
How to write a statement problem
2.1 Understand problem solving concept
Introduction to problem solving in C
Stages of problem solving presentation
Problem Solving
Problem solving
Introduction to problem solving in c++
11 Tips On Problem Solving Skills – Overcome Difficulties
The statement of the problem
Problem solving method
Problem solving & decision making at the workplace
Problem solving ppt
Problem Solving and Decision Making
Problem solving
Problem Solving PowerPoint PPT Content Modern Sample
PROBLEM SOLVING POWERPOINT
How to write a statement problem
Ad

Similar to 1 introduction to problem solving and programming (20)

PPTX
Unit no_1.pptx
DOCX
Csc 102 lecture note(introduction to problem solving)
PPTX
FDS Unit I_PPT.pptx
PPTX
Unit 2 CPR.pptxaccSSzzCSDVVSVZVZSVVSDVDDSDDS
PPTX
PPS_Unit 1.pptx
PPT
Data structures & problem solving unit 1 ppt
PPS
01 ds and algorithm session_01
PPS
01 ds and algorithm session_01
PPT
Program design and problem solving techniques
PPT
AOA Week 01.ppt
PPTX
Understanding and Solving Software Problems
PDF
Study Material for Problem Solving Techniques
PPTX
Programming in C - Problem Solving using C
PPTX
C programming .pptx
PPSX
CC-112-Lec.1.ppsx
PPT
Problem Solving and Algorithm Design in Computer Science
PPT
computer programming introduction ppt.ppt
PPT
Ch2.ppt
PPTX
EE-232-LEC-01 Data_structures.pptx
PPT
Algorithms the fundamentals, For computer Science.ppt
Unit no_1.pptx
Csc 102 lecture note(introduction to problem solving)
FDS Unit I_PPT.pptx
Unit 2 CPR.pptxaccSSzzCSDVVSVZVZSVVSDVDDSDDS
PPS_Unit 1.pptx
Data structures & problem solving unit 1 ppt
01 ds and algorithm session_01
01 ds and algorithm session_01
Program design and problem solving techniques
AOA Week 01.ppt
Understanding and Solving Software Problems
Study Material for Problem Solving Techniques
Programming in C - Problem Solving using C
C programming .pptx
CC-112-Lec.1.ppsx
Problem Solving and Algorithm Design in Computer Science
computer programming introduction ppt.ppt
Ch2.ppt
EE-232-LEC-01 Data_structures.pptx
Algorithms the fundamentals, For computer Science.ppt

More from Rheigh Henley Calderon (20)

PDF
10 data structures
PDF
9 processing arrays
PDF
8 problem solving with the case logic structure
PDF
7 problem solving with loops
PDF
6 problem solving with decisions
PDF
5 problem solving with the sequential logic structure
PDF
4 introduction to programming structure
PDF
3 programming concepts
PDF
2 beginning problem solving concepts for the computer
PPTX
9 technical support
PPTX
8 customer service
PPTX
7 laptop repair
PPTX
6 laptop basics
PPTX
5 pc maintenance
PPTX
PPTX
PPTX
2 pc assembly
PPTX
1 hardware fundamentals
PPTX
8 cyber crimes
PPTX
7 computer ethics
10 data structures
9 processing arrays
8 problem solving with the case logic structure
7 problem solving with loops
6 problem solving with decisions
5 problem solving with the sequential logic structure
4 introduction to programming structure
3 programming concepts
2 beginning problem solving concepts for the computer
9 technical support
8 customer service
7 laptop repair
6 laptop basics
5 pc maintenance
2 pc assembly
1 hardware fundamentals
8 cyber crimes
7 computer ethics

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
01-Introduction-to-Information-Management.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Institutional Correction lecture only . . .
Week 4 Term 3 Study Techniques revisited.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
O7-L3 Supply Chain Operations - ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Supply Chain Operations Speaking Notes -ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pharma ospi slides which help in ospi learning
Renaissance Architecture: A Journey from Faith to Humanism
Microbial disease of the cardiovascular and lymphatic systems
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPH.pptx obstetrics and gynecology in nursing

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