Popular Posts

What is Pseudocode?, Pseudocode definition and Examples




What Is Pseudocode?

Pseudocode is a simple way of writing programming code in English. Pseudocode is not an actual programming language. It uses short phrases to write code for programs before you actually create it in a specific language. Once you know what the program is about and how it will function, then you can use Pseudocode to create statements to achieve the required results for your program.

Understanding Pseudocode

Pseudocode makes creating programs easier. Programs can be complex and long. Preparation is the key. For years, flowcharts were used to map out programs before writing one line of code in a language. However, they were difficult to modify, and with the advancement of programming languages, it was difficult to display all parts of a program with a flowchart. It is challenging to find a mistake without understanding the complete flow of a program. That is where Pseudocode becomes more appealing.
                                                     To use Pseudocode, all you do is write what you want your program to say in English. Pseudocode allows you to translate your statements into any language because there are no special commands and it is not standardized. Writing our programs before your code can enable you to better organize and see where you may have left out needed parts in your programs. All you have to do is write it out in your own words in short statements. Let's look at some examples below.

                        Example of Pseudocode
(1) Adding two number
  • Start Program
  • Enter Two number A, B
  • Add the number together
  • Print sum
  • End Program














No comments