An essential part of the CS 1 course based on Pascal is the idea of random access memory usage when structured programs are executed. A survey of several texts reveals that the view of both variables and constants as memory locations for data is in many cases not systematically carried over and developed further when procedures and functions are presented. This paper presents a systematic method for understanding memory usage when dealing with subprograms in Pascal and presents a survey of current approaches.
/lp/association-for-computing-machinery/classroom-presentation-of-memory-usage-with-constants-variables-and-F4Z407b10i