Description of an algorithm that resembles a computer program
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Pseudocode" – news · newspapers · books · scholar · JSTOR(August 2016) (Learn how and when to remove this message)
In computer science, pseudocode is a description of the steps in an algorithm using a mix of conventions of programming languages (like assignment operator, conditional operator, loop) with informal, usually self-explanatory, notation of actions and conditions.[1][2] Although pseudocode shares features with regular programming languages, it is intended for human reading rather than machine control. Pseudocode typically omits details that are essential for machine implementation of the algorithm. The programming language is augmented with natural language description details, where convenient, or with compact mathematical notation. The purpose of using pseudocode is that it is easier for people to understand than conventional programming language code, and that it is an efficient and environment-independent description of the key principles of an algorithm. It is commonly used in textbooks and scientific publications to document algorithms and in planning of software and other algorithms.
No broad standard for pseudocode syntax exists, as a program in pseudocode is not an executable program; however, certain limited standards exist (such as for academic assessment). Pseudocode resembles skeleton programs, which can be compiled without errors. Flowcharts, drakon-charts and Unified Modelling Language (UML) charts can be thought of as a graphical alternative to pseudocode, but need more space on paper. Languages such as HAGGIS bridge the gap between pseudocode and code written in programming languages.
^Reisig 2007, p. 23, Pseudocode Programs and Their Semantics.
^An often-repeated definition of pseudocode since at least 2003 is "a detailed yet readable description of what a computer program or algorithm must do, expressed in a formally-styled natural language"
In computer science, pseudocode is a description of the steps in an algorithm using a mix of conventions of programming languages (like assignment operator...
interprets pseudocode in Spanish, the Android version interprets pseudocode in English, Spanish and Portuguese. PSeInt is the abbreviation of PSeudocode Interpreter...
documenting methods and procedures in software. It is related to pseudocode, but unlike pseudocode, it is written in plain language without any terms that could...
string in the search tree and finding a node, called firstMid in the below pseudocode, such that the path from the middle child of firstMid to the end of the...
ELIZA is an early natural language processing computer program developed from 1964 to 1967 at MIT by Joseph Weizenbaum. Created to explore communication...
void CopyArray(B[], A[], n) { for (i = 0; i < n; i++) A[i] = B[i]; } Pseudocode for top-down merge sort algorithm which recursively divides the input...
Fair queuing is a family of scheduling algorithms used in some process and network schedulers. The algorithm is designed to achieve fairness when a limited...
Backtracking is a class of algorithms for finding solutions to some computational problems, notably constraint satisfaction problems, that incrementally...
Shellsort, also known as Shell sort or Shell's method, is an in-place comparison sort. It can be seen as either a generalization of sorting by exchange...
as for encryption. The same 28 bits are passed to all rotation boxes. Pseudocode for the DES algorithm follows. // All variables are unsigned 64 bits //...
reached, then the key is not present in the tree.: 290–291 The following pseudocode implements the BST search procedure through recursion.: 290 The recursive...
Ordering points to identify the clustering structure (OPTICS) is an algorithm for finding density-based clusters in spatial data. It was presented by Mihael...
Learning is repeated (on new batches) until the network performs adequately. Pseudocode for a stochastic gradient descent algorithm for training a three-layer...
intrinsic functions applied to constant values. Consider the following pseudocode: int x = 14; int y = 7 - x / 2; return y * (28 / x + 2); Propagating x...
A CUSIP (/ˈkjuːsɪp/) is a nine-character numeric or alphanumeric code (e.g. 037833100 for Apple) that uniquely identifies a North American financial security...
The MD5 message-digest algorithm is a widely used hash function producing a 128-bit hash value. MD5 was designed by Ronald Rivest in 1991 to replace an...
time required for a complete search of the solution space. The following pseudocode presents the simulated annealing heuristic as described above. It starts...