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

  Does company culture impact security

Does company culture impact security? If so, in what way? How does this fit into computer ethics?

  What is the size of a char and a string

What are the sizes in memory of other data types in C++? I mean, I know that a double is 8 bytes and an int is 4 bytes. What is the size of a Char and a String?

  Advantages of control structures with arrays

Describe some of the advantages of using repetition control structures with arrays. Provide an example to support your stated advantage.

  Sequence of events and signals activated

Describe the sequence of events and signals activated when a 6800 device wants to exchange data with the 68000 processor.

  Calculate the closing cost

Let's calculate the Closing Cost (in column M) for ALL properties. It is determined based on the Style of the property and is summarized in the look-up table in R24:T26

  What line blocks a producer thread when the buffer is full

In the implementation of finite bounded buffer shown in Figure 5.16… What line blocks a producer thread when the buffer is full? What line releases a blocked producer thread when space becomes available?

  Write a function to evaluate a polynomial

Write a function to evaluate a polynomial at a given real value a. That is define a function eval(P,a) that takes a list (polynomial) P and a given real number a, and computes P(a).

  Persuade your team to give time to organization

Discuss whether you should accept this demand from your manager or whether you should persuade your team to give their time to the organization rather than to their families.

  Advising about a software purchase

Your local art museum recently purchased a quad-core computer with 16 GB of RAM. The curator read an article about an art collection inventory system software package that could go on the new computer. You have a long experience with end users has..

  Going abroad with engineers

You supervise 12 engineers. Their formal training and work experience are very similar, so you move them around on different projects. Yesterday, your manager informed you that an overseas affiliate has requested four engineers to go abroad on ext..

  Considerations and network device security

Cnonsiderations and Network Device Security

  Describe at least two technical standards

Describe at least two technical standards, Compare and contrast technical standards for information systems security technologies.

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