Question: Operating System Consider a program consists of five segments: S0 = 600, S1 = 14 KB, S2= 100 KB, S3 =380 KB, and S4 =
Operating System
Consider a program consists of five segments: S0 = 600, S1 = 14 KB, S2= 100 KB, S3 =380 KB, and S4 = 96 KB. Assume at that time, the available free space partitions of memory are 100145, 150 560, 1220-2234, and 2500-3180.
Find the following:
1. Draw logical to physical maps and segment table?
2. Allocate space for each segment in memory? Will all the segments are allocated? What allocation algorithm did you use and why?
3. Calculate the total fragmentation, if any.
4. What are the addresses in physical memory for the following logical
addresses: (a) 0.580, (b) 1.7 (c) 2.66 (d) 3.82 (e) 4.20?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
