T2W2 Ass #1 Pseudocode & Flowcharts

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

T2W2 Ass #1 Pseudocode &

Flowcharts
WRITE up a COPY of the details in this Pseudocode
and Flowchart document
DO NOT JUST COPY.....write & Draw it yourself!
Pay particular attention to detail here. See the "Important
things to note" !!
Do this in ONE Word document.
Use the Word drawing tools or similar.
Key Word
BEGIN
END
INITIALISATION
END INITIALISATION

Definition
To commence a program
To terminate a program
To input values when commencing a
program
To finish the values when ending
To give access for a selection or choice

IF <condition> THEN

ELSE

For a different choice (not important)

END IF
CASEWHERE <condition>
.
OTHERWISE
.
ENDCASE
WHILE <condition>
ENDWHILE
REPEAT
UNTIL <condition>

To finish the choice


To give permission for a selection
To give permission for the original
setting should the choice be not used
To finish the choices
To commence a loop at the beginning of
the series
To finish the loop
To commence a loop at the conclusion of
a sequence
To end the loop

BEGIN SUBPROGRAM
END SUBPROGRAM

To commence a subprogram
To finish a subprogram

Flowcharts
Symbol

Meaning
A terminator (BEGIN or END)

A process (something has to be complete)

The input and output of the program is


the procedures in which can control the
input and output (Display, Get)
A decision (something must be selected)
Involves questions say YES or NO

A subprogram is a module thats a small


part of a program which makes sections
of the major program which is
established independently
Top To Bottom
The connected lines are shows through
the passing of the top to bottom and left
to right. The Arrows can still be used
nevertheless it can only be used when
Left to right
against the main flow. There are no
diagonals to be used for the symbols.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Flowcharts
Symbol

Meaning
A terminator (BEGIN or END)

A process (something has to be complete)

The input and output of the program is


the procedures in which can control the
input and output (Display, Get)
A decision (something must be selected)
Involves questions say YES or NO

Top To Bottom

Left to right

A subprogram is a module thats a small


part of a program which makes sections
of the major program which is
established independently
The connected lines are shows through
the passing of the top to bottom and left
to right. The Arrows can still be used
nevertheless it can only be used when
against the main flow. There are no
diagonals to be used for the symbols.

You might also like