Answer Key - Unit 3 Assignment - Answer Key for Unit 3...

This preview shows page 1 - 2 out of 3 pages.

Answer Key for Unit 3 Assignment – Memory ManagementProblem 1:Assume that the OS is using a memory paging method, memory pages are 200 wordslong, instructions are 1 word long, and each address in memory accesses only one word. A page table for a particular process is given below: Page Number Frame Number 0 1 2 3 4 Calculate a physical memory address for each of the following instructions. If the address cannotbe calculated using the page table, say why not. oinstruction #52 oinstruction #369 oinstruction #671 oinstruction #1100Instruction #52:Instruction #52 is on Page 0. For Page 0, it is Frame #8. The starting address for Frame #8 is 1600. Instruction #52 is the 52ndword on Page 0 and Frame #8. 1600 + 52 = 1652Instruction #369:Instruction #369 is on Page 1. For Page 1, it is Frame #6. The starting address for Frame #6 is 1200. Instruction #369 is the169ndword on Page 1 and Frame #6. 8 6 2 0 1

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture