Difference between revisions of "Pseudocode"

From Conservapedia
Jump to navigation Jump to search
(expand a bit)
Line 1: Line 1:
−
'''Pseudocode''' is a form of "mock" [[computer code]] to help build [[algorithm]]s in an actual computer programming language.  The code is written to show logical flow and design for the program and should be in a form that non-[[computing]] professionals can understand.
+
'''Pseudocode''' is a form of "mock" [[computer code]].  Unlike most computer code, it's intended to be understood only by humans, and usually can't be parsed by a [[compiler]] or [[interpreter (programming)|interpreter]].  Pseudocode is almost always shorter than the equivalent source code, because it seeks to be more understandable by glossing over less important details. Pseudocode is used for instructional purposes (particularly in introductory courses), for discussing an algorithm in a somewhat language-neutral way, or for building an initial skeleton in a low-level design document.
 +
 
 +
== References ==
 +
* [http://www.cs.cornell.edu/Courses/cs482/2003su/handouts/pseudocode.pdf Pseudocode guidelines, CS 341, Cornell]
  
 
[[category:Computer Science]]
 
[[category:Computer Science]]

Revision as of 22:10, July 9, 2008

Pseudocode is a form of "mock" computer code. Unlike most computer code, it's intended to be understood only by humans, and usually can't be parsed by a compiler or interpreter. Pseudocode is almost always shorter than the equivalent source code, because it seeks to be more understandable by glossing over less important details. Pseudocode is used for instructional purposes (particularly in introductory courses), for discussing an algorithm in a somewhat language-neutral way, or for building an initial skeleton in a low-level design document.

References