Chapter Summary

  • A computer’s main memory holds the program that is currently executing, and it also holds many of the data items that the program is manipulating. A computer’s main memory is divided into a series of numbered locations called bytes. This memory is volatile: The data it holds disappears when the computer’s power is off.

  • A computer’s auxiliary memory is used to hold data in a more or less permanent way. Its data remains even when the computer’s power is off. Hard disk drives, flash drives, CDs, and DVDs are examples of auxiliary memory.

  • A compiler is a program that translates a program written in a high-level language like Java into a program written in a low-level language. An interpreter is a program that performs a similar translation, ...

Get Java: An Introduction to Problem Solving and Programming, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.