Jobs can be scheduled partially

Assignment Help Operating System
Reference no: EM13163378

Assume you have a scheduling problem with 10 customers. Customer i has value Vi, and requires processing time Ti.

The values of Vi and Ti are listed below as arrays:

V = { 6,   25,   4,   1,    7,    3,   12,   1,   1,    8 }

T = { 2,     5,   1,   4,     4,    9,     1,   5,   3, 16 }

Assume that jobs can be scheduled partially, so that a job of value Vi which requires time Ti will receive value, x Vi , if processed only for time, t = x Ti, for a fraction, 0 <= x <= 1.

(a)Find the maximum value which can be scheduled with total processing time

T = 30 units.

(b) Let T take on value T = 1,...,50 and V (T ) denote the maximum value which can be scheduled in processing time T . Plot V (T ) versus T. (Hint: You many want to write a simple program to give a table of V vs T.)

Reference no: EM13163378

Questions Cloud

Random string of 100,000 characters is written : A random string of 100,000 characters is written down, where each character is independently, equally likely to be any of the upper-case letters A through Z in English.
Determine the mass of aluminum acetate : Determine the mass of aluminum acetate that can be made if you do the reaction with 125 grams of acetic acid and 275 grams of aluminum hydroxide.
Formula gives the distance between two points ( : formula gives the distance between two points (x1, y1) and (x2, y2) in the Cartesian plane:
Which one of these compounds should be soluble in water : Based on the solubility rules, which one of these compounds should be soluble in water?
Jobs can be scheduled partially : Assume that jobs can be scheduled partially, so that a job of value Vi which requires time Ti will receive value, x Vi , if processed only for time, t = x Ti, for a fraction, 0
How many coulombs are required : How many coulombs are required?
State zinc amalgam and hcl affords an optically active : Treatment of A with zinc amalgam and HCl affords an optically active, dextrorotatory hydrocarbon C. Identify compounds A, B, and C, including stereochemical configurations. Be sure to explicitly draw H and both wedge/dash bonds at any configuratio..
Calculate the osmotic pressure : calculate the osmotic pressure in torr of 6.00 L of an aqueous 0.889 m solution at 30.°c, if the solute concerned is totally ionized into three ions.
Determine the volume of the gas sample : A 3.84-mole sample of a gas is held at a temperature of 297 K and a pressure of 286 atm. Determine the volume of the gas sample.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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