Seatwork 1 - Memory Management
Seatwork 1 - Memory Management
Name:
Date:
1. Given the following: configuration with jobs arriving in order (Job A, B, C) and with blocks shown
in order from low order memory to high order memory:
a. Use the first-fit algorithm to indicate which memory blocks are allocated to each of the arriving
jobs.
b. Use the best-fit algorithm to indicate which memory blocks are allocated to each of the arriving
jobs.
c. Calculate the amount of internal fragmentation in Block 1 using the first-fit algorithm.
1
Memory Management Systems Seatwork 1
2. Given the following: configuration with jobs arriving in order (Job A, B, C, D) and with blocks
shown in order from low order memory to high order memory:
a. Use the best-fit algorithm to indicate which memory blocks are allocated to each of the arriving
jobs.
b. Use the first-fit algorithm to indicate which memory blocks are allocated to each of the arriving
jobs.
c. Calculate the total amount of internal fragmentation in all four blocks using the best-fit
algorithm.