Final Exam Review

From Maryville College CS Wiki
Jump to: navigation, search


  1. What does the symbol table do?
  2. Be able to construct a simple symbol table given some code written in Ledgard.
  3. Sketch the pseudocode necessary to build a symbol table.
  4. What is type checking?
  5. What are some of the primary challenges of type checking?
  6. How do we recover from type errors?
  7. Given a language definition, be able to sketch out the pseudocode for its type checker.
  8. How does code generation work?
  9. Given a set of code templates and a simple language, be able to:
    1. Generate code for a small program by hand.
    2. Write the pseudocode for a code generator.