Exams



Midterm Details


Midterm Policies

You will have 60 minutes to complete the exam. We will distribute the exam early and you can read and fill out the cover page of the exam, but you should not look at the exam questions until you are told to begin.

  • To Bring: pencil, eraser
  • Provided: midterm reference sheet, printed exam with white space for work
  • Not Allowed: notes, calculator, cell phone, or any other electronic device

Midterm Topics

  • Memory, Data, and Addressing: pointers, endianness, data sizes, bitwise operators
  • Number Representation: binary, integers, floating point
  • x86-64 Topics: registers, instructions, control flow
  • Procedures and the Stack: stack structure, calling conventions, register conventions, recursion

Some of the old exams contain questions on topics that we did not cover this quarter; you should skip over such questions.


Midterm Practice

The following Midterm Review packet will be used in section 5 and in the Midterm Review session.

Older exams (prior to Autumn 2016) assume Intel's 32-bit architecture (IA-32), which differs from the x86-64 taught now, so some questions and/or answers will not make total sense and would not be correct for us.

IA-32 Questions: Spr 2015 1E, 2, 4, 6; Aut 2014 3A; Spr 2014 1B; Aut 2013 4, 5A; Sum 2013 3, 4F; Win 2013 2, 3, 4, 5; Aut 2012 2, 3, 4; Spr 2012 2; Win 2011 4, 8; Aut 2010 2, 3; Spr 2010 2, 3


Spring 2019
Exam   |   Solutions   |   Anderson
Winter 2019
Exam   |   Solutions   |   Willsey & Ceze
Autumn 2018
Exam   |   Solutions   |   Hsia
Summer 2018
Exam   |   Solutions   |   Hsia
Spring 2018
Exam   |   Solutions   |   Grossman
Winter 2018
Exam   |   Solutions   |   Wyse
Autumn 2017
Exam   |   Solutions   |   Hsia
Spring 2017
Exam   |   Solutions   |   Anderson
Winter 2017
Exam   |   Solutions   |   Ceze
Autumn 2016
Exam   |   Solutions   |   Hsia
Spring 2016
Exam   |   Solutions   |   Holt
Winter 2016
Exam   |   Solutions   |   Grossman
Autumn 2015
Exam   |   Solutions   |   Anderson
Spring 2015
Exam   |   Solutions   |   Bailey
Winter 2015
Exam   |   Solutions   |   Ceze
Autumn 2014
Exam   |   Solutions   |   Anderson
Spring 2014
Exam   |   Solutions   |   Borriello
Autumn 2013
Exam   |   Solutions   |   Borriello
Summer 2013
Exam   |   Solutions   |   Wood
Winter 2013
Exam   |   Solutions   |   Hornyack
Autumn 2012
Exam   |   Solutions   |   Borriello
Spring 2012
Exam   |   Solutions   |   Borriello
Winter 2011
    Exam   |   Solutions   |   Zahorjan
Autumn 2010
Exam   |   Solutions   |   Perkins
Spring 2010
Exam   |   Solutions   |   Borriello

Final Details


Final Policies - TBA


Additional Final Topics (cumulative) - TBA


Final Practice

Older exams (prior to Autumn 2016) assume Intel's 32-bit architecture (IA-32), which differs from the x86-64 taught now, so some questions and/or answers will not make total sense and would not be correct for us.

IA-32 Questions: Win 2015 1; Spr 2012 5; Aut 2010 4;


Autumn 2018
Exam   |   Solutions   |   Hsia
Summer 2018
Exam   |   Solutions   |   Hsia
Spring 2018
Exam   |   Solutions   |   Grossman
Winter 2018
Exam   |   Solutions   |   Wyse
Autumn 2017
Exam   |   Solutions   |   Hsia
Spring 2017
Exam   |   Solutions   |   Anderson
Winter 2017
Exam   |   Solutions   |   Ceze
Autumn 2016
Exam   |   Solutions   |   Hsia
Spring 2016
Exam   |   Solutions   |   Holt
Winter 2016
Exam   |   Solutions   |   Grossman
Autumn 2015
Exam   |   Solutions   |   Anderson
Winter 2015
Exam   |   Solutions   |   Ceze
Autumn 2014
Exam   |   Solutions   |   Anderson
Spring 2014
Exam   |   Solutions   |   Borriello
Autumn 2013
Exam   |   Solutions   |   Borriello
Summer 2013
Exam   |   Solutions   |   Wood
Winter 2013
Exam   |   Solutions   |   Hornyak
Autumn 2012
Exam   |   Solutions   |   Borriello
Spring 2012
Exam   |   Solutions   |   Borriello
Autumn 2010
Exam   |   Solutions   |   Perkins
Spring 2010
Exam   |   Solutions   |   Borriello