Exams

last update:

Midterm 1 (Key)

  • When: Tuesday, September 25 8:00pm-9:00pm
  • Where:

    • A-L: EE 170
    • M-Z: ME 1061
  • The exam is open book and open notes.

  • Topics: All topics covered from Lecture 1 to Lecture 3

    • Focus on topics covered by PSet 1 and PSet 2
    • There will be some multiple-choice questions about concepts of compilers, such as
      • Types of a compiler (difference between standard compiler and JIT compiler, etc.)
      • Phases of a compiler (front-end and back-end, scanner, parser, code generator, etc.)
  • There will be a review session on Monday, September 24.

  • The exam will follow the I DON’T KNOW rule: if you do not know the answer to a problem, you can simply write I DON'T KNOW and you will get 20% of the credit for that problem (for knowing you do not know the answer and saving us time for reading junk). The number of points you get in this manner cannot exceed 10 points across the whole exam.

Midterm 2 (Key)

  • When: Thursday, November 1 8:00pm-9:15pm
  • Where: FRNY G140

  • The exam is open book and open notes.

  • Topics: All topics covered from Lecture 4 to Lecture 7, and Lecture 9

    • Focus on topics covered by PSet 3 and PSet 4
    • Global register allocation (Lecture 8) will not be covered
    • There will be some short-answer questions about concepts of optimizations, such as register allocation, common subexpression elimination, and instruction scheduling
  • There will be a review session on Wednesday, October 31.

  • The exam will follow the I DON’T KNOW rule: if you do not know the answer to a problem, you can simply write I DON'T KNOW and you will get 20% of the credit for that problem (for knowing you do not know the answer and saving us time for reading junk). The number of points you get in this manner cannot exceed 10 points across the whole exam.

Final

  • When: Tuesday, December 11 7:00pm-9:00pm
  • Where: FRNY G140

  • The exam is open book and open notes.

  • Topics: Cumulative and comprehensive, covering all material taught in the course

    • ~20% on topics covered by Midterm 1
    • ~20% on topics covered by Midterm 2
    • ~60% on topics covered by PSet 5
  • There will be a review session on Friday, December 7.

  • The exam will follow the I DON’T KNOW rule: if you do not know the answer to a problem, you can simply write I DON'T KNOW and you will get 20% of the credit for that problem (for knowing you do not know the answer and saving us time for reading junk). The number of points you get in this manner cannot exceed 10 points across the whole exam.