Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions