Unit I Pseudocode
Unit I Pseudocode
UNIT I
Pseudo Code
What is Pseudocode?
• Pseudocode is an artificial and informal language that helps you
develop algorithms.
• Pseudocode is similar to everyday English; it is convenient and user
friendly although it is not an actual computer programming
language.
• Carefully prepared pseudocode programs may be converted easily
to corresponding C programs or flowchart.
• Pseudocode programs are not executed on computers. Rather, they
merely help you "think out" a program before attempting to write it
in a programming language such as C.
Pseudocode
Advantages of Pseudocode
• Improves the readability of any approach. It’s one of the best approaches to
start implementation of an algorithm.
• Acts as a bridge between the program and the algorithm or flowchart. Also
works as a rough documentation, so the program of one developer can be
understood easily when a pseudo code is written out. In industries, the
approach of documentation is essential. And that’s where a pseudo-code
proves vital.
• The main goal of a pseudo code is to explain what exactly each line of a
program should do, hence making the code construction phase easier for the
programmer.
Summary