Operating systems

User Generated

unzuna

Computer Science

Description

Kind rules:

1) No plagrism!

2) Solve in time or before time

3) revise well

4) everything will be sent

date of exam : 19th of august

Unformatted Attachment Preview

Week Topic 1 1 Introduction, Threads 2 Mutual Exclusion, Locks 3 Producer-Consumer, Readers-Writers 4 Dining Philosopher and Pitfalls Liveness Safety LO 5 6 Introduction 7 Memory Allocation 8 Multi-Process Systems 9 Memory Protection 10 Virtual Memory 11 Revision Session Topic 2 Patterns, Hardware, OS Semaphores Spin locks and Barrier Synchronization Protocols Programming Model Processes Input and Output File-Systems Paging Emerging Issues
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

Please view explanation and answer below.The exam was on 19th August and sent

1

Exam solutions

Student’s Name
Institution Affiliation
Course
Professor’s Name
Date

2
Exam solutions
Question 4
4a AuEqual allocation:
In a systems with x frames and y processes, the total number of frames distributed to each
process is equal, as shown by the expression x/y. For illustration purposes, if there are 48 frames
in the system and 9 processes, then each process will get 5 frames. A free-frame buffers pool
may be created out of the three frames that have been left without being assigned to any process.
The distribution of equal frames among all processes in a system that has processes of varied
sizes is inefficient and does not make a lick of sense. When a high number of frames are given to
a relatively simple procedure, the result will ultimately be the loss of a huge number of frames
that have been allotted but are not being utilized.
Question 4b
When 7 0 1 2 are assigned to the slots that are vacant, this results in four page faults since the
slots were initially empty.
0 is already present, hence the page will fail with a 0 Page fault. Because the number 7 will not
be needed for the greatest amount of time in the foreseeable future, it will be replaced by the
number 3 when it arrives. —>1 Page fault. 0 is already present, hence the pa...


Anonymous
Great! 10/10 would recommend using Studypool to help you study.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Related Tags