teach-ict.com logo

THE education site for computer science and ICT

2. Pseudocode

Pseudocode is a text-based way of setting out an algorithm. Here is a very simple example:

  • START
  • Fetch a tea cup
  • Boil some water
  • Place a tea bag into the cup
  • Pour on boiling water
  • Stir teabag
  • Remove teabag
  • END

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, which you can find more details on Here, starting from page 32.

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.

bubble sort

 

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