CS 140 Midterm: CS 140cs140 midterm fall 2003

18 views10 pages
31 Jan 2019
Course
Professor

Document Summary

October 31st, 2003 (total time = 50 minutes, total points = 50) 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. This examination is close notes and close book. You may not collaborate in any manner on this exam. You have 50 minutes to complete the exam. Before starting, please check to make sure that you have all 10 pages. Cs140 midterm fall 2003: cpu scheduling (14 points total) Cs140 midterm fall 2003 (3 points) programs such as just-in-time compilers for java increase performance by using runtime code generation to generate better code to run. Explain how runtime code generation can actually hurt performance. Name___________________: memory (17 points total) (4 points) at one time, virtual memory system designers were advised to bias page replacement algorithms against modified pages in favor of those that have not been modified.