What is the purpose of the static link in a frame in the run-time stack?
What is the purpose of the dynamic link in a frame in the run-time stack?
What information is stored in a function closure?
In C, you are not allowed to write a function inside another function. But C does allow you to treat a function as a value. Does C need to use function closures?
What is one important motivation for including exception handling in a programming language?
Are backtracking and exception handling the same thing? For example, can you use the exception handling mechanism of Java to do backtracking?
Using backtracking, write a Cinnameg program fragment that will print all solutions (x,y) to equation xy - 2x2 + y = 10, where x and y are both integers in the range 0,...,100. Do not use a loop or recursion. Your program fragment can fail when it is done.
True or false.
When a variable occurs in a logic programming goal, the interpreter is being asked whether that goal holds for all values of the variable.
In logic programming, a variable in an axiom might be used as an input variable sometimes, and as an output variable at other times, when computation uses that axiom.
Unification is a form of pattern matching. Which of the following is not a characteristic of unification?