Starting Out With Programming Logic & Design - Chapter2 - Input, Processing, and Output
Starting Out With Programming Logic & Design - Chapter2 - Input, Processing, and Output
Third Edition
by Tony Gaddis
Chapter Topics
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
Designing a Program
Output, Input, and Variables
Variable Assignment and Calculations
Variable Declarations and Data Types
Named Constants
Hand Tracing a Program
Documenting a Program
Designing Your First Program
1-2
1-3
1-4
1-5
1-6
Flowcharts
A diagram that graphically
depicts the steps that take
place in a program
1-7
1-8
1-9
1-10
1-11
1-12
1-13
1-14
1-15
1-16
1-17
1-18
1-19
3. Output is produced.
The players batting average
Copyright 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
1-20
1-21
1-22
Process
Determine calculations to be performed
Choose variables to store the calculations
Output
Determine what output the program will display
Usually the results of the programs calculations
Copyright 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
1-23