Pseudocode
Pseudocode is a detailed yet readable description of what an algoritm must do, expressed in a formally-styled natural language rather than in a programming language. Pseudocode is used as an initial step in the process of deolping a program. It Provides programmers a detailed template for writing instruction in a specific programming language.
The advantages of using pseudocode are :
- It is easier and faster to write as it uses English like statements
- It does not need to be rewritten if any changes are made because each step is independent and may be modified without altring thr other step.
- It can be converted to a program using any programming language.
Disadvantages of using pseudocode are :
- Pseudocode does not provide a graphical representation of an algoritm, therefore it might be difficult to understand the complex logic in a pseudocode.
- Pseudocode depicting too many nested condition may be difficult to understand
Flowchart
Flowchart is a graphical representation of an algoritm. It consistn of a set of symbols. Each symbol represents a specifickind of activity depicted in the algoritm.
Comments
Post a Comment