imperative / BASIC
Analogy
Collected by Matthias Hauswirth — Textbook 'Introduction to Computer Programming: Basic'
Makes variable tangible, gives impression of memory as a bunch of variables
PL | NM |
---|---|
variable | pigeon hole in shelf |
variable name | label attached to the pigeon hole |
value | note inside the pigeon hole |
Variables contain values
When introducing memory/information, in the form of variables in BASIC
Used by Usborne’s Introduction to Computer Programming: Basic. We found this thanks to a Twitter thread on analogies for variables.
Do you have feedback on this notional machine? Did you find a mistake, or do you have a request for improvement? You can create an Issue on GitHub, where the description is hosted. This way we can see your feedback and address it.
For this, you need a GitHub account. Then follow this link to see the source file of this page. In there, click the ... left of the highlighted line, then pick "Reference in a new issue".