Write server program act a memory manager

Assignment Help Computer Engineering
Reference no: EM13324523

let your server program act a memory manager, "She memory manager uses a vellOrog as sane. in which pages and frames are 4/14%7.4: 256 bytes, ( .11mts request main memory spate by mottling, to the server the total number of bytes in their lopy.:31 oro,;ccn, (liven a list of free trainees, the server allocates frames for the clients, After client-:• space has been mapped to pirysival space, the server will be prompted with a client number (mum be verified) and a logical address. The server will respond by calculating the physical address,
Example: Client' requests memory fOr its program of size 700 bytes, if free space list (the list of free frames) is 5, 3, 0, 1, 2, then Client" will be allocated frame 5 (1(rr its first 256 trite", frame 3 (firr its next 256 bytes) and frame 0 (fin its final 188 bytes), When prompted lot the physical address for logical address 400, the page table for Clientiwill be examined, We will know that the address in question is on page 1 at offset 144, which in loaded in frame 3. ldra-me begins at location 768, which is (256 * 3), The server calculates the physical address to be '168+144,

The server:
The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client. Pages are mapped to frames according to a free frame list. For the final check on your program, please use the following free frame list: 4, 6, 2, 7, 0, 5, 9, 11, 1(), 1, 6, 3. The serves will work on a static set of memory allocations as long as the operator wants to continue.

The client:

Each client program sends a memory request to the server program.

The server:
The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client. Pages arc mapped to frames according to a free frame list. For the final check on your program, please use the following free frame list: 4, 6, 2, 7, 0, 5, 9, 11, 10, 1, 6, 3. The server will work on a static set of memory allocations as long as the operator wants to continue.

The client:
Each client program sends a memory request to the server program. Each client will print its memory size and its assigned frames.

Memory Management:
A physical memory of 12 frames should be sufficient. To be displayed:

The server should print the client number, the logical address, the frame number and a representation of the physical memory.

Reference no: EM13324523

Questions Cloud

Differences between static and dynamic models : Explain the differences between static and dynamic models. How can one evolve into the other?
Selected transactions for protheroe corporation : Selected transactions for Protheroe Corporation during its first month in business are presented below.
Utilizing cost allocation methods : Decision making in companies is often facilitated by utilizing cost allocation methods.
Cultural differences between team and non-team environment : Describe the cultural differences between a team and non-team environment. What is a High Performance Team (HPT)? What are the benefits to the employees, customers and management for using such teams? Describe the conditions necessary to create a HPT..
Write server program act a memory manager : The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client.
Considered a member of the moral community : which of the following groups is not considered a member of the moral community in the US?
Research on aspects of network administration and support : Peer-to-Peer, Client/Server and Virtualization platforms can be used to setup networks for organizations small in size. Compare the three mentioned platforms and mention their associated merits in relation to administration, security and usability
Traditional subdivisions of moral philosophy : What are the 2 traditional subdivisions of moral philosophy?
Is intuition a reliable source of moral truth : which of the following would be interested in the question, Is intuition a reliable source of moral truth?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Explain how to compile and run a standalone java application

Write a simple Java program that incorporates as a minimum three best practices for making your code readable and understandable by yourself and others.

  What are the values of the queuefront and queuerear

imagine that queue is a queue type object and the size of the array-implementing queue is 100. Also, suppose that the value of the queueFront is 25 and the value of queueRear is 25.

  In what ways itil framework minimize the impact of change

ITIL stands for the Information Technology Infrastructure Library. ITIL is the international de facto management framework describing "good practices" for IT Service Management.

  What do you mean by the tip

"How to Use JavaScript to Liven up your Web site, how to protect users whose browsers will not load JavaScript. What is the tip? would Web site designers write JavaScript code so all browsers can use it? Why?

  Company the privileges needed to query

Give every employee in Local Locale Company the privileges needed to query and update the NEWS_ARTICLE table and the CLASSIFIED_AD table. Write out only two commands to accomplish this task. Save your work as a .sql file.

  What is oriented programming and object-oriented design

Find out resources on Visual Basic. Select your favorite three and explain what they have to offer. Also discuss the differences between Object-Oriented Programming (OOP) and Object-Oriented Design (OOD).

  Creating the method

Assume we wish to form a method for class BinaryTree which decides whether two trees have same structure. The header of the method could be as follows: public boolean isIsomorphic(BinaryTreeInterface otherTree).

  Give solutions of both mobile and server communications

What security suggestions do you have for laptop users to securely access network resources, and to secure files on their laptops.

  Knowledge revolution and industrial revolution

What are your thought on this that would support notion that Knowledge Revolution was born from the Industrial Revolution?

  Make program that creates a tab delimited file

Write down a C++ program that creates a tab delimited file that can be opened by a spreadsheet to graph the altitude and velocity of a balloon as a function of time from the time of release through 48 hrs.

  Describing lan and wan

Write down in words and describe the meanings of terms LAN and WAN. Explain how do they differ? State three basic topologies for LAN use, and describe the differences among then.

  Explain executives based on their needs

assume that you acting as an IT consultant for them. What software solutions would you recommend to your executives based on their needs? Explain your answer.

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