Date: Monday, July 29, 2019 (in lecture)
Time: 10:50am - 11:50am (60 minutes)
Location: Sieg 134
Program Organization
#include
, #define
, #ifndef
, etc.#ifndef
guardsstatic
for internal linkagegit
)
add
, commit
, push
, etc.C Language
int32_t
, uint64_t
)typedef
stdin
, stdout
, fopen
, fread
, scanf
, printf
, etc.open
, read
, write
, etc.errno
malloc
, free
)C++ Language
cout
, cin
, <<
and >>
)new
, delete
, delete[]
)const
(const data and parameters, const member functions)Below are links to some past midterms. We suggest using them to get an impression of the kinds of content that will be on the exam and using them as practice. However, note that the format and style of the questions will differ somewhat this quarter. Also note that some were given during a different amount of time, e.g. 70 min. In addition to old exams, you may want to review homework exercises, work the suggested exercises at the end of most of the lectures, and review lecture and section material.
Note: Past exams are generally correct, but they have not been vetted for accuracy so there is always the possibility of a typo or error in a sample solution somewhere. If in doubt, ask on Piazza.
Date: Friday, August 23, 2019 (in lecture)
Time: 10:50am - 11:50am (60 minutes)
Location: Sieg 134
The focus of every question on the final exam will be on material after the midterm. However, note that in the process of answering questions on the final you may need to use knowledge of C, C++, and POSIX from before the midterm.
More C++
Network Programming
Concurrency
Final exams given during Autumn, Winter, and Spring quarters are typically 110 minutes long. Exams given during Summer quarters are typically 60 minutes long (the same length as this quarter). The topics are generally the same so all of the old exams should be useful for review.
Note: Past exams are generally correct, but they have not been vetted for accuracy so there is always the possibility of a typo or error in a sample solution somewhere. If in doubt, ask on Piazza.