Chapter 3 Planning Your Solution Problem Solving and

Chapter 3 Planning Your Solution Problem Solving and Programming Concepts 9 th Edition By Maureen Sprankle and Jim Hubbard Copyright © 2012 Pearson Education, Inc.

Overview • Communicating with the Computer • Organizing the Solution Using the Tools • Testing the Solution • Coding the Solution • Software Development Cycle Copyright © 2012 Pearson Education, Inc. 0 -2

Objectives List and describe development tools Use problem analysis chart Use interactivity chart Use IPO chart Use algorithms, flowcharts, and pseudocode • Describe importance of documentation • • • Copyright © 2012 Pearson Education, Inc. 0 -3

Analyzing the Problem Understand requirements: 1. The given data 2. The required results 3. The processing that is required in the problem 4. A list of solution alternatives Copyright © 2012 Pearson Education, Inc. 0 -4

Figure 3. 1 Problem Analysis Chart Copyright © 2012 Pearson Education, Inc. 0 -5

Figure 3. 2 Problem Analysis Chart for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -6

Figure 3. 3 The Interactivity Chart Copyright © 2012 Pearson Education, Inc. 0 -7

Figure 3. 4 The Completed Interactivity Chart Copyright © 2012 Pearson Education, Inc. 0 -8

Figure 3. 5 The Interactivity Chart for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -9

Figure 3. 6 The IPO Chart Copyright © 2012 Pearson Education, Inc. 0 -10

Figure 3. 7 The IPO Chart for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -11

Figure 3. 8 The Form of an Algorithm Copyright © 2012 Pearson Education, Inc. 0 -12

Figure 3. 9 Flowchart Symbols Copyright © 2012 Pearson Education, Inc. 0 -13

Figure 3. 9 Flowchart Symbols Copyright © 2012 Pearson Education, Inc. 0 -14

Figure 3. 9 Flowchart Symbols Copyright © 2012 Pearson Education, Inc. 0 -15

Figure 3. 9 Flowchart Symbols Copyright © 2012 Pearson Education, Inc. 0 -16

Figure 3. 10 The Algorithms and Flowcharts for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -17

Figure 3. 10 The Algorithms and Flowcharts for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -18

Figure 3. 10 The Algorithms and Flowcharts for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -19

Figure 3. 10 The Algorithms and Flowcharts for the Payroll Problem Copyright © 2012 Pearson Education, Inc. 0 -20

Figure 3. 11 Order of Execution of Instructions Copyright © 2012 Pearson Education, Inc. 0 -21

Figure 3. 12 Algorithm and Flowchart Form Copyright © 2012 Pearson Education, Inc. 0 -22

Software Development Cycle 1. 2. 3. 4. 5. Analysis Design Development Implementation Maintenance and review Copyright © 2012 Pearson Education, Inc. 0 -23

Chapter 3 Planning Your Solution End Chapter 3 Copyright © 2012 Pearson Education, Inc.
- Slides: 24