To Implement Memory Allocation Techniques

Post Test

1. Which of the following process allocation method assign the first partition that is big enough to the process is called as

a) first fit
b) best fit
c) worst fit
d) All of these

2. A free list contains three memory areas of sizes 6KB, 15KB and 12KB. The next three memory request are for 10KB, 2KB and 14KB. Which of the memory allocation strategy that would be able to accommodate all the three request?

a) Best Fit
b) Worst Fit
c) Next Fit
d) First Fit

3. NonContiguous memory allocation is a model in which

a) Portion of its address space are distributed among many areas of memory
b) All the process is allocated a single continuous area in the memory
c) Each process is allocated a single continuous area in the memory
d) All of the above

4. External fragmentation will not occur when?

a) First fit is used
b) Best fit is used
c) Worst fit is used
d) No matter which algorithm is used, it will always occur

5. When the memory allocated to a process is slightly larger than the process, then ____________.

a) internal fragmentation occurs
b) external fragmentation occurs
c) both internal and external fragmentation occurs
d) neither internal nor external fragmentation occurs