pseudo code
Definition:
Is a code which
- Inform of programming description
- Does not require any strict programming language syntax or underlying technology considerations.
- Use for creating an outline or a rough draft of a program.
- Summarizes a program’s flow, but excludes underlying details
Why do we use pseudo code?
System designers write pseudo code to ensure that programmers understand a software project's requirements and align code accordingly.This definitely helps save time during actual programming as conceptual errors have been already corrected.
Discuss about pseudo code:
Pseudo code is not an actual programming language. So it cannot be compiled into an executable program.
It uses short terms or simple English language syntax's to write code for programs before it is actually converted into a specific programming language. This is done to identify top level flow errors, and understand the programming data flows that the final program is going to use.Firstly, program description and functionality is gathered and then pseudo code is used to create statements to achieve the required results for a program.
Conclusion:
The purpose of using pseudo code is an efficient key principle of an algorithm. It is used in planning an algorithm with sketching out the structure of the program before the actual coding takes place.