subject

Consider a memory management system using the First Fit algorithm for memory allocation. That is, whenever a process needs to be allocated memory, the system will look for the first (lowest-addressed) free chunk of memory that is at least as large as the amount of memory needed by the process. When a free chunk is found, assume that the system allocates memory near the tail (higher-address end) of the free chunk for the process. Let there be 192MB of space set aside, starting from address 64MB, to manage all the user processes in the system. Let the following table depict the memory layout for a set of five processes in the system:

Process Memory Amount Starting Location
P1 16MB 72MB
P2 12MB 88MB
P3 8MB 124MB
P4 4MB 132MB
P5 20MB 166MB

Now consider the following sequence of events in the system:
New process P6 starts and is allocated 28MB of memory.
New process P7 starts and is allocated 16MB of memory.
Process P2 terminates and releases its memory.
New process P8 starts and is allocated 16MB of memory.
Process P5 terminates and releases its memory.
New process P9 starts and is allocated 12MB of memory.
New process P10 starts and is allocated 4MB of memory.

Construct the memory layout after processing the above sequence of memory management events. Based on this layout, identify the TRUE statement among the following?

a. The smallest free chunk has a size of 4MB.
b. The largest free chunk is between 96MB and 128MB in size.
c. Process P7's memory starts at 100MB.
d. Process P9's memory starts at 244MB.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
True or false technology is often discovered by accident
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
How many meatballs required for a larty of 25 adults and 6 children
Answers: 1
question
Computers and Technology, 25.06.2019 05:30
Website hosting servers have their own unique ip address, what does this address consist of? a. numbers and letters b. numbers c. letters d. letters and symbols
Answers: 2
You know the right answer?
Consider a memory management system using the First Fit algorithm for memory allocation. That is, wh...
Questions
Questions on the website: 13722367