Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A virtual word-addressed memory system has a page size of 1024 words, eight virt

ID: 3692543 • Letter: A

Question

A virtual word-addressed memory system has a page size of 1024 words, eight virtual pages, four physical page frames, and uses the LRU page replacement policy, i.e. when bringing a page from disk, if there is no empty frame, the least recently used (referenced) page is replaced. The page table of the current (and only) process is as follows: (a) What is the main memory address for virtual address 4096? (b) What is the main memory address for virtual address 1024? (c) If a page fault occurs, which page frame will be used for the missing virtual page?

Explanation / Answer

(a)

tag =12 and word = 4

(b)

tag = 12 word = 0

(c) 11 is the age frame

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote