Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve this question in java The project simulates the memory management technique, Multiple Partitions - Fixed Regions, known in IBM machines as MFT (Multiprogramming

Please solve this question in java

  • 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

Size

1

20MB

2

80MB

3

200MB

4

500MB

That is, the degree of multiprogramming is 4.

  • 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 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

LO4 Specify how to design a training program for adult learners.

Answered: 1 week ago