CS 140 Final: CS 140cs140 final summer 2005
Document Summary
In recognition of and in the spirit of the stanford university honor code, i certify that i will neither give nor receive unpermitted aid on this exam. Signature: this exam is closed notes and closed book, no collaboration of any kind is permitted, you have 180 minutes to complete the exam, there are 11 questions totalling 100 points. Complete but concise answers are encouraged: scpd students: if you wish to have the exam returned to you at your company, please attach an. Otherwise, we will assume that you will pick up your exam on campus. Routing slips can be obtained just outside the classroom (if you take the exam on campus) or on the scpd website. Initials: consider a multitasking os for a symmetric multiprocessing platform. In each of the following situations, state whether you would prefer to use a spinlock or a semaphore for synchronization, and why.