Skip to content

Programming Concepts

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.

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

More Programming Concepts MCQs