CS 110 Final: CS 110 Final Exam Fall 2014

16 views12 pages

Document Summary

This is a closed book, closed note, closed computer exam (although you are allowed to use your two double-sided cheat sheets. ) You have 180 minutes to complete all problems. You don"t need to #include any libraries, and you needn"t guard against any errors unless specifically instructed to do so. Understand that the majority of points are awarded for concepts taught in cs110. If you"re taking the exam remotely, you can call me at 415-205-2242 should you have questions. I accept the letter and spirit of the honor code. I"ve neither given nor received aid on this exam. I pledge to write more neatly than i ever have in my entire life. Score grader: sigcall and system call traces. [10] ______ _____: concurrency and networking redux [18] ______ ______ // vector template class vector { public: vector(); vector(size_t count, const t& elem = t()); size_t size() const; const t& operator[](size_t index) const; // shorthand is v[index]