Sample Solution Manual For Problem Solving and Programming Concepts 9E 9th Edition Maureen Sprankle Jim Hubbard
Sample Solution Manual For Problem Solving and Programming Concepts 9E 9th Edition Maureen Sprankle Jim Hubbard
Unit 1 is designed to introduce the student to problem solving skills and basic programming concepts
required for the rest of the book. These concepts include the steps used in problem solving and numerical con-
cepts such as constants and variables, data types, operators, hierarchy of operations, expressions, and equa-
tions. Chapter 3 introduces the problem solving tools used in the book, which include
1. The Problem Analysis Chart (PAC)
2. The Interactivity Chart (Structure Chart)
3. The IPO Chart
4. The Algorithms
5. The Flowcharts
When the students have completed these three chapters, they are ready to learn about the four logic
structures presented in Unit 2.
5
6
Chapter 1: General Problem Solving Concepts
Students need to realize that problem solving skills are used in everyday life as well as with a computer.
Since the students are familiar with everyday problems, the course should start by identifying and developing solu-
tions to these problems using the six problem solving steps. These everyday problems deal with people since they
have a broad and expandable knowledge base. Problem Two at the end of the chapter presents some problems
which the student can develop a solution and then check with another student. Though the use of Otto the Robot
in Appendix A, the students can relate these same problem solving steps using a limited knowledge base. Associ-
ated with the nstructor's Manual you will nd a simulator for OTTO the Robot. The solutions to these problems can
be developed and tested in groups. This should lead to the fact that all work on a computer deals with a limited
knowledge base.
Lecture Outline
I. Introduction to class
II. Six steps in problems solving:
A. Identify the problem
B. Understand the problem
C. Identify alternative ways to solve the problem
D. Select the best way to solve the problem
E. List instructions that enable you to solve the problems using the selected solution
F. Evaluate the solution
III. Types of problems:
A. Algorithmic
B. Heuristic
IV. Problem solving with other humans vs problem solving with computers
A. Terminology
1. solution
2. results
3. program
B. Why do we as humans have problems with problem solving?
C. Use one of the tasks in problem one to illustrate problem solving with another English speaking
human. The students should write the set of instructions and then test the instructions in a
group situation.
D. Use Appendix A with Otto the Robot to narrow the vocabulary and move into problem solving with
computers. Associated with the Instructor's Manual you will nd a simulator for OTTO the Robot. You
may want to use it to demonstrate how Otto works and/or you may want to have the students test
some of the instructions and try out their solutions to see if they work. You will need to install the
program on your computer and/or the student's computers.
7
Solutions to Questions and Problems
Questions:
1. See page 3-4 in text.
3. Each student will have different answers. Some typical answers are:
a. balancing a checkbook
b. putting a bicycle together
c. baking a cake
5. Each student will have different answers. Some typical answers are:
a. raising a child
b. making money on the stock market
c. creating a compromise
6. Each student will have different answers. Some typical answers are:
a. Financial planning
b. Address book
c. Writing reports
Problems:
1. Each student’s answer will be different according to the problem they selected. Correct the problem ac-
cording to what should be contained in each step.
2. Each student’s answer may be a modi cation of these solutions. The main thing to look for is the correla-
tion between the knowledge base and the instructions. There are certain assumptions the student may
make, such as the language spoken. These are excellent problems for students to develop in a group.
a. Make a cup of cocoa:
Knowledge Base: cup, milk, cocoa mix, spoon, microwave, how to pour liquid into a cup
Instructions:
1.) open cocoa mix
2.) pour cocoa mix into a cup
3.) ll cup with milk to 1 inch of top
4.) stir with spoon until dissolved
5.) heat in microwave for 2 minutes
b. Sharpen a pencil.
Knowledge base: pencil, pencil sharpener, sharp point, turn a handle
Instructions:
1.) go to a pencil sharpener
2.) put unsharpened end of the pencil in the hole in the side or top of pencil sharpener
3.) turn handle
4.) check to see if the pencil has a sharp point every 5 turns
5.) remove pencil and use
c. Walk from the classroom to the student lounge, your dorm, or the cafeteria.
This problem will have a different solution, depending upon the campus where the student attends
classes.