Compiler Design quiz: 60 questions
60 questions from the 15 lessons of Compiler Design. Each answer is explained, with a link back to the lesson it comes from, and your best score stays on this device.
Test yourself
60 questions from this course's lessons, in a random order. See what you remember, then go back to the lessons behind the questions you missed.
What the quiz covers
- How a compiler works (4 questions)
- Lexical analysis with regular expressions (4 questions)
- A hand-written lexer (4 questions)
- Recursive-descent parsing (4 questions)
- FIRST and FOLLOW sets (4 questions)
- LL(1) parsing with a table (4 questions)
- Bottom-up parsing: shift and reduce (4 questions)
- Abstract syntax trees (4 questions)
- Symbol tables and scopes (4 questions)
- Type checking (4 questions)
- Three-address code (4 questions)
- Optimizing intermediate code (4 questions)
- Basic blocks, control-flow graphs and liveness (4 questions)
- Generating code for a stack machine (4 questions)
- Register allocation (4 questions)