Design and write the client and server programs

Assignment Help Data Structure & Algorithms
Reference no: EM13325787

Design and write the client and server programs necessary to provide a multiple client CPU scheduler that handles CPU bursts and I/O bursts. Clients represent processes that are already in the Ready state and are contending with each other for the CPU. The CPU scheduler determines the next process to get the CPU. An I/O scheduler determines the next process to do I/O. Your server will manipulate the Ready state using a Round Robin scheduler, and will manipulate the I/O queue using a FCFS scheduler.

Clients send a private FIFO name and a sequence of CPU bursts and I/O bursts to the server's FIFO. The bursts will represent how long a client needs to use the CPU and how long a client needs to do I/O, respectively. A real client's program would consist of alternating CPU instructions and I/O instructions. So, now your clients will send an array of alternating CPU and I/O bursts in the form of (CPU burst, I/O burst, CPU burst, ... CPU burst). The array always consists of an odd number of values because it always ends in a CPU burst.

Each client requests multiple CPU and I/O bursts from the keyboard. This information and the private FIFO are sent to the server through a common FIFO. The server responds to each client using private FIFOs.

Attachment:- ASSIGNMENT.rar

Reference no: EM13325787

Questions Cloud

What is the kinetic energy of the alpha particle : he potential difference between two parallel conducting plates in vacuum is 410 V. What is the kinetic energy of the alpha particle
Explain what is the initial temperature of a gas : What is the initial temperature of a gas if the volume changed from 1.00 L to 1.10 L and the final temperature was determined to be 255.5oC
Explain temperature was the same for both processes : In a separate experiment with the same initial conditions, a pressure of 2.50 atm was applied to the gas, decreasing its volume from 4.40 to 1.76L in one step. If the final temperature was the same for both processes, what is the difference betwee..
Calculate how fast will the electron be moving : An electron starts from rest 43.1cm from a fixed point charge with -0.150nC. How fast will the electron be moving when it is very far away
Design and write the client and server programs : Each client requests multiple CPU and I/O bursts from the keyboard. This information and the private FIFO are sent to the server through a common FIFO. The server responds to each client using private FIFOs.
How much annual interest would you need to have earned : You purchase a painting for $80,000 in 1947, and sold it for $53.9 million in 1988. If you invested the $80,000 in another investment type (such as stock), how much annual interest would you need to have earned in order to accumulate the same wealth ..
Review the leadership model adapted from montgomery : Review the Leadership Model adapted from Montgomery,
Define the final temperature of the water in the calorimeter : A coffee cup calorimeter contains 25.42g of water, at 21.0g deg C. Then 69.18g of water, with an initial temperature of 70.1 deg C, was added to the calorimeter. The final temperature of the water in the calorimeter was 23.8 deg C
What is the normal force of the floor on the box : a girl is using a rope to pull a box that weighs 300 N across a level surface with constant velocity. what is the normal force of the floor on the box

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Determining entropy of encrypted message

If this message is encrypted with DES by using a random 56-bit key, determine encrypted message's entropy?

  What is the probability

Suppose that the probability than an incoming email is a spam is p(S), that the probability that the word "w" occurs in the subject line of the spam is p(w), and that q(w) is the probability that the word "w" occurs in the subject line of an email th..

  A sorting algorithm is described as stable

A sorting algorithm is described as stable if equal elements are in the same relative order in the sorted sequence as in the original sequence.

  Why internet need http

Discuss why does the Internet need HTTP, TCP, IP and DNS? Explain why is not the Internet Protocol enough to do the job? Please reply to these specific points of confusion.

  Creating an effective physical design

Class, do IT database designers necessary to understand data volumes and number of users of database in order to create an effective physical design?

  The definitions associated with graphs.

Understand the definitions associated with graphs. a. Connected undirected graph; loop and cycle; DAG; simple path; strongly connected graph; weakly connected graph; complete graph

  Algorithm to keep track of sufficient information

Your algorithm must keep track of sufficient information so that, for any computer Cb it is possible to retrieve in O(n) time a sequence of communications by which Cb could have become infected.

  Show state of memory after processes by best fit algorithm

Using the best fit algorithm, show the state of memory after processes of 212K, 417K, 112K and 350K (in request order) arrive.

  Program development cycle for algorithm using pseudocode

Illustrate all your work. Use modular approach to solving this problem. Give the following submodule. Calculations - module to compute gross pay. Using the Program Development Cycle, develop an algorithm using pseudocode for the following task.

  Creating an interactive java program

Create an interactive Java program that illustrates the use of constructors, methods, loops and arrays.

  Question about software importance

Determine what makes software so important and list a number of ways that software has an impact on our life.

  Sorting algorithm to put whole array in order

Assume you have the array of 1000 records in which only few are out of order and they are not very far from their correct positions.

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