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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the typical pattern found in psuedocode algorithms

A

request input
accept input
process input
store results of the process
display results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly