spring08_homework3A

spring08_homework3A - Homework 3(72 Points CS 143A Spring...

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

View Full Document Right Arrow Icon
Homework 3 (72 Points) CS 143A, Spring 2008 Start Early. Do not hesitate to ask questions. If you make any assumptions, state them and be brief in your answers. Hand in your homework to the distribution center before the following due  date/time. Due Date: 5/28/08 2pm Wednesday Question 1 (20 points):  Consider the following snapshot of a system: Process Allocation Max Available A B C D A B C D A B C D P0 1 1 1 4 1 7 5 6 2 3 1 1 P1 0 4 3 2 0 5 6 2 P2 0 0 1 2 0 0 1 2 P3 1 4 2 0 1 7 5 0 P4 1 3 5 4 2 3 5 6 What is the contents of the matrix Need?  (10 points) Process Need A B C D P0 P1 P2 P3 P4
Image of page 1

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

View Full Document Right Arrow Icon
Is the system in a safe state? If yes, give a safe sequence of processes. If your answer is  no, explain why.  (10 points) Question 2 (6 Points): Consider a logical address space of 256 pages of 512 words each, mapped onto a physical memory of  64 frames.  Assume the architecture is word-addressed (i.e., each address in the memory addresses a 
Image of page 2
Image of page 3
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