Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 4 . ( a ) Table 4 . 1 shows the current allocation of resources to each process and the resources that are still

Q4.(a) Table 4.1 shows the current allocation of resources to each process and the
resources that are still needed by each process to proceed and complete their
execution.
The resources currently available are R1=0,R2=0,R3=1 and R4=1. It is
obvious that all the processes are deadlocked. Resolve the deadlock by
successively abort deadlocked processes with the least total resources allocated.
Show the resources available after each abortion in your workings. (9 marks)
Table 4.1
(b) Given a user process of 8GB, page frame size is 8KB and each page table entry
is 2 bytes, calculate the size of root page table in two-level scheme. Show all
your calculations.
(4 marks)
(c) A 16-bit virtual address format is shown in Table 4.2 and a portion of a segment
table is shown in Table 4.3. Translate the following virtual addresses to their
corresponding physical address. Show all the relevant values in your answer.
Table 4.2: 16-bit virtual address format
Table 4.3: Portion of a segment table
(i)1001100010010111
(3 marks)
(ii)1001111000001001
(3 marks)
(d) Pre-paging is one of the fetch policies. Do you agree that pre-paging fetch
policy follows the principle of locality? Justify your answer.
(6 marks)help
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

Question 7 of 29 View Policies Answered: 1 week ago

Answered: 1 week ago

Question

Compose the six common types of social business messages.

Answered: 1 week ago

Question

Describe positive and neutral messages.

Answered: 1 week ago