Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.
Difficulty: Hard
About this MCQ
This Hard Programming Concepts MCQ checks one syllabus fact.
The question is: “Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.”
The accepted answer is B. Static typing. “Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.” is answered by Static typing (option B). Option A (“Variable scope”) does not match the stem; it is a near-miss used to catch incomplete recall of Static typing. Option C (“Conditional statement”) does not match the stem; it is a near-miss used to catch incomplete recall of Static typing. Remaining alternatives (Exception handling) fall outside the same rule and should be eliminated once Static typing 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. Variable scope
Why not A: “Variable scope” is not correct. The accepted answer is B. Static typing. “Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.” is answered by Static typing (option B). Option
- B. Static typing ✓
- C. Conditional statement
Why not C: “Conditional statement” is not correct. The accepted answer is B. Static typing. “Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.” is answered by Static typing (option B). Option
- D. Exception handling
Why not D: “Exception handling” is not correct. The accepted answer is B. Static typing. “Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.” is answered by Static typing (option B). Option
Correct answer
B. Static typing
Explanation
“Identify the correct concept described as: a type system where variable types are checked at compile time rather than at runtime.” is answered by Static typing (option B). Option A (“Variable scope”) does not match the stem; it is a near-miss used to catch incomplete recall of Static typing. Option C (“Conditional statement”) does not match the stem; it is a near-miss used to catch incomplete recall of Static typing. Remaining alternatives (Exception handling) fall outside the same rule and should be eliminated once Static typing 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 the region of a program where a declared variable can be accessed?
- What does Array refer to?
- Which term refers to a data structure that stores a fixed-size sequential collection of elements of the same t...
- Select the accurate description of Conditional statement.
- The following statement describes a specific concept. What is it called? a control structure that executes dif...
- What is Exception handling primarily used for?