Question 128Asked in CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)

In the context of programming languages, if a compiler can determine the scope of a declaration by examining the program text alone, the language is said to…

In the context of programming languages, if a compiler can determine the scope of a declaration by examining the program text alone, the language is said to use:
  1. ADynamic policy and lexical scope
  2. BStatic policy and lexical scope
  3. CStatic policy and dynamic scope
  4. DDynamic policy and dynamic scope
Show answerHide answer

Correct answer: (B) Static policy and lexical scope

From CIL MT Systems PYQ, 24 Aug 2026 (3:00 PM, CBT-26)

This is question 128 of CIL MT Systems PYQ, 24 Aug 2026 (3:00 PM, CBT-26). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.