CSCI 316: Quiz 4 - Lexical and Syntax Analysis
Sign in to Google to save your progress. Learn more
Email *
Last Name *
First Name *
Student Id *
The primary task of a lexical analyzer is to: *
1 point
A token consists of: *
1 point
A lexeme is best defined as: *
1 point
Which of the following is typically not a token category? *
1 point
Lexical analyzers are often generated from descriptions based on: *
1 point
Which of the following is a typical responsibility of the lexical analyzer? *
1 point
A finite automaton is most closely associated with: *
1 point
The parsing process determines whether a program: *
1 point
Syntax analysis is based on: *
1 point
The output of a parser is typically a: *
1 point
A derivation is a sequence of: *
1 point
A leftmost derivation always expands the: *
1 point
A grammar is ambiguous if: *
1 point
Top-down parsing begins with the: *
1 point
Which parsing technique is top-down? *
1 point
A major limitation of recursive-descent parsers is that they: *
1 point
Which of the following is a bottom-up parsing technique? *
1 point
In shift-reduce parsing, a shift operation: *
1 point
In shift-reduce parsing, a reduce operation: *
1 point
A handle is: *
1 point
One advantage of bottom-up parsers is that they: *
1 point
Which class of parsers is widely used in compiler generators? *
1 point
A panic-mode error recovery strategy: *
1 point
Phrase-level error recovery attempts to: *
1 point
Lexical errors are usually caused by: *
1 point
Syntax errors occur when: *
1 point
Which phase typically builds the symbol table entries for identifiers? *
1 point
Context-free grammars are insufficient to describe: *
1 point
Removing left recursion is required for which parsing approach? *
1 point
In summary, lexical and syntax analysis are: *
1 point
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report