The Programming Process

  • Clearly define what the program is to do.

  • Visualize the program running on the computer.

  • Use design tools to create a model of the program.

  • Check the model for logical errors.

  • Enter the code and compile it.

  • Correct any errors found during compilation. Repeat Steps 5 and 6 as many times as necessary.

  • Run the program with test data for input.

  • Correct any runtime errors found while running the program. Repeat Steps 5 through 8 as many times as necessary.

  • Validate the results of the program.

 

 

The IPO Model

 

Purpose

To calculate the user’s gross pay.

Input

Number of hours worked, hourly pay rate.

Process

Multiply number of hours worked by hourly pay rate. The result is the user’s gross pay.

Output

Display a message indicating the user’s gross pay.

2024 - Programming 3 / Data Structures - Author: Dr. Kevin Roark