These control structures are common in almost all programming languages and hence can be used when required. While writing pseudocode one can use control structures that include for, while, if-then-else, repeat until. Hence, pseudocode cannot be executed on a computer, rather it eases the work of a programmer as it can be easily understood. Pseudocode does not have a specific syntax unlike a program that is written using syntaxes of a particular language. Pseudocode can be easily understood by someone who has basic knowledge of programming. In other words, we can say that pseudocode is a cooked-up representation of an algorithm. Pseudocode, as the name suggests, is a false code or is a high-level description of an algorithm.
0 Comments
Leave a Reply. |