You are on page 1of 1

Chapter 2: Input, Processing, and Output

2.1 Designing a Program


Use pseudocode or flowcharts!

The Program Development Cycle

The process of designing a program is arguably the most important part of the cycle. You can think of
a program’s design as its foundation. To do it understand the task and determine the steps to get it
done. A software requirement is simply a single task that the program must perform in order to
satisfy the customer.

An algorithm is a set of well-defined logical steps that must be taken to perform a task. You do it
before every task.

Use pseudocode, the word “pseudo” means fake, so pseudocode is fake code. It is an informal
language that has no syntax rules and is not meant to be compiled or execute. e.g.

Input the hours worked > Input the hourly pay rate> Calculate gross pay as hours worked multiplied
by pay rate> Display the gross pay

A flowchart is a diagram that graphically depicts the steps that take place in a program. Ovals are
input & output terminals; parallelograms are input & output symbols and rectangles are
processing symbols.

2.2 Input, Processing and Output

You might also like