Pseudocode Haggis

?

National 5 Pseudocode:

Pseudocode is a way of writing down how you want a program to work.

Some poeple in the real world rely on pseudocode, whilst others simply use Flow Charts.

In National 5, we must be able to use the standard of pseudocode known as Haggis. More specifically, we must be able to know how to use it to find or write input validation.

However, to understand this, we must understand some basics first of all:

Receiving an Input:

To receive an input in pseudocode, we use the phrase "RECEIVE variablename(variabletype) FROM KEYBOARD".

This is effectively the same as doing variablename = variabletype in Python.

Sending an Output:

We can send an output by using the phrase SEND thing TO…

Comments

No comments have yet been made