Draw a scheduling chart to show how the i/o and cpu

Assignment Help JAVA Programming
Reference no: EM13852284

Consider a system running two CPU-bound Cl and C2, and four I/O bound jobs 01, 02, 03, 04. Each I/O bound task issues an I/O operation once every 1 millisecond of CPU.

Each I/O operation takes 3 milliseconds. Assume that there is only one I/O device (so multiple I/O requests may have to queue). Assume that the context switch takes 0.2 milliseconds.

Assume that each CPU bound requires 15 milliseconds of CPU to complete and each I/O-bound task requires 4 milliseconds of CPU time. Assume that all jobs are in the Ready queue at time 0, in the order Cl, C2, 01, 02, 03, 04.

Draw a scheduling chart to show how the I/O and CPU are allocated and compute the average turnaround times for the CPU-bound and I/O bound task. Use the following table to keep track of all events and Ready/Blocked (I/O) queues.

Reference no: EM13852284

Questions Cloud

Draw the uml and state diagram for an atm : Draw the UML and state diagram for an ATM
What is the cross-sectional area of the wire : A toaster rated at 1 050 W operates on a 120-V household circuit and has a 4.00-m length of nichrome wire as its heating element. The operating temperature of this element is 320°C. What is the cross-sectional area of the wire?
What is the total number of different outcomes : Consider an ensemble consisting of five distinguishable (e.g. different colored) dice. a. What is the total number of different outcomes that can be obtained by throwing all five dice at once? Generalize your result to N distinguishable dice.
How do you handle such situatiions : How do you handle such situatiions? Would there be any different approach taken if these activities occured in the public sector or be covered under a union contact
Draw a scheduling chart to show how the i/o and cpu : Draw a scheduling chart to show how the I/O and CPU are allocated and compute the average turnaround times for the CPU-bound and I/O bound task. Use the following table to keep track of all events and Ready/Blocked (I/O) queues.
Explain why the leds are made of many compound : Explain why the LEDs are made of many compound semiconductors but not the column IV elemental semiconductors to date
What is the operating payment to be paid to the hospital : What is the operating payment to be paid to the hospital - what is the capital payment to be paid to the hospital and will the hospital be eligible for the Medicare outlier payment?
Weigh in a liquid of specific gravity : A body weighs 50 grams in air and 40 grams in water. How much would it weigh in a liquid of specific gravity 1.5? (A) 30 grams (B) 35 grams
The force acting on the body : A body of mass 4 kg is accelerated upon by a constant force, travels a distance of 5 m in the first second and a distance of 2 m in the third second. The force acting on the body is (A) 2 N (B) 4 N

Reviews

Write a Review

JAVA Programming Questions & Answers

  Strong authentication can also risk availability

Strong authentication can also risk availability. A simple example is that forgetting your password denies you access to that which required a password. Sometimes the stakes are high, for example, if a network administrator is the only one who knows ..

  Creates pet objects from data read from the keyboard

The assignment is to write a program that creates Pet objects from data read from the keyboard. Store these objects into an instance of ArrayList.

  Document the current application describing major classes

Add to the Project Management tool the different planned activities needed to implement the changes to the solution and document the current application describing the major classes used by the application.

  Write a java program to calculate the ideal weight

Write a java program to calculate the ideal weight when you enter the age and height of user

  Create a java program that performs distributed systems task

Can someone create a Java program that performs the following distributed systems tasks? This should be easy for a Java programmer

  Write a program that keeps track of the balance

Write a program that keeps track of the balance of a savings account. The program starts by reading the initial amount (starting value) of the savings account. It then allows the account holder to perform withdrawal, deposit and check balance proc..

  Java test program

Write a Java test program, all your code should be in the main method, that determines what type of organization is indicated by a web address. Your program should allow the user to enter a web address

  Create an array that will store temperatures

Create an array that will store 7 temperatures. Populate the array with 7 random temperatures from 1 to 100 degrees. (hint use a for loop and a Random number Generator)

  What is abstract class and how it differ from regular class

What is an abstract class and how does it differ from a regular class? Why are abstract class constructors defined as protected

  Write java program to read in sequence of hourly temperature

Write down Java program which reads in sequence of hourly temperature readings over 24-hour period using arrays. Your program must find and show maximum and minimum temperatures.

  Design a java program that simulates a slot machine

Instead of displaying images, the program will randomly select a word from the following list: Cherries, Oranges, Plums, Bars, and Bells. The program will select and display a word from this list three times.

  What can a catch block do with the exception object

What can a catch block do with the exception object that it receives and write lines of code to create object input and output streams for the file c:\temp\mydata.out

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