Which term refers to a named storage location in memory that holds a value which can change during program execution?
Difficulty: Easy
About this MCQ
This Easy Programming Concepts MCQ checks one syllabus fact.
The question is: “Which term refers to a named storage location in memory that holds a value which can change during program execution?”
The accepted answer is D. Variable. Variable is the person, body, or term that satisfies “Which term refers to a named storage location in memory that holds a value which can change during program execution” (option D). Option A (“Array”) does not match the stem; it is a near-miss used to catch incomplete recall of Variable. Option B (“Conditional statement”) does not match the stem; it is a near-miss used to catch incomplete recall of Variable. Remaining alternatives (Pointer) fall outside the same rule and should be eliminated once Variable is identified. Programming Concepts questions of this type reward precise definitions rather than approximate associations. Programming Concepts recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
- A. Array
Why not A: “Array” is not correct. The accepted answer is D. Variable. Variable is the person, body, or term that satisfies “Which term refers to a named storage location in memory that holds a value which can change during program execution” (option
- B. Conditional statement
Why not B: “Conditional statement” is not correct. The accepted answer is D. Variable. Variable is the person, body, or term that satisfies “Which term refers to a named storage location in memory that holds a value which can change during program execution” (option
- C. Pointer
Why not C: “Pointer” is not correct. The accepted answer is D. Variable. Variable is the person, body, or term that satisfies “Which term refers to a named storage location in memory that holds a value which can change during program execution” (option
- D. Variable ✓
Correct answer
D. Variable
Explanation
Variable is the person, body, or term that satisfies “Which term refers to a named storage location in memory that holds a value which can change during program execution” (option D). Option A (“Array”) does not match the stem; it is a near-miss used to catch incomplete recall of Variable. Option B (“Conditional statement”) does not match the stem; it is a near-miss used to catch incomplete recall of Variable. Remaining alternatives (Pointer) fall outside the same rule and should be eliminated once Variable is identified. Programming Concepts questions of this type reward precise definitions rather than approximate associations. Programming Concepts recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.
Source: Programming Concepts Official Reference Guide
Tags: computer science, programming, coding basics, software development
Submitted by: MCQsHub Editorial
Related MCQs
- What is the name for a programming construct that repeats a block of code while a condition is true?
- Which of the following best describes Loop?
- Identify the correct concept described as: a reusable block of code that performs a specific task and can be c...
- Function is best defined as which of the following?
- A technique where a function calls itself to solve smaller instances of a problem. What is this concept called...
- Choose the correct description of Recursion.