Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please read these instructions thoroughly, I will not tolerate any exception. (1) Submit a soft copy of your source code. (2) Submit your homework by
Please read these instructions thoroughly, I will not tolerate any exception. (1) Submit a soft copy of your source code. (2) Submit your homework by replying to the message: 431-Project2-F20. (3) Work individually, any sign of cheating will bear a heavy penalty. The project simulates the memory management technique, "Multiple Partitions - Fixed Regions", known in IBM machines as MFT (Multiprogramming with Fixed number of Tasks). Write a program which simulates the function and behavior of MFT memory management Technique. Consider a memory of size 1 GB =1000 MB, 200 MB is allocated for the OS, leaving 800 MB for execution area. The execution area is partitioned into 4 regions as follows: Partition 1 2 3 4 Size 20MB SOMB 200MB SOOMB That is, the degree of multiprogramming is s4. Initially, create 4 jobs in the ready queue, each with size fits one of the regions, and a time limit the job will stay in memory. Use a random function to crate these jobs. Create a job queue which contains 6 jobs randomly, each job will be associated with its size in MBs, and the time requires to stay in memory. Jobs must be size S 500MB, and the time limit must be reasonable. When a job finishes execution, a new job is selected from the job queue on FCFS with Skip and admitted to the ready queue if there is a job that fits the free region, at the same time a replacement job is created randomly & added to the job queue, if no such job exists, the processor continues execution with another job leaving only 3 jobs in the ready queue temporarily and so on and so forth. What is the output of the project: The contents of the ready & job queues after each job finishes execution using diagrams (arrays) to show this and which job is executing. X
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started