Our Classroom as Memory

Programming Language

imperative / assembly

Form

Analogy

Attribution — Origin / Source

Collected by Andrew Petersen — colleague's practice

Conceptual Advantage

Provides tangible focus for discussing addresses, offsets, and even byte ordering and segments.

Mapping

PLNM
memory cell seat
value student or number given to student
address established by counting off
offset number of seats between two targets
segment front, middle, or back of the room

Draws Attention To

Relationships between items in memory, whether they are elements of an array, bytes in a single value, or different methods for allocating space.

Use When

When you first introduce the idea of an address.

Cost

Very small

Comments or Feedback?

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".

Create an Issue on GitHub