What is pseudo code?
Pseudocode is an informal way of programming description that does not require any strict programming language syntax or underlying technology considerations. It is used for creating an outline or a rough draft of a program. Pseudocode summarizes a program’s flow but excludes underlying details. System designers write pseudo code to ensure that programmers understand a software project's requirements and align code accordingly.
How Do I Write Pseudocode?
Writing pseudo code is pretty easy actually:
- Start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
- Indent when you are enclosing instructions within a loop or a conditional clause. A loop is a set of instructions that are repeated. A conditional clause is formed by comparison and what to do if that comparison succeeds or fails. This technique makes sure it's easy to read.
- Avoid words associated with a certain kind of computer language.
It turns out that there are some fairly standard words you can use. These include standard looping structures like the following:
- FOR … ENDFOR
- WHILE…ENDWHILE
There are also some terms for standard conditional clauses:
- IF … ENDIF
- WHILE … ENDWHILE (this is both a loop and a conditional clause by the way)
- CASE … ENDCASE
What is an algorithm
- An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem
- Algorithms are widely used throughout all areas of IT (information technology). A search engine algorithm, for example, takes search strings of keywords and operators as input, searches its associated database for relevant web pages, and returns results.
Ref:-https://whatis.techtarget.com/definition/algorithm
Advantages
- Can be easily done a world processor
- easily modified
- increase product reliability
- its can be written easily
- its can be read and write understand easily
- help to trap defects before they become code
- may decrease the overall cost
Disadvantages
- it's no visual
- introduce error possibility
- we, not style font format
- we do not a picture effects
What is Flowcharts
A flow chart is a graphical or symbolic representation of a process. Each step in the process is represented by a different symbol and contains a short description of the process step. The flow chart symbols are linked together with arrows showing the process flow direction.
Benefits of flowchart
- Instant Communication
- Effective Coordination
- Efficiency Increase
- Effective Analysis
- Problem Solving
- Proper Documentation
 |
| Flow chat |
Disadvantages
- Complex logic
- Reproduction
- Alterations and Modifications