Professional Documents
Culture Documents
Assignment (Memory Management)
Assignment (Memory Management)
H 48
20K
H 20
U
68K
88K
U
118K
H 30
150K
U
180K
U
230K
H 155
245K
400K
Process number
1
2
3
Size in Kilobytes
20
45
30
66
Show how the memory requests above are allocated using each of the allocation schemes:
i.
Best Fit (BF)
[4 Marks]
ii.
First Fit (FF)
[4 Marks]
iii.
Worst Fit (WF)
[4 Marks]
2. Given a heap memory management scheme with the following free list where U: Used and
H: Hole:
Size in Kilobytes
13
51
27
4
5
83
9
Show how the memory requests above are allocated using each of the allocation schemes:
iv. Best Fit (BF)
[4 Marks]
v. First Fit (FF)
[4 Marks]
vi.
Worst Fit (WF)
[4 Marks]
3. Show the allocation of the segments from the following segment table:
Segment #
0
Limit
250
Base
200
1
2
3
300
550
600
1200
460
2200