Simulate a multi-partitioned memory management system

Assignment Help C/C++ Programming
Reference no: EM13766371

You are to simulate a multi-partitioned memory management system where processes are initiated and terminated requiring that memory space be allocated and de-allocated. Free memory space is to kept in a singly linked list as discussed in class, using the data structure containing allocation bits and various pointers also discussed.

New processes are to be entered from a GUI with a size as a parameter. (numbering should be automatic). Processes are also to be  terminated by a GUI action. With each process change a free memory list status is to be output clearly showing the list items and their sizes. First-fit is to be the allocation algorithm. Memory sizes and numbers of processes can be small, just big enough to demonstrate the below listed functionality. Functionality to be provided by you:

1. FF allocation.

2. De-allocation with the four combination possibilities accounted for and demonstrated.

3. A free space status provided for every instance of #1 and #2 above.

4. A process status on command (p#, size, and where located).

5. Garbage compaction as necessary.

6. Appropriate error msg when there is insufficient memory available AFTER compaction.

Reference no: EM13766371

Questions Cloud

Define the term permeability and heterogeneity : Define the following terms, Permeability and Heterogeneity, Proper ownership and leadership, Conformance and Operability
Retirement income plan : Your 68 year old mother plans to retire in 2 years and she expects to live independently for 3 years. She wants a retirement income that has, in the first year the same purchasing power as 60,000 has today. However her retirement income will be of a ..
Inventory cost per unit using absorption costing : A. What is the inventory cost per unit using absorption costing? B. What is the inventory cost per unit using variable costing?
The developments in material science : Describe how silicone based semiconductors revolutionized computing
Simulate a multi-partitioned memory management system : Processes are also to be terminated by a GUI action. With each process change a free memory list status is to be output clearly showing the list items and their sizes.
Prepare a performance report for all costs : Prepare a performance report for all costs, showing flexible budget variances (indicate F or U).
Positions are bullish on the market : Which of the following positions are bullish on the market? I. buying a stock II. writing a put III. buying a call IV. selling a call
An analyst uses the constant growth model : An analyst uses the constant growth model to evaluate a company with the following data for a company: Based on an analysis, the growth rate of the company will drop by 25 percent per year in the next two years and then keep it afterward. Assume that..
Explain substantive law procedural law and criminal law : Discuss the differences between substantive law, procedural law, criminal law, civil law, common law, and statutory law

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Reads a set of integers from file

The code in file "hw5-stree.cpp" reads a set of integers from file and inserts them into a binary search tree. You are asked to implement two functions max() and depth() that compute the maximum element and the depth of the binary search tree.

  Display money using proper formatting

Have you ever been low on cash and couldn't go beyond a certain dollar limit when shopping? You sort of need a calculator in your head.

  C program to calculate power loss in transmission line

Write program in C to calculate the power loss in transmission line with resistance of 0.05 ohms/mile. Calculate power loss if 500 kW of power is transmitted from power generation station

  Unlike c other programming languages have associative

unlike c other programming languages have associative arrays that allow array indices to be strings instead of just

  Define program testing & documentation

Devise a test plan carefully, making sure that the purpose of the particular test is clearly stated, the data for each test is specified (that is, any inputs expected from the user or the programmer), and a description of the expected result from ..

  Calculating the gcd greatest common divisor

Write a C++ code for calculating the GCD Greatest Common Divisor between two positive integer numbers. You  should  use Euclid's  original  subtraction  based  GCD algorithm ( not  using  modulo operator).

  Find the smallest positive integer

Find the smallest positive integer whose digits add up to 23. The second smallest positive integer whose digits add up to 23 is 689.

  Problem related to stroing of text file values into vector

I have to store the text file values into a vector and do the sum, here the text file sample: Expenses: Equipment:$300 Food: $50  Consumable expenses: $100

  Print the matrix in a format and transpose of the matrix

Write a program which asks the user for 9 integers representing the elements of a 3 by 3 matrix by rows, stores the numbers in a 2-dimensional C++ vector, prints the matrix in a pretty format, prints the transpose of the matrix in a pretty format,..

  Write an application that creates a quiz

Write an application that creates a quiz, which contains at least 5 questions about a hobby, popular music, astronomy, or any other personal interest. Each question can be multiple choice(a,b,c,d should be user accepted response), or true or false(t ..

  Write a program that displays the size of a population

Write a function that calculates the size of the population after a year. To calculate the new population after one year.

  Simulate a game of blackjack

Design and implement a C++ program to simulate a game of Blackjack between two to four players. Your program must incorporate a two-dimensional array to represent the suit and the value of each card dealt to a player

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd