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 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
In a home that has 120 v service, there is an electric appliance that has a resistance of 12 ohms. how much power will this appliance consume? a. 10 w b. 120 w c 1200 w d. 1440 w
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Dereck works for long hours on his computer.  he frequently experiences physical strain by the end of the day because he does not follow an important rule of ergonomics with respect to the use of keyboards.  which of the following actions of dereck could lead to physical strain? a.  placing the keyboard exactly in front of him while typingb.  keeping hands and wrists straight while typingc.  using wrist pads throughout the dayd.  pounding at the keys on the keyboard while typinge.  resting his hands on the keyboard when he is not typing
Answers: 1
You know the right answer?
Consider a memory management system using the First Fit algorithm for memory allocation. That is, wh...
Questions
question
Physics, 17.09.2019 19:30
question
Mathematics, 17.09.2019 19:30
Questions on the website: 13722361