Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Flag this Question Consider a memory of size 8KB (8192 bytes) that allows dynamic , variable sized partitioning among processes and uses a linked list

Flag this Question

Consider a memory of size 8KB (8192 bytes) that allows dynamic, variable sized partitioning among processes and uses a linked list to keep track of free spaces (hereafter referred to as the free list) in the memory at any given time. Assume that there are 6 processes and assume that their memory size requirements (in bytes) are as given below:

P1: 500, P2: 600, P3: 1300, P4: 2000, P5: 100, P6: 200

Assume that the initial state of the free list is as shown below (BA is the base address and Sz is the size of each free space):

BA: 0; Sz: 1100 BA: 1200; Sz: 600 BA: 2000; Sz: 1800 BA: 6000; Sz 400

Flag this Question

For these next questions assume the free list starts in its initial state. Assume that the next fit policy is used for partition placement. Identify the base address of the region to which each of the following processes will be allocated, assuming that they are allocated in the order specified and show the updated free list state after each allocation.

Notes:

  • If the end of the free list is reached while searching for a suitable allocation, the search wraps back to the beginning of the list.
  • If a partition cannot be allocated due to the state of the free list, simply type in the words cannot be accommodated as your answer.

If P1 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P3 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P2 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P6 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

Flag this Question

For these next questions assume the free list starts in its initial state. Assume that the worst fit policy is used for partition placement. Identify the base address of the region to which each of the following processes will be allocated, assuming that they are allocated in the order specified and show the updated free list state after each allocation.

Note: If a partition cannot be allocated due to the state of the free list, simply type in the words cannot be accommodated as your answer.

If P4 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P2 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P6 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

If P1 is allocated, what is the BA?

The updated free list is:

BA:___________ ; Sz: ___________ BA:___________________ ; Sz:_______________ BA:_________ ; Sz:_____ BA:_____ ; Sz______________

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

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

What methods of research are most suitable for this purpose?

Answered: 1 week ago

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

3. What are the main benefits of using more information technology?

Answered: 1 week ago

Question

start to review and develop your employability skills

Answered: 1 week ago