It is a specification language algorithms. The use of such language makes final encoding step (ie , the translation to a programming language ) relatively easy.
The pseudocode born as a language similar to natural language and was a basically represent mediopara control structures structured programming. A first draft is considered , since the pseudo must subsequently translated to a programming language .
The advantage of pseudocode is that in use in the planning of a program , the programmer can concentrate on the logic and control structures and not worry about the rules of a specific language . It is also easy to modify the pseudocode if you discover errors or anomalies in the logic of the program, besides all this is easy translation into languages such as Pascal , C or Basic.
The pseudocode used to represent successive actions reserved words ( similar to their counterparts in programming languages ) , such as start, end , if - then-else , while , repeat - until .... etc.
sequence
initiation
action1
share2
.
.
.
action n
end
decision
simple
if condition then
action1
share2
.
.
.
action n
double
if condition then
action1
share2
.
.
.
otherwise
action1
share2
iteration
fixed
for var. Initial whole until the end do
action1
share2
.
.
.
action n
Conditional to top
while condition do
action1
share2
.
.
.
action n
Conditional end
repeat
action1
share2
.
.
.
action n
Until condition
selection
selector cases
value1 : action1
share2
value2 : action1
share2
...
value n : action1
share2
The pseudocode born as a language similar to natural language and was a basically represent mediopara control structures structured programming. A first draft is considered , since the pseudo must subsequently translated to a programming language .
The advantage of pseudocode is that in use in the planning of a program , the programmer can concentrate on the logic and control structures and not worry about the rules of a specific language . It is also easy to modify the pseudocode if you discover errors or anomalies in the logic of the program, besides all this is easy translation into languages such as Pascal , C or Basic.
The pseudocode used to represent successive actions reserved words ( similar to their counterparts in programming languages ) , such as start, end , if - then-else , while , repeat - until .... etc.
sequence
initiation
action1
share2
.
.
.
action n
end
decision
simple
if condition then
action1
share2
.
.
.
action n
double
if condition then
action1
share2
.
.
.
otherwise
action1
share2
iteration
fixed
for var. Initial whole until the end do
action1
share2
.
.
.
action n
Conditional to top
while condition do
action1
share2
.
.
.
action n
Conditional end
repeat
action1
share2
.
.
.
action n
Until condition
selection
selector cases
value1 : action1
share2
value2 : action1
share2
...
value n : action1
share2
pseudocode