There will be an exam on Wednesday, February 25, from 6 to 8pm in 120 Latimer (note the relocation). It's open-book and open-notes. Calculators, cell phones, etc. will not be allowed.
It will cover up through homework assignment 5 and the lab activities of February 19 and 20:
C, assembly language, and the correspondence between them
use of malloc and free
what goes into the heap, and what goes into the stack
.c versus .h files
functions declared in string.h
machine representation of instructions
The files in this directory contain a number of problems used in earlier CS 61CL and CS 61C exams. There is not an exact correspondence between the content tested on these exams and what will appear on our exam, due to timing differences and differing topic sequence from semester to semester. The table below lists the problems of most relevance to our exam.
exam | relevant problems | solutions |
f08.exam1.pdf | 2, 3, 4, 5 | f08.exam1.solns.pdf |
f08.exam2.pdf | 1, 2, 6, 9 | f08.exam2.solns.pdf |
old1.pdf | 1, 4, 5, 6, 7, 8, 9, 10, 11, 14 | old1.solns.pdf |
old2.pdf | 1-8, 10-13, 17-22 | old2.solns.pdf |
old3.pdf | none |