• edited by
21 views
1 1 vote

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. Dynamic policy and lexical scope
  2. Dynamic policy and dynamic scope
  3. Static policy and dynamic scope
  4. Static policy and lexical scope

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
0 0 answers
26
26 views
Shubham Sharma 2 asked Sep 15
26 views
What is the initial value of top in an empty stack implemented using an array?$0$$-1$$1$Depends on stack size
0 0 votes
0 0 answers
16
16 views
Shubham Sharma 2 asked Sep 15
16 views
A banking transaction commits successfully, but a system crash occurs immediately afterward. Which mechanism ensures durability?LockingPartial commitTransaction isolation...
0 0 votes
0 0 answers
19
19 views
Shubham Sharma 2 asked Sep 15
19 views
Consider a finite state transducer (FST) with $Q=\left\{q_{0}, q_{1}\right\}, \Sigma=\{0,1\}, \Gamma=\{a, b$, $\mathrm{c}\}$, initial state $\mathrm{q}_{0}$, and the foll...
1 1 vote
0 0 answers
20
20 views
Shubham Sharma 2 asked Sep 15
20 views
In a memory system with fixed-sized partitions, each holding one process (as in IBM OS$/360$ MFT).Which statement is correct?Multiprogramming limited; internal fragmentat...