Data Structures

Explain Pseudo code

It is a form of structured English that describes algorithms. It facilitates the designers to focus on the logic of the algorithm without getting bogged down by the details of language syntax. Pseudocode is a compact and informal high-level description of an algorithm that uses the structural conventions of a programming language. It is meant for human reading rather than machine reading, so it omits the details that are not essential for humans. Such details include keywords, variable declarations, system-specific code and subroutines. There are no standards defined for writing a pseudocode because it is not an executable program. Flowcharts can be considered as a graphical alternative to pseudocode, but are more spacious on paper.
[wp_ad_camp_1]
E.g.: To compute the area of Rectangle
Begin
Input length, breadth
Area=length*breadth
Print Area
End

Leave a comment

Your email address will not be published. Required fields are marked *