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

  Ambiguity in proposed algorithm-in representation algorithm

Describe distinction between the ambiguity in proposed algorithm and ambiguity in representation of the algorithm.

  Computing randomized quick sort-s running time

Suppose that all element values are equal. What would be randomized quick sort's running time in this case? Each element of A[p .. q-1] is less than A[q], and each element of A[t+1 .. r] is greater than A[q]

  Determine algorithm for cs curriculum consists of n courses

Determine an algorithm which works directly with this graph representation, and calculates minimum number of semesters necessary to complete the curriculum.

  C program to compute and display sales of a store

Modify the C program so that user inputs the buying amount. Check the user's input for validity.

  Users and it organizations arm against phishing attacks

How users and IT organizations must arm themselves against these attacks?

  Sort scheduling algorithms according to high throughput

Sort the scheduling algorithms (FCFS, SPF, RR, MLFB) according to each of High throughput (if we take averages of time intervals smaller than the sum of all processes' time)

  Give an algorithm that takes an n-node path g with weights

Give an algorithm that takes an n-node path G with weightsand returns an independent set of maximum total weight. The runningtime should be polynomial in n, independent of the values of theweights

  Show result of inserting keys using quadratic probing

Show the result of inserting these keys by using linear probing, using quadratic probing with c1 = 1and c2 = 3, and using double hashing with h2(k) = 1 + (k mod (m-1)).

  Find the maximum number of bits in the sum

Suppose that the n is an exact power of two. The circuit consists of a complete binary tree of ripple carry adders, in which each node in tree adds 2-numbers.

  Terminate the linked list properly

Define a struct which has exactly 5 variables that, for one person, will hold the last name, the "other" names. the-year-took-office. the-yew-left-office, and a pointer. The pointer will be used to point to the next set of data. for the next perso..

  Create a shell script to locate executable files

Create a shell script to locate executable documents? The script takes a list of document names from the command line and determines which would be executed had these names been given as commands.

  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.

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