Create a memory allocation program to show the how theFirst Fitstrategy would allocate memory and move the spaces in memory.
Given the memory block size is 20 and initially
there are 5 holes with the sizes { 4, 3, 8, 2, 3}
After each allocation, if there are leftover space, the space can be given to the next hole.
If there are 5 blocks of data with sizes {3,4,3,5,3}. Try to fit them in the block of memory. How are the hole sizes changed as you allocate and shuffle the memory
*CREATE C PROGRAM ANDPLEASE FOLLOW THE SAMPLE OUTPUT GIVEN
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here