0% found this document useful (0 votes)
89 views

Pseudocode Verbs and Terms

This document defines common pseudocode verbs and terms used to describe programming structures and operations. Key pseudocode verbs include read, get, print, write, put, output, display, compute, calculate, initialize, set, save, and store. Common programming structures are denoted with keywords like MAINPROGRAM, SUBPROGRAM, IF-THEN-ELSE, WHILE, REPEAT-UNTIL, DOWHILE, and SEQUENCE, SELECTION, and LOOP for organizing code blocks.

Uploaded by

Ichi Berry
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

Pseudocode Verbs and Terms

This document defines common pseudocode verbs and terms used to describe programming structures and operations. Key pseudocode verbs include read, get, print, write, put, output, display, compute, calculate, initialize, set, save, and store. Common programming structures are denoted with keywords like MAINPROGRAM, SUBPROGRAM, IF-THEN-ELSE, WHILE, REPEAT-UNTIL, DOWHILE, and SEQUENCE, SELECTION, and LOOP for organizing code blocks.

Uploaded by

Ichi Berry
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like