Pseudo Code

Is a computer program that is written in plain English.  It cannot run on as a program.  It is used to plan a program before the actual code or blocks are assembled.  It is often used with flowcharts.  Pseudo code is often used in computer science exams when the examiner does not require specific knowledge of a particular program.

Single Line Examples

Multiple Line Examples

Start the program

Wait for an temperature signal

Turn off all electric circuits if no signal received

Stop the program

---------------------------------------------------------------

Start the program

Wait for a movement signal from the front door

Turn on the front door light if signal received

Turn off the light after 10 minutes

Go back to the start of the program

---------------------------------------------------------------

Start the program

Wait for a bluetooth signal from the iPad

match the pattern of the signal to the list of songs

Play the matched song

Go back to the start of the program