Question 4 You are given a memory with 3-pages, where pages 3, 4, 5 were accessed in that order and are currently in mem

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 4 You are given a memory with 3-pages, where pages 3, 4, 5 were accessed in that order and are currently in mem

Post by answerhappygod »

Question 4 You Are Given A Memory With 3 Pages Where Pages 3 4 5 Were Accessed In That Order And Are Currently In Mem 1
Question 4 You Are Given A Memory With 3 Pages Where Pages 3 4 5 Were Accessed In That Order And Are Currently In Mem 1 (71.17 KiB) Viewed 20 times
Question 4 You are given a memory with 3-pages, where pages 3, 4, 5 were accessed in that order and are currently in memory, and the next 10 pages accessed are 8, 7, 4, 2, 5, 4, 7, 3, 4, 5. For each of the following replacement policy, how many page faults will be encountered for the 10 accesses? 1. FIFO 2. OPT (the optimal replacement policy) Note: You must show the trace as follows and then provide the #faults for each policy to get the full points for each policy Working Memory for FIFO Page 0:3 Page 1: 4 Page 2: 5 #faults: Working Memory for OPT Page 0:3 Page 1:4 Page 2:5 #faults:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply