Standard Pseudocode Policies
Standard Pseudocode Policies
Pseudocode or Structured English is a language used to write down the steps or plan for a computer
program. There are several different varieties which all use the same structure but with slightly
different keywords. The table below shows some of the accepted KEYWORDS I will use this year
together with meaning or use and accepted combinations.
• When we write a plan for a program in Pseudocode it should contain sufficient information so
that it can be turned into working code in any acceptable computer language such as SQL,
BASIC, Pascal, C++ etc.
• The second thing which is needed in Pseudocode, or any computer language is VARIABLES.
This allows varying data to be fed into the computer.
• In older computer languages the variable is the name of the memory location where the data is
kept. i.e. PRINT num2 will display on screen the value currently in the RAM area called
num2.
• In Visual Basic we use some traditional variables but most of our varying data is ‘held in’ text
boxes. To DISPLAY a value we put it into a text box using an instruction such as
textbox1.text = ‘Hello’ or lblAnswer.caption = 23
Pseudocode examples together with BASIC and Visual Basic versions of the code.
For the sake of simplicity I have not used ‘VAL’ and ‘STR’ in the Visual Basic