The importance of pseudocode
Prototype is basically the plain English version of an objective or task you have to do.
Think about the following objective:
Pseudocode helps you out in breaking down problems into the smallest pieces.
The amount of quiz grades is specified by the actual user. Therefore, we don’t know the exact amount and have to create a method that works regardless of the actual amount. We use an array for that.
Next up, we need a for loop for calculation the random quiz grades. The random range was not provided, therefore, let’s go with between 0 and 100.
Right after the calculation, we want to print out the just randomly created quiz grade:
Another use case for pseudocode is to remember what you want a method to do. You have the method in your head, but have to go away for some time. You come back and have forgotten what you were thinking about the method before. Pseudocode like this prevents you from this: