Chapter 1
General Problem Solving Concepts
Problem Solving and Programming Concepts
9th Edition
By Maureen Sprankle and Jim Hubbard
Copyright © 2012 Pearson Education, Inc.
Overview
• Problem Solving in Everyday Life
• Types of Problems
• Problem Solving with Computers
• Difficulties with Problem Solving
Copyright © 2012 Pearson Education, Inc. 0-2
Objectives
1. Describe .difference between heuristic,
algorithmic solutions.
2. List, describe problem-solving steps for
algorithmic solution.
3. Use problem-solving steps to solve
problem.
Copyright © 2012 Pearson Education, Inc. 0-3
Problem Solving in Everyday Life
1. Identify the problem.
2. Understand the problem.
3. Identify alternative ways to solve problem.
4. Select best alternative.
5. List solution steps for alternative chosen.
6. Evaluate solution.
Copyright © 2012 Pearson Education, Inc. 0-4
Types of Problems
Problems with …
• Algorithmic solutions
• Heuristic solutions
• Combination of algorithmic, heuristic
solutionsحلول الكشف عن مجريات االمور
Copyright © 2012 Pearson Education, Inc. 0-5
Problem Solving with Computers
Definitions:
• Solution instructions followed to
produce best result
• Result outcome, computer-assisted
answer
• Program instructions for solution using
computer language
Copyright © 2012 Pearson Education, Inc. 0-6
Difficulties with Problem Solving
• Lack of problem solving experience
• Inadequate solution steps
• Incorrect problem definition
• Alternatives chosen incorrectly
• Invalid logic
• Incorrect solution evaluation
Copyright © 2012 Pearson Education, Inc. 0-7
Chapter 1
General Problem Solving Concepts
End Chapter 9
Copyright © 2012 Pearson Education, Inc.