Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please verify answers. Given the following static memory allocation:(static memo

ID: 3754887 • Letter: P

Question

Please verify answers.
Given the following static memory allocation:(static memory partition sizes are fixed) he following static memory allocation-(ostatic memory allocation means that the Partition no. Size Status 1. 32K bytes Used by operating system 2. 3. 4. 32K bytes Free 64K bytes Free 48K bytes Free 5. 56K bytes Free Based on this information answer questions 1-4 1) Assume we are using the first-fit algorithm and partitions 2,3.4, and 5 are free. Where will a job requiring 40K bytes of memory be stored? 1.1 In the partition 2. 1.2 In the partition3 1.3 In the partition 4 1.4 In the partition 5. 1.5 Will wait. 2) After a job from the previous question was allocated, where would a job requiring 60k of memory be stored? 2.1 In the partition 2. 2.2 In the partition 3. 2.3 In the partition 4. 2.4 In the partition 5. 2.5 Will wait.6 3) Assume we are using the best-fit algorithm and partitions 2,3,4, and 5 are free. Where will a job requiring 40K bytes of memory be stored? 3.1 In the partition 2. 3.2 In the partition 3 3.3 In the partition 3.4 In the partition 5. 3.5 Will wait. 4) After a job from the previous question was allocated, where would a job requiring 60 0 memory be stored? 4.1 In the partition 2. 4.2 In the partition3 4.3 In the partition 4. 4.4 In the partition 5. 4.5 Will wait. 5) Given the following memory configuration, assume we want to do compaction with software to be moved.

Explanation / Answer

1.

1.2 In the Partition 3

As the Partition 2 is only 32 K so next First Fit Partition available is Partition 3

2.

2.5 Will wait

Partition of 60 K is not available

3.

3.3 In the Partition

48K Partition is best fit for 40K

4.

4.2 In the Partition 3

Partition 3 is available and Best Fit for 60 K of memory

10.

10.4 from running to waiting

When user READ data, some input device is used and control is shifted from running CPU to that input device CPU waits for the input .

Do ask if any doubt. Please upvote.