Pseudocode is a text-based way of setting out an algorithm. Here is a very simple example:
- Fetch a tea cup
- Boil some water
- Place a tea bag into the cup
- Pour on boiling water
- Stir teabag
- Remove teabag
Pseudocode is not a formal computer language and so it has no particular rules governing how it should be written. You may see many different versions in books and on the web. Your exam papers will use a specific format when asking questions, but you are not expected to adhere to it with your own answers.
What is important is that pseudocode should be easy to read, unambiguous and error free. Especially because programmers often use it to form the basis of their programming code.
Challenge see if you can find out one extra fact on this topic that we haven't already told you
Click on this link: what is pseudocode