Professional Documents
Culture Documents
I.P.O. Charts
I.P.O. Charts
Charts
Defining the problem is the first step towards solving a problem. It is one
of the most important steps in problem solving.
An I.P.O. Chart/Defining Diagram is a table with three columns. These three columns
represent the three components:
Input
Processing
Output
Information Technology for CSEC Examinations 3 rd Edition Howard Campbell and Alan Wood
I.P.O. Chart/Defining Diagram
The Input is the source data provided.
The first step is to identify the input (i.e. The data that is given).
The keyword accepts identifies the inputs as the weight of two people in pounds.
Write a program that accepts the weights of two people in pounds. It then determines the total weight of the two people in
pounds. It then displays the Total Weight in pounds.
The next step is to identify the output (i.e. The data that is given).
The keyword displays identifies the output as the Total weight of two people in pounds
Write a program that accepts the weights of two people in pounds. It then determines the total weight of the two people in
pounds. It then displays the Total Weight in pounds.
The final step in defining this problem is to list the Processing Steps. Here, we list all the actions that must be performed in
order to get the desired results.
What do we have to do with the two weights in pounds to get the Total Weight in pounds.
Input Processing Output
Weights of 2 people in pounds. (1) Read the Weights of two people in Total Weight of the two people in pounds.
pounds.
(2) Calculate the Total Weight in pounds.
(3) Print the Total Weight in pounds.
Weight of person 1 in pounds. (1) Read the Weight of person 1 in Total Weight of the two people in pounds.
pounds.
Weight of person 2 in pounds (2) Read the Weight of person 2 in
pounds.
(3) Calculate the Total Weight in pounds.
(4) Print the Total Weight in pounds.
Weight of person 1 in pounds. (1) Read the Weight of person 1 in Total Weight of the two people in pounds.
pounds.
Weight of person 2 in pounds (2) Read the Weight of person 2 in
pounds.
(3) Calculate the Total Weight in pounds.
(4) Print the Total Weight in pounds.
Problem #1-
Write a program that gets the length and the breadth of a room in feet. It then finds
and displays the area that needs to be carpeted.
Assignment #2
Create an I.P.O. Chart for the following problem.
Problem #2-
Write a program to accept the ages of three people, determine and print the average
age of the three people.
The End