Point Out The Correct Statement #475
Point out the correct statement?
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Control Structures, Functions, Scoping Rules, Loop Functions and Debugging - Scoping Rules - Quiz No.2.
Point out the correct statement?
An environment is a collection of (symbol, value) pairs, i.e. x is a symbol and 3.14 might be its value
If the value of a symbol is not found in the environment in which a function was defined, then the search is continued in the child environment
After the top-level environment, the search continues down the search list until we hit the parent environment
Dynamic scoping turns out to be particularly useful for simplifying statistical computations