quiz2 - Bigay,MayAnnS#2 2004140638 MCOM1 QUIZ CS244...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Bigay, May Ann S.             QUIZ  # 2 2004140638 CS244- MCOM1 1. (25 pts) A system implements a paged virtual address space for each processing using  one level page table. The maximum size of virtual address space is 16MB. The page  table for the running process includes the following valid entries. ( the   notation  indicates that a virtual page maps to the given page frame, that is, it is located in that  frame: Virtual page 2   page frame 4 Virtual page 4   page frame 9 Virtual page 1   page frame 2 Virtual page 3   page frame 16 Virtual page 0   page frame 1 The page size is 1024 bytes and the maximum physical memory size of the machine is  2MB. a. How many bits are required for each virtual address? ANSWER: There are 16MB, or  x  addresses, so we need 24 bits for virtual address. b. How many bits are required for each physical address? ANSWER: The main memory is 2MB, or  x , we need 21 bits for a physical address. c. What is the maximum number of entries in a page table? ANSWER: There are  /  pages in virtual memory, so the page table can have    entires. d. To which physical address will the virtual address   translate? ANSWER: 1524 is on PAGE 1 located at offset 500. Page 1 map to frame 2.  The physical address of 1524 is 2548. e. Which virtual address will translate to ?
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern