Classroom presentation of memory usage with constants, variables, and subprograms in Pascal

  • Authors:
  • Edward J. O'Neill

  • Affiliations:
  • Department of Mathematics and Computer Science, Fairfield University, Fairfield, CT

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 1995

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.