Completion time for multiprocessor

Assignment Help Basic Computer Science
Reference no: EM13968326

1. Show that the greedy algorithm to minimize the mean completion time for multiprocessor job scheduling works.

2. The input is a set of jobs j1, j2, ... jN, each of which takes one time unit to complete. Each job jiearns ddollars if it is completed by the time limit ti, but no money if completed after the time limit.

a. Give an O(N2) greedy algorithm to solve the problem.

b. Modify your algorithm to obtain an O(log N) time bound. (Hint: The time bound is due entirely to sorting the jobs by money. The rest of the algorithm can be implemented, using the disjoint set data structure, in o(log N).)

Reference no: EM13968326

Questions Cloud

What fact or piece of information did you learn that was new : Take the "Find Your Fit" assessment under "The profession" menu along the left hand side. What does it suggest as "you early career" type, if you were to go into the accounting field?
Method for constructing the header of size : Part of the encoded ?le must be a header indicating the Huffman code. Give a method for constructing the header of size at most O(N) (in addition to the symbols), where N is the number of symbols. Complete the proof that Huffman's algorithm generates..
What are benefit of federal and state social welfare program : What are the benefits of federal and state social welfare programs today? What are the drawbacks? What experiences have you, or someone you know, had with a social welfare program?
Consider an oil-wildcatting problem : Consider an oil-wildcatting problem. A decision maker has mineral rights on a piece of land that he believes may have oil underground. There is a 30% chance that the decision maker will strike oil if he drills. If he drills and strikes oil, then the ..
Completion time for multiprocessor : 1. Show that the greedy algorithm to minimize the mean completion time for multiprocessor job scheduling works. 2. The input is a set of jobs j1, j2, ... , jN, each of which takes one time unit to complete. Each job jiearns di dollars if it is comple..
Determine the electric potential energy of the initial state : There is the information and then the questions: A stationary block has a charge of +6.0×10-4 C. A 0.80-kg cart with a charge of +4.0×10-4 C is initially at rand separated by 4.0 m from the block. The cart is released and moves along a frictionles..
Identify a domestic and an international terrorist incident : Identify a domestic and an international terrorist incident. Discuss the differences and similarities between the groups involved and the tactics that are employ in these incidents.
Find L-W-Lq-wq and the probabilities : Goofy owns and manages a hot dog stand near Walt Disney World. Although Goofy can serve 30 customers per hour on average (μ), he only gets 20 customers per hour (λ). Because Goofy could wait on 50% more customers than actually visit his stand, it doe..
Subset of the year baseball cards : The baseball card collector problem is as follows: Given packets P1, P2, ... , PM, each of which contains a subset of the year's baseball cards, and an integer, K, is it possible to collect all the baseball cards by choosing ≤ K packets?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Create a bulleted list slide with and without clip art

Create a bulleted list slide with and without clip art

  Sum-of-products representation

Run the program using step mode. Put the code inrto the online assignment area. Also indicate the new contents of the register affected by each instruction. For this you need to use the step mode.

  Create a mailmerge

Create a Mailmerge-Your form letter must include an inserted picture or graphic and should give the address of a web site

  Create an applet to draw a digit using the method

Create an applet to draw a digit using the method fillRect of the class Graphics. For instance, if the input is 4, the applet will display the digit 4. In java language please

  The company has two economics consultants

The company has two economics consultants. One of them, Juan, says that the company will not sell any of these warranties (at least in the long run), because people will figure out their strategy. The other economist, Fatima, says that the company sh..

  Design program that creates object productionworkers

Design an Employee class that has fields for the following pieces of information: Employee Name Employee Number Next, design a class named ProductionWorker that extends the Employee class

  Steps internet explorer go through when we click on web page

Explain in detail all the steps Internet Explorer should go through when you click on a web page and traverse the network created in the previous exercise.

  Microsoft project tool easy

Did you find the Microsoft Project tool easy to use? What is your best feature of the tool

  Explain material protected under all copyright laws

All rights reserved. This material is protected under all copyright laws as they presently exist. No portion of this material may be reproduced, in any form or by any means, without permission in writing from publisher.

  Why globalization is good or not good for a business

Write an argumentative paper of no more than 750 words that demonstrates why globalization is good or not good for a business. The paper should define the term good, and should identify the premises and conclusions.

  State iris''s cost minimization problem

a) State Iris's cost minimization problem and use it to derive the optimal quantities of N and A given the number of tulips produced. b) Derive Iris's total cost function. c) Derive the marginal cost function of producing tulip bulbs. d) Should Iris ..

  Physical security

As you've learned, physical security doesn't just mean securing systems. It also involves securing the premises, any boundaries, workstations, and other areas of a company. Without physical security, data could be tampered with or stolen, and value i..

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