Question: Please, answer this as soon as you can and please try to avoid handwritten answers. I'll give you thumbs up fr!! a) Assume that the

Please, answer this as soon as you can and please try to avoid handwritten answers. I'll give you thumbs up fr!! a) Assume that the main memory has the following 5 fixed partitions with the following sizes: 100KB, 500KB, 200KB, 300KB and 600KB (in order)

  1. Explain the following allocation algorithms: First-fit, Best-fit and Worst-fit.
  2. How would each of the First-fit, Best-fit and Worst-fit algorithms place processes of 212KB, 417KB, 112KB and 426KB (in order)?
  3. Compute the total memory size that is not used for each algorithm.
  4. Which algorithm makes the efficient use of the memory?

b) Consider the following Page tables and show the process allocation in main memory having 19 frame

Process 0

Process 1

process 2

process 3

page #

Frame

Page #

Frame

Page #

Frame

Page #

Frame

0

3

0

0

0

1

0

2

1

4

1

5

1

6

1

11

2

7

2

8

2

13

2

12

3

9

3

15

3

14

4

10

4

16

5

17

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!