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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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