Saved Bookmarks
| 1. |
Point out the wrong statement?(a) Dynamic scoping turns out to be particularly useful for simplifying statistical computations(b) Lexical scoping turns out to be particularly useful for simplifying statistical computations(c) The scoping rules of a language determine how values are assigned to free variables(d) An environment is a collection of (symbol, value) pairs, i.e. x is a symbol and 3.14 might be its value |
|
Answer» Correct option is (a) Dynamic scoping turns out to be particularly useful for simplifying statistical computations The explanation is: Free variables are not formal arguments and are not local variables (assigned inside the function body). |
|