Você está na página 1de 15

Problem Solving with the

Sequential Logic Structure

Chapter 5

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Objectives

1. Use the sequential logic structure to develop a


solution to a problem.
2. Use the proper form for instructions in an
algorithm and a flowchart.
3. Use the seven problem-solving tools to develop
a solution to a problem.

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Table 5.1 Algorithm Instructions and Flowchart Symbols

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Table 5.1 Algorithm Instructions and Flowchart Symbols

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.1 Flowchart Diagram for the Sequential Structure

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.2 Algorithm and Flowchart to Enter and
Print Two Variables

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.3 Problem Analysis Chart—Interest Problem

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.4 The Interactivity Chart—Interest Problem

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.5 The IPO Chart—Interest Problem

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.6 Coupling Diagram

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.7 Data Dictionary

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.8a Algorithm
and Flowchart for InterestControl Module

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.8b Algorithm and Flowchart for Read Module

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.8c Algorithm and Flowchart for Calc Module

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.
Figure 5.8d Algorithm and Flowchart for Print Module

Sprankle/Hubbard Copyright ©2009 by Pearson Education, Inc.


Problem Solving and Upper Saddle River, New Jersey 07458
Programming Concepts, 8e All rights reserved.

Você também pode gostar