UGC NET CS 2011 Dec-Paper-2
May 11, 2024Database-Management-System
May 11, 2024Question 10750 – Programming
Early binding refers to a binding performed at compile time and late binding refers to a binding performed at execution time. Consider the following statements:
i. Static scope facilitates w1 bindings.
ii. Dynamic scope requires w2 bindings.
iii. Early bindings w3 execution efficiency.
iv. Late bindings w4 execution efficiency.
The right choices of wl, w2, w3 and w4 (in that order) are
Correct Answer: D
Question 138 Explanation:
Static scoping can do early binding (during compile time). Early binding increases efficiency.
Dynamic scoping requires late binding (during execution time).
Late binding decreases efficiency as this binding needs to be done at run time.
Dynamic scoping requires late binding (during execution time).
Late binding decreases efficiency as this binding needs to be done at run time.
Early, late, decrease, increase
Late, early, increase, decrease
Late, early, decrease, increase
Early, late, increase, decrease