Course review for final exam

Topics to study:

Please cover the following topics for the final exam by studying your notes and some specific sections from your text book.

  • Parsing
  • Intermediate Representations
  • Optimizations
  • Code generation

Textbook sections:

Please note down the references of specific sections in your textbook.

  • Parsing (Top-down and bottom-up parsing) – Sections 3.1-3
  • Activation records – Section 6.1
  • Data flow analysis – Sections 10.1, 11.1-3, 17.2-4
  • SSA – Section 19.1
  • Optimizations – Sections 18.1-3, 19.3

Articles to read:

Practice problems:

  • Exercises from textbook:

Ex 10.1

Ex 17.2, 17.3, 17.5

Ex 18.1, 18.2, 18.6

Ex 19.5, 19.7, 19.8, 19.11

Sample questions on parsing

Solutions to selected problems:

  • Solutions to some data flow analysis problems are here.
  • Solutions to parsing questions are here.

Final exam

Solution to final exam

 

This entry was posted in Compiler. Bookmark the permalink.

Comments are closed.