Which of the following are true, and which are false?
What is a just-in-time compiler?
What is shadowing, and how can it occur? Give an example.
An implementation of a programming language is not normally considered to be an adequate definition of the language. Why not? What would be the consequences of using an implementation as a definition?
What is an important advantage of the linked representation of sequences over the sequential representation?
What is an important advantage of the sequential representation of sequences over the linked representation?
Show that the following BNF grammar is ambiguous. The start symbol is <S>.
<S> ::= <S> a | a <S> | a
Show a parse tree for string aacacab according to the following grammar, where the start symbol is <S>.
<S> ::= <F> a <S> | b <F> ::= a <F> | c
Write a BNF grammar for sequences of left and right parentheses that are balanced. A sequence of parentheses is balanced if parentheses match and are well nested. For example, (()(())) is balanced, but )( and ())()( are not balanced.
What is a solution to pattern match equation [x,y+1] = [7,99]?
What is the head of list [2,4,6]? What is the tail of list [2,4,6]?