ECON 441 Midterm: ECON 441 University of Michigan Exam 1a Spring 02
Document Summary
Times: thursday 2018-03-01 at 19:00 to 20:50 (7 to 8:50pm) Crowdmark: (12 total marks) true or false. a. Mips treats all interrupts and exceptions as exceptions. b. When implementing a spinlock, lw and sw are used to test-and-set the lock atomically. c. It is not possible to have consecutive trapframes on a stack. d. A semaphore can allow multiple threads into a critical section. e. The bits used for the segment number limit the size of the segment. f. Volatile variables guarantee atomicity of loads and stores. g. All processes terminate by a call to exit. i. j. Dynamic relocation is e cient with respect to translation space and time. Address spaces contain but do not use 0x0 because this address is reserved for null. k. Crowdmark: (14 total marks) short answer, (3 marks) list three possible sources of race conditions, (2 marks) on a multi-cpu system, suppose interrupts are turned off and no re-arranging of.