Pseudo code
This is an alternate method of describing algorithms that
use text instead of diagrams. It is basically just simplified code, that
doesn't follow the strict rules and syntax of a programming language, but
demonstrates the flow of the program and what it is supposed to do.
There are no definite rules to writing pseudo code, but here
are some guidelines:
·
- Describe each step of the algorithm as briefly as possible
- Use uppercase letters with keywords and other parts of the pseudo-code which are closer to a programming language
- Use lowercase letters with parts of the pseudo-code that are closer to English
- Indent code to show start and end blocks
No comments:
Post a Comment