Module 2: Beginning The Problem - Solving Process
Module 2: Beginning The Problem - Solving Process
Overview
This chapter stresses the importance of proper design in the programming
process. It also shows where design fits in the overall process of problem
solving. Different methods of designing the solution to a problem are
shown (flowcharts and pseudocode). Several examples of implementing
the problem-solving process are given.
Objectives
After completing the chapter, the student will be able to:
Key Terms
• Desk-checking — the process of manually walking through each
of the instructions in an algorithm; also called hand-tracing
• Flowchart — a tool that programmers use to help them plan (or
depict) an algorithm; consists of standardized symbols
connected by flowlines
• Flowlines — the lines that connect the symbols in a flowchart
• Hand-tracing — another term for desk-checking
• Input — the items a program needs in order to achieve the
output
• Input/Output Symbol — the parallelogram in a flowchart; used
to represent input and output tasks
• Invalid Data — data that the algorithm is not expecting the user
to enter
• IPO — an acronym for input, processing, and output
• IPO Chart — a chart that some programmers use to organize and
summarize the results of a problem analysis
• Output — the goal of solving a problem; the items the user
wants to display, print, or store
• Process Symbol — the rectangle symbol in a flowchart; used to
represent tasks such as calculations
• Processing Item — an intermediate value (neither input nor
output) that an algorithm uses when processing the input into the
output
• Pseudocode — a tool that programmers use to help them plan an
algorithm; consists of short English statements; means false
code
• Start/Stop Symbol — the oval symbol in a flowchart; used to
mark the beginning and end of the flowchart
• Valid Data — data that the algorithm is expecting the user to
enter