Programming Logic and Design: Seventh Edition
Programming Logic and Design: Seventh Edition
Programming Logic and Design: Seventh Edition
Design
Seventh Edition
Chapter 1
An Overview of Computers and
Programming
Objectives
• Logical error
– Results when a syntactically correct
statement, but the wrong one for the current
context, is used
• Test
– Execute the program with some sample data
to see whether the results are logically
correct
• Debugging is the process of finding and
correcting program errors
• Programs should be tested with many
sets of data
• Maintenance
– Making changes after the program is put into
production
• Common first programming job
– Maintaining previously written programs
• Make changes to existing programs
– Repeat the development cycle
• Create a flowchart
– Draw geometric shapes that contain the
individual statements
– Connect shapes with arrows
• Input symbol
– Indicates input operation
– Parallelogram
• Processing symbol
– Contains processing statements such as
arithmetic
– Rectangle