Concept

Pseudocode

Notation

Pseudocode is an informal way of writing down the steps of an algorithm by borrowing the familiar conventions of programming languages, such as assignment, conditionals and loops, and mixing them with plain natural language and compact mathematical notation. It is meant to be read by people rather than run by machines, so it leaves out the details a real implementation would need, and it can only be checked by hand. There is no broad standard for its syntax, although limited standards exist for settings such as academic assessment, and writers range from near copies of a real language to prose-like outlines. Textbooks and scientific papers use it to describe algorithms in a way that stays understandable whatever language a reader knows, and programmers often sketch an unfamiliar algorithm in pseudocode before translating it into working code. Standards such as MPEG also rely on formal C-like pseudocode.

Facts
Core Principle
A notation resembling a programming language but not intended for actual compilation, combining programming structure with informal natural language description. 1
Connections

In Field

Source Pseudocode (Wikipedia)

Long-Form Articles

Sources
1. Free On-line Dictionary of Computing (FOLDOC): pseudocode (FOLDOC)
Free On-line Dictionary of Computing (FOLDOC)Entry text
Quote, Entry text
A notation resembling a programming language but not intended for actual compilation.
View the Source
Pseudocode (Wikipedia)
  • In Field: Algorithms and Complexity Theory, Lead
    pseudocode is a description of the steps in an algorithm
  • In Group: Mathematical and Formal Notations, Lead
    informal, usually self-explanatory, notation of actions and conditions
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.

Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme