Which term refers to a variable listed in a function's definition that receives a value when the function is called?
Difficulty: Easy
About this MCQ
This Easy Programming Concepts MCQ checks one syllabus fact.
The question is: “Which term refers to a variable listed in a function's definition that receives a value when the function is called?”
The accepted answer is C. Parameter. Parameter is the person, body, or term that satisfies “Which term refers to a variable listed in a function's definition that receives a value when the function is called” (option C). Option A (“Runtime error”) does not match the stem; it is a near-miss used to catch incomplete recall of Parameter. Option B (“Modular programming”) does not match the stem; it is a near-miss used to catch incomplete recall of Parameter. Remaining alternatives (Code comment) fall outside the same rule and should be eliminated once Parameter 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. Runtime error
Why not A: “Runtime error” is not correct. The accepted answer is C. Parameter. Parameter is the person, body, or term that satisfies “Which term refers to a variable listed in a function's definition that receives a value when the function is called” (option
- B. Modular programming
Why not B: “Modular programming” is not correct. The accepted answer is C. Parameter. Parameter is the person, body, or term that satisfies “Which term refers to a variable listed in a function's definition that receives a value when the function is called” (option
- C. Parameter ✓
- D. Code comment
Why not D: “Code comment” is not correct. The accepted answer is C. Parameter. Parameter is the person, body, or term that satisfies “Which term refers to a variable listed in a function's definition that receives a value when the function is called” (option
Correct answer
C. Parameter
Explanation
Parameter is the person, body, or term that satisfies “Which term refers to a variable listed in a function's definition that receives a value when the function is called” (option C). Option A (“Runtime error”) does not match the stem; it is a near-miss used to catch incomplete recall of Parameter. Option B (“Modular programming”) does not match the stem; it is a near-miss used to catch incomplete recall of Parameter. Remaining alternatives (Code comment) fall outside the same rule and should be eliminated once Parameter 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
- The following statement describes a specific concept. What is it called? a type system where variable types ar...
- What is the name for a line of text in source code that is ignored by the compiler or interpreter and used to...
- What is Iteration primarily used for?
- Which of the following best describes Code comment?
- Which concept is defined as follows: the process of repeating a set of instructions until a specific condition...
- Identify the correct concept described as: an automatic memory management process that reclaims memory occupie...