Pseudocode

Most software programs are developed using a programming language, like C++ or Java. These languages have a specific syntax that must be adhered to when writing program's source code. Pseudocode, on the other hand, is not a programming language, but simply an informal way of describing a program. It does not require strict syntax, but instead serves as a general representation of a program's functions.

Since each programming language uses a unique syntax structure, understanding the code of multiple languages can be difficult. Pseudocode remedies this problem by using conventional syntax and basic english phrases that are universally understood. For example, a line of PHP code may read:if ($i < 10) { i++; }

This could be written in pseudocode as:if i is less than 10, increment i by 1.

By describing a program in pseudocode, programmers of all types of languages can understand the function of a program.

Pseudocode is an informal language, so it is mainly used for creating an outline or a rough draft of a program. Because it is not an actual programming language, pseudocode cannot be compiled into an executable program. Therefore, pseudocode must be converted into a specific programming language if it is to become an usable application.

Updated December 6, 2008 by Per C.

quizTest Your Knowledge

The High Efficiency Video Coding (HEVC) codec is also known as what?

A
IEEE 1394
0%
B
H.265
0%
C
802.11
0%
D
X64
0%
Correct! Incorrect!     View the H.265 definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Pseudocode on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.