copyright © 2012 pearson education, inc. chapter 5 problem solving with the sequential logic...

Post on 22-Dec-2015

241 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Copyright © 2012 Pearson Education, Inc.

Chapter 5Problem Solving with the Sequential Logic Structure

Problem Solving and Programming Concepts

9th Edition

By Maureen Sprankle and Jim Hubbard

Copyright © 2012 Pearson Education, Inc. 0-2

Overview

• Algorithm Instructions, Flowchart Symbols, Pseudocode

• The Sequential Logic Structure

• Solution Development

Copyright © 2012 Pearson Education, Inc.

Table 5.1 Algorithm Instructions and Flowchart Symbols

0-3

Copyright © 2012 Pearson Education, Inc.

Table 5.1 Algorithm Instructions and Flowchart Symbols

0-4

Copyright © 2012 Pearson Education, Inc.

Figure 5.1 Flowchart Diagram for the Sequential Structure

0-5

Copyright © 2012 Pearson Education, Inc.

Figure 5.2 Algorithm, Flowchart, and Pseudocode to Enter and Print Two Variables

0-6

Copyright © 2012 Pearson Education, Inc.

Solution Development

0-7

Copyright © 2012 Pearson Education, Inc.

Figure 5.3 Problem Analysis Chart—Interest Problem

0-8

Copyright © 2012 Pearson Education, Inc.

Figure 5.4 The Interactivity Chart—Interest Problem

0-9

Copyright © 2012 Pearson Education, Inc.

Figure 5.5 The IPO Chart—Interest Problem

0-10

Copyright © 2012 Pearson Education, Inc.

Figure 5.6 Coupling Diagram

0-11

Copyright © 2012 Pearson Education, Inc.

Figure 5.7 Data Dictionary

0-12

Copyright © 2012 Pearson Education, Inc.

Figure 5.8a Algorithm, Flowchart, and Pseudocode for InterestControl Module

0-13

Copyright © 2012 Pearson Education, Inc.

Figure 5.8a Algorithm, Flowchart, and Pseudocode for InterestControl Module

0-14

Copyright © 2012 Pearson Education, Inc.

Figure 5.8b Algorithm, Flowchart, and Pseudocode for Read Module

0-15

Copyright © 2012 Pearson Education, Inc.

Figure 5.8c Algorithm, Flowchart, and Pseudocode for Calc Module

0-16

Copyright © 2012 Pearson Education, Inc.

Figure 5.8d Algorithm, Flowchart, and Pseudocode for Print Module

0-17

Copyright © 2012 Pearson Education, Inc. 0-18

Copyright © 2012 Pearson Education, Inc.

Chapter 5Problem Solving with the Sequential Logic Structure

End Chapter 5

top related