Multiple choice

Define what a constant is in programming

  1. A memory location.

  2. A memory store that you cannot change.

  3. A value.

  4. A memory store that you can change.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A constant is a named memory location whose value is fixed and cannot be altered once the program is running. Variables, by contrast, are designed to have their values changed.