first fit: for every segment to allocate hole ,searching of holes from starting until find hole size greater than or equal to segment.(note: hole should not be allocated before with other segment)
above problem:first fit
s.no segment hole
a) 12k ---> 16k
b) 10k ---> 14k
c) 9k ---> 20k
best fit: for every segment to allocate hole, searching of holes from starting until find minimum hole size greater than or equal to segment. (note: hole should not be allocated before with other segment)
above problem: best fit
s.no segment hole
a) 12k ---> 12k
b) 10k ---> 14k
c) 9k ---> 9k
worst fit: for every segment to allocate hole, searching of holes from starting until find maximum hole size greater than or equal to segment.(note: hole should not be allocated before with other segment)
above problem : worst fit
s.no segment hole
a) 12k ---> 20k
b) 10k ---> 18k
c) 9k ---> 15k
next fit: it is also like as first fit. For every segment to allocate a hole, searching of holes starts next from last allocated hole
above problem:
s.no segment hole
a) 12k ---> 16k
b) 10k ---> 14k
c) 9k ---> 20k
(15 points) Consider a swapping system in which memory consists of the following hole sizes in memory order: 16K, 1...
Assume a swapping system in which memory consists of the following hole sizes in memory and in order of 12K, 16K, 8K, 10K, 22K, 8K, 11K, 14K, and 13K.(5marks)Which memory hole is taken for successive segment requests of(a) 7K (b) 30K (c) 20K(d) 6k(e) 2kfor first fit, best fit, worst fit, and next fit. Assume a swapping system in which memory consists of the following hole sizes in memory and in order of 12K, 16K, 8K, 10K, 22K, 8K, 11K, 14K,...
Consider a swapping system in which the memory map consists of the following whole sizes in memory order: 10K, 4K, 20K, 18K, 7K, 9K, 12K, and 15K. Draw the allocation sequence for the successive memory size requests of: (i) 12K, (ii) 10K, (iii) 9K using the following memory allocation requests: (a) First Fit (b) Best Fit (c) Worst Fit
USE THIS ILLUSTRATION BELOW FOR DYNAMIC PARTITIONING QUESTIONS Hole 4 Hole 1 20K Hole 2 12K Hole 3 10K Hole 5 40K Hole 6 15K Hole 7 18K Hole 8 14K 22K Request 1 24K Request Request Request 2 3 4 10K 14K 18K DYNAMIC PARTITIONING SCHEME QUESTION (check the illustration provided) Which hole is taken for each successive segment request if we use BEST FIT algorithm. Use this format for the answer: request # - hole #. Sample answer:...