Past exams and quizzes
Below are some past exams from Profs. Lu and Quinn. Since the emphasis in
ECE 26400 shifts slightly from semester to semester, some of these may include
topics not covered this semester, and vice versa. Some of these have been edited
to correct typos.
Quinn
Fall 2017 |
Exam 1
|
blank
|
solution
|
|
Exam 2
|
blank
|
solution
|
linked lists, multi-dimensional arrays, files, function addresses |
Exam 3
|
blank
|
solution
|
linked lists, recursion(x2), code quality, binary files, images, syntax for structures and memory addresses, Huffman coding |
Quiz 1
|
blank
|
solution
|
structures in memory |
Quiz 2
|
blank
|
solution
|
GDB |
Quiz 3
|
blank
|
solution
|
memory, malloc(…), assert(…), DRY rule |
Quiz 4
|
blank
|
solution
|
exam 1 remix: struct/address syntax, memory, malloc(…) |
Quiz 5
|
blank
|
solution
|
files, arrays |
Quiz 6
|
blank
|
solution
|
linked lists |
Quiz 7
|
blank
|
solution
|
bitwise operations |
Quiz 8
|
blank
|
solution
|
Huffman coding, BMP images |
Fall 2016 |
Exam 1
|
blank
|
solution
|
number bases, ASCII, data types, strings, malloc, variadic functions, test-driven development, GDB, memory, code quality |
Exam 2
|
blank
|
solution
|
|
Exam 3
|
blank
|
solution
|
|
Quiz 1
|
blank
|
solution
|
number bases |
Quiz 2
|
blank
|
solution
|
linked lists in memory |
Quiz 3
|
blank
|
solution
|
vim |
Quiz 4
|
blank
|
solution
|
dynamic memory, valgrind |
Quiz 5
|
blank
|
|
DRY, assert, sizeof, BSTs, qsort (exam #2 recap) |
Quiz 6
|
blank
|
|
binary files, BMP image format |
In-class exercise
|
blank
|
|
address syntax |
In-class exercise
|
blank
|
|
binary search trees (BSTs) |
In-class exercise
|
blank
|
|
deduplicating code - DRY Rule |
In-class exercise
|
blank
|
|
dynamic memory, malloc(…) |
In-class exercise
|
blank
|
|
form for memory exercises |
In-class exercise
|
blank
|
|
pre-/post-conditions and loop invariants |
In-class exercise
|
blank
|
|
pthread and multi-threaded programming |
In-class exercise
|
blank
|
|
pass by address, swap(…) |
In-class exercise
|
blank
|
|
stack inspection at the low level |
Fall 2015 |
Exam 1
|
blank
|
solution
|
|
Exam 2
|
blank
|
solution
|
|
Final exam
|
blank
|
solution
|
|
Quiz 1
|
blank
|
solution
|
bases, printf |
Quiz 2
|
blank
|
|
dynamic memory, valgrind |
Quiz 3
|
blank
|
solution
|
vim |
Quiz 4
|
blank
|
solution
|
linked lists in memory |
Quiz 5
|
blank
|
solution
|
linked lists, sizeof(…) |
Quiz 6
|
blank
|
solution
|
threads |
Quiz 8
|
blank
|
solution
|
files, gdb |
Fall 2014 |
Exam 1
|
blank
|
|
joint with Lu |
Exam 2
|
|
solution
|
joint with Lu |
Exam 3
|
blank
|
solution
|
|
Final exam
|
blank
|
solution
|
|
Lu