Question: External Fragmentation How much external fragmentation ( in bytes ) does this current state of the heap have? Don't include units. Incorrect Question 3 SUBMITTED

External Fragmentation
How much external fragmentation (in bytes) does this current state of the heap have? Don't include units.
Incorrect
Question 3
SUBMITTED
Internal Fragmentation
How much internal fragmentation (in bytes) does this current state of the heap have? Don't include units.
Correct
Explanation
Non-payload portions of the allocated blocks count as internal fragmentation, so it's the sum of (total size - payload size) of blocks 1,3, and 5.
Question 4
SAVED
First Fit
Assume that block 5 is the most recently allocated block. If we use a first fit policy, which block will be used for malloc(1)?
Tip: Enter just the block's number in the list, e.g.,3.
Question 5
Next Fit
Assume that block 5 is the most recently allocated block. If we use a next fit policy, which block will be used for malloc(1)?
Tip: Enter just the block's number in the list, e.g.,3.
Question 6
Best Fit
Assume that block 5 is the most recently allocated block. If we use a best fit policy, which block will be used for malloc(1)?
Tip: Enter just the block's number in the list, e.g.,3.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!