operating systems hw

User Generated

zbon

Computer Science

Description

please look and read the attached file for operating systems hw

Unformatted Attachment Preview

CS 431: Introduction to Operating Systems Spring 2019 - HW 4 Due date: 4 April 2019 (Thursday) 11:59 PM Submission guidelines: • You are required to answer questions 1 through 4 for full credit (30 points). • Please submit your answers in the form of a word document or a pdf on Canvas on or before the due date. 1. Using the banker’s algorithm, determine whether the following state is unsafe based on the snapshot of the system below. If the state is safe, provide a safe sequence of execution. Otherwise explain why it is unsafe. Show your calculations for full credit. [10 points] P0 P1 P2 P3 P4 Allocation A B C D 3 0 1 4 2 2 1 0 3 1 2 1 0 5 1 0 4 2 1 2 Max (Demand) A B C D 5 1 1 7 3 2 1 1 3 3 2 1 4 6 1 2 6 3 2 5 Available = (1, 0, 0, 2) 2. Given the memory partitions A (600 KB), B (800 KB), C (200 KB), D (700 KB) [in order], how would the following algorithms place processes P1 (150 KB), P2 (300 KB), P3 (600 KB) [in order]? a. First-fit b. Worst-fit [10 points] 3. What is the role of memory management unit in memory management? [5 points] 4. Explain the purpose of the base and limit registers in a multiprogramming OS. [5 points]
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey am through. All the correct answers in the attached file. I also made an extra pdf file containing all the answers

CS 431: Introduction to Operating Systems
Spring 2019 - HW 4
Due date: 4 April 2019 (Thursday) 11:59 PM
Submission guidelin...


Anonymous
I was having a hard time with this subject, and this was a great help.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags