a) Assume that the main memory has the following 5 fixed partitions with the following sizes: 100KB, 500KB, 200KB, 300KB and 600KB (in order) I. Explain the following allocation algorithms: First-fit,...


a) Assume that the main memory has the following 5 fixed partitions with the following sizes:<br>100KB,<br>500KB,<br>200KB,<br>300KB<br>and<br>600KB<br>(in<br>order)<br>I.<br>Explain the following allocation algorithms: First-fit, Best-fit and Worst-fit.<br>How would each of the First-fit, Best-fit and Worst-fit algorithms place processes of<br>II.<br>212KB, 417KB, 112KB and 426KB (in order)?<br>II.<br>Compute the total memory size that is not used for each algorithm.<br>IV.<br>Which<br>algorithm<br>makes<br>the<br>efficient<br>of<br>the<br>memory?<br>use<br>b) Consider the following Page tables and show the process allocation in main memory having 19 frame<br>Process 0<br>Process 1<br>process 2<br>process 3<br>page #<br>Frame<br>Page #<br>Frame<br>Page #<br>Frame<br>Page #<br>Frame<br>3<br>1<br>1<br>4<br>1<br>5<br>1<br>6<br>1<br>11<br>2<br>7<br>2<br>13<br>12<br>3<br>3<br>15<br>14<br>4<br>10<br>4<br>16<br>5<br>17<br>6<br>18<br>2.<br>3.<br>2.<br>

Extracted text: a) Assume that the main memory has the following 5 fixed partitions with the following sizes: 100KB, 500KB, 200KB, 300KB and 600KB (in order) I. Explain the following allocation algorithms: First-fit, Best-fit and Worst-fit. How would each of the First-fit, Best-fit and Worst-fit algorithms place processes of II. 212KB, 417KB, 112KB and 426KB (in order)? II. Compute the total memory size that is not used for each algorithm. IV. Which algorithm makes the efficient of the memory? use 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 3 1 1 4 1 5 1 6 1 11 2 7 2 13 12 3 3 15 14 4 10 4 16 5 17 6 18 2. 3. 2.

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here