June 1, 2007
CS107 Final Exam Practice Problems
First Offering: Friday, June 8
at 8:30 a.m. in Cubberly Auditorium.
Second Offering: Friday, June 8
at 7:00 p.m. in Cubberly Auditorium.
Three hours, open notes, open book, closed computer.
You may take the exam at whichever is the more convenient of these two times.
I’ll provide documentation
for any relevant C, C++, Scheme, and Java built-ins, so don’t go memorizing anything.
The final exam I’m
presenting here contains many more problems than you’ll see on your final exam.
I thought it would be better
to give you plenty of practice problems—all drawn from previous midterms and finals—that’ll help you
identify the material I consider important.
This is much longer than anything you’ll see on Friday
SCP D students are encouraged to come to campus if at all possible.
Those taking it remotely can take it on
Friday evening at 7:00 p.m. (when it’ll be posted as a handout) or on Saturday morning.
I’ll have my cell
phone one me (number listed on exam) and you’ll fax the exam in (fax number also on the exam).
sure I have your exam by noon on Saturday, because we’ll need to grade it by then.
The final is comprehensive but will emphasize topics covered after the midterm.
Want to see where you've
Here's the pretty impressive list of things you've learned in 107:
Implementation—stack-heap diagrams, memory layout, structures, arrays and pointers, function calls,
parameter passing, local variables, code generation.
C— arrays, pointers,
, typecasts, function pointers, preprocessor, compiler, linker.
Simple Concurrency—threads, semaphores, binary lock, rendezvous, shared global data, race conditions.
, code factoring,