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 PrincipleA 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 textQuote, 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 SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.