Exams

Exam Overview

Both of our exams will be in-person, on paper, individual exams.

Midterm Exam: Wednesday, May 6, 2026 ( BAG 131, and BAG 154, 5:30 - 6:40 pm)

  • BAG 154: AA/CA, AC/CC, BE
  • BAG 131: AD/CD, AE/CE, BD/DD, BA/DA, BB/DB, BC/DC
Final Exam: Wednesday, June 10, 2026 ( KNE 210 and KNE 220, 12:30 - 2:20 pm)

Policies, topics, and sample exams will be posted later.

Midterm Details

Midterm Policies

You will have 70 minutes to complete the exam. You will be asked to check in with a specific staff member early in the exam room to receive a copy of the exam. 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: student ID, pencil, eraser, ONE 8.5" x 11" double-sided sheet of handwritten notes (these must be written by hand on paper, not written on an electronic device and printed out), scientific calculator (optional)
  • Provided: midterm reference sheet [PDF], printed exam with white space for work, time keeping
    • Countdown timer and exam clarifications will be projected in the lecture hall
  • Not Allowed: books, printed notes, cell phone (silence and put away), watches, AI/AR glasses, hats, graphing calculator, or any other electronic device (unless specifically allowed by an approved accommodation)

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
  • Building an Executable: compiling, linking, loading

Anything from the beginning of the course, up to and including the discussion of building an executable in LC13 on Mon 4/27/26 is fair game. (multi-dimensional and multi-level arrays will not be covered.)

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


Midterm Practice

Past Midterm Exam Database

Winter 2026
Exam [PDF]   |   Solutions [PDF]   |   Garza
Autumn 2025
Exam [PDF]   |   Solutions [PDF]   |   Hsia/Hu
Summer 2025 (2)
Exam [PDF]   |   Solutions [PDF]   |   Michael
Summer 2025 (1)
Exam [PDF]   |   Solutions [PDF]   |   Michael
Winter 2020
Exam [PDF]   |   Solutions [PDF]   |   Anderson
Autumn 2019
Exam [PDF]   |   Solutions [PDF]   |   Hsia
Summer 2019
Exam [PDF]   |   Solutions [PDF]   |   Wolfson
Spring 2019
Exam [PDF]   |   Solutions [PDF]   |   Anderson
Winter 2019
Exam [PDF]   |   Solutions [PDF]   |   Willsey
Autumn 2018
Exam [PDF]   |   Solutions [PDF]   |   Hsia
Summer 2018
Exam [PDF]   |   Solutions [PDF]   |   Hsia
Spring 2018
Exam [PDF]   |   Solutions [PDF]   |   Grossman
Winter 2018
Exam [PDF]   |   Solutions [PDF]   |   Wyse
Autumn 2017
Exam [PDF]   |   Solutions [PDF]   |   Hsia
Spring 2017
Exam [PDF]   |   Solutions [PDF]   |   Anderson
Winter 2017
Exam [PDF]   |   Solutions [PDF]   |   Ceze
Autumn 2016
Exam [PDF]   |   Solutions [PDF]   |   Hsia
Spring 2016
Exam [PDF]   |   Solutions [PDF]   |   Holt
Winter 2016
Exam [PDF]   |   Solutions [PDF]   |   Grossman
Autumn 2015
Exam [PDF]   |   Solutions [PDF]   |   Anderson