Structure of a psuedocode Flashcards
1
Q
Define the term ‘variable’
A
Variables are the names you give to computer memory
locations which are used to store values in a computer program. The
value that is stored by a variable can change.
2
Q
Define a constant
A
A constant is a name you give to a computer memory
locations which is used to store values in a computer program. The
value of a constant cannot change during the program’s execution.
Thus, as its name implies – the value is constant.
3
Q
Describe the typical pattern found in psuedocode algorithms
A
request input
accept input
process input
store results of the process
display results