Pseudocode is information written in a non-syntactical manner to document program code. Programmers often use pseudocode to quickly organize their ideas before writing the code. After the code is written, the pseudocode becomes a reference that describes the functionality of the program.
For example, when solving a programming problem, you might start by asking yourself questions about what is to be accomplished. As you define what must be accomplished, you can create a logical list of the steps the program should perform. You might create a pseudocode list with the following items:
- Check mixed air temperatures
- Check outside air temperatures
- Open/close dampers as needed
- Start/stop fans
From this list, you would begin writing program code to accomplish these functions.