Question: Please do this Objective: Write a C++ -program that will implement 4 Memory Management algorithms A) Best-Fit B) First-Fit C) Next-Fit D) Worst-Fit Your program

Please do this
 Please do this Objective: Write a C++ -program that will implement

Objective: Write a C++ -program that will implement 4 Memory Management algorithms A) Best-Fit B) First-Fit C) Next-Fit D) Worst-Fit Your program must do the following: 1. Program Input a. User will input to the program, Number of s for each partitions, and Memory Size partition/partitions b. User will input the name for each process, and the amount of memory the process needs 2. For each algorithm, your program should have a data structure(class) that include the job status (Run/Wait), and the partition number assigned to the job (if the job was allocated) You can create an array or list of the class to represent the job queue 3. Program output a. Calculate and display a list of initial memory allocation, i.e which partitions contain which process after the first round of allocation b. Program will calculate and display the memory waste for each partition c. A list of Processes not assigned to any partition Deliver to black board: 1)Source code from the program/programs 2)Screen shots of the output/results from each algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!