SYSC 4507 Midterm: Exam-SYSC4507-2009March

180 views7 pages

Document Summary

Sysc4507 computer architecture midterm test 2, 25 march, 2009. This midterm has 7 pages and 7 questions (plus bonus question). Make sure you have a complete copy: no notes or books allowed. Calculators are permitted: positively no talking in the examination room, all questions are to be answered on this exam paper. Sysc4507 test #2 - march 25, 2009 - page 1 of 7. Consider the following sequence of page address requests generated by a two-level virtual memory system with a main memory capacity of 3 pages (i. e. page 1 is requested, then page 2, ) Show the memory contents after each request and compute the hit ratio using the first-in-first-out (fifo) and least recently used (lru) replacement policies. A computer has a first-level on-chip cache, and a second-level off-chip cache. During the execution of a program, 1000 instructions are fetched from the memory system. The hit ratio for the l1 cache is.