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

  One search function

One search function will use a sentinel to mark the end of the array. The other search function will use an array length (maximum legal index into the array) to determine when to exit the search loop. Both functions must return true when the searc..

  Write a program displaying a text file

Write a program displaying a text file that is in a text area - The user enters a file name in a text field and clicks the view button; the file is then displayed in the text area. Do not use BufferedInputStream.

  Write a program to simulate the behavior of the philosophers

Write a program to simulate the behavior of the philosophers, where each philosopher is a thread and the chopsticks are shared objects.

  Write a simple tester program

Implement a class named Friend which extends the Contact class. The Friend class should have a field that represents the friend's birthday. For simplicity, the birthdate can be represented with a String.

  Concept of operator overloading

This lab is to introduce students to the concept of operator overloading as member functions of a class. This will be done in the context of creating a class that will perform four basic mathematical operations on complex numbers

  Compute performance matrix

Write a program in JAVA that will take inputs from a file and compute performance matrix similar to the following output into an output file.

  Create a program that has an object type of contact

Create a program that has an object type of Contact. This contact will need to have the following attributes: Name, Birth Date, Phone Number, Address and Eye Color

  Information from the user and prints a payroll statement

Write a program that accepts the following information from the user and prints a payroll statement

  What command is used to create a java archive

What command is used to create a Java archive? Describe using an example.

  Calculate the body mass index

Write an application (BMICalc) that reads the user's weight in poinds and height in inches, then calculates the Body Mass Index.

  Write a program to test your class definition

Do not define an input method. The only method that can set the counter is the one that sets it to zero. Write a program to test your class definition.

  Java program which demonstrates cellular automata

Using the internet, locate a Java program (or Java applet) which demonstrates "Cellular Automata", in particular "the Game of Life".

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