PSEUDOCODE VERBS AND TERMS
Read: Is used when the input is received from a record on a file.
Get: Is used when the algorithm gets input from the user.
Print: Is used when output is sent to the printer.
Write: Is used when data is to be written to a file.
Put/Output/Display: are used when output is to be shown on screen.
Compute/Calculate: Used to solve mathematical algorithms.
Initialize/set: To give data an initial value in pseudocode
Save/store: Keep a variable for later use
BEGIN MAINPROGRAM/END MAINPROGRAM: for starting and finishing
programs
INITIALISATION/END INITIALISATION: for initialization
BEGIN SUBPROGRAM/END SUBPROGRAM: for subprogram
IF, THEN, ELSE, ENDIF: For selection
CASEWHERE, OTHERWISE, ENDCASE: for multi-way selection
WHILE, ENDWHILE: for pre-test repetition (within a pre-test loop, the
condition is tested first, if condition is true, the block of statements is
executed.)
REPEAT, UNTIL: for post-test repetition (within a post-test loop, the loop
condition is tested at the end, meaning that the block of the statements is
executed first, then the loop condition is checked.
DOWHILE, ENDO: Condition for repetition of a group of actions.
SEQUENCE: keeping statements in sequence all starting in the same column.
SELECTION: Indent statements that fall inside selection structure, but not the
keywords that form the selection.
LOOP: Indent statements that fall inside the loop but not keywords that form
the loop.