Question: Task One We have discussed various memory allocation techniques whach incladk Fisxed partition, Variable partition, Paging, Segmentation ctc. You ar rquired to inspiemens only the
Task One We have discussed various memory allocation techniques whach incladk Fisxed partition, Variable partition, Paging, Segmentation ctc. You ar rquired to inspiemens only the fiese rwo Simulation of Fixed partition algorithm Simlation of Variable partition algorithm sample inputs and output for each scenario Below are Fised Partition Sample Input Enter the memory capacity: 100 Enter no of processes: 4 Enter memory request for process Enter memory request for process 2 Enter 1: 20 23 memory request for process & 15 memory roquest for process 4: 18 Sample Output There are total of 4 partition of Sines 25 (Again you could wary the sines of your partitions, but this houkl total up to the mcmory capaciy) Process Size Internal fragmentation 23 15 18 Variable Partition Sample Input Enter the memory capacity: 100 Enter no of processes: 4 memony request for process 1:20 Enter memory request for process 2 23 Enter memory request for peocess 3 15 memory request for process 4 18 Sample Output 80 23 15 18 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
