1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vedmedyk [2.9K]
3 years ago
5

A search engine company needs to do a significant amount of computation every time it recompiles its index. For this task, the c

ompany has a single large supercomputer, and an unlimited supply of high-end PCs. They have broken the overall computation into n distinct jobs, labeled J1, J2, …, Jn, which can be performed completely independently of one another. Each job consists of two stages: first it needs to be preprocessed on the supercomputer, and then it needs to be finished on one of the PCs. Let’s say that job Ji needs pi seconds of time on the supercomputer, followed by fi seconds of time on a PC. Since there are at least n PCs available on the premises, the finishing of the jobs can be performed fully in parallel – all the jobs can be processed at the same time. However, the supercomputer can only work on a single job at a time, so the system managers need to work out an order in which to feed the jobs to the supercomputer. As soon as the first job in order is done on the supercomputer, it can be handed of to a PC for finishing; at that point in time a second job can be fed to the supercomputer; when the second job is done on the supercomputer, it can proceed to a PC regardless of whether or not the first job is done (since the PCs work in parallel); and so on. Let’s say that a schedule is an ordering of the jobs for the supercomputer, and the completion time of the schedule is the earliest time at which all jobs will have finished processing on the PCs. This is an important quantity to minimize, since it determines how rapidly El Goog can generate a new index.
(A) Give a polynomial-time algorithm that finds a schedule with as small a completion time as possible.

Computers and Technology
1 answer:
romanna [79]3 years ago
5 0

Answer:

See attached pictures for detailed answer.

Explanation:

See attached pictures for explanation.

You might be interested in
20 points fun challenge!!! Can u solve this challenge? Find the only spelled out word in this jumble of letters, there is only o
densk [106]

Answer:

hello

Explanation:

8 0
4 years ago
Read 2 more answers
How do you add binary numbers?
netineya [11]

Set up the problem vertically, and add the digits in the ones place

 Add the digits in the twos place

 Add the digits in the fours place

<span>Keep adding the digits in each place value of the number until you reach your final answer</span>


hope this helps you.


<span>

</span>
7 0
4 years ago
Read 2 more answers
When entering a function or formula in a cell, which is the first character, you must type?
Yakvenalex [24]
Answer A, the equals sign to show that it is a function or formula
3 0
4 years ago
Read 2 more answers
A user is implementing security on a small office network. Which two actions would provide the minimum security requirements for
yarga [219]

Answer:

implementing a firewall

installing antivirus software

Explanation:

implementing a firewall: implementing this you could prevent the inbound and outbound not permitted connections to your internal network.

installing antivirus software: We need to install a antivirus software in the endpoints to detect and delete possible infections.

8 0
4 years ago
Write a public static method diagSum, which takes a 2d array of int values as a parameter, and returns the sum of the elements i
saveliy_v [14]

A 2d array (i.e. 2 dimensional array) represents its elements in rows and columns

<h3>The program in Java</h3>

The method in Java, where comments are used to explain each line is as follows

//This defines the method

public static int diagSum(int[][] myArray) {

    //This initializes sum to 0

    int sum = 0;

    //This iterates through each row of the array

               for (int i = 0; i < myArray.length; i++) {

                   //This calculates the sum of the diagonals

                       sum+=myArray[i][i];

               }

               //This returns the sum

               return sum;

       }

Read more about methods at:

brainly.com/question/15969952

6 0
3 years ago
Other questions:
  • Which of the following is the java comparison operator for "not equal to"
    10·1 answer
  • Which of the following could be useful during system testing?
    6·1 answer
  • Bgtdeberbaf raaaaaaaaaaaaaaaaaaaaa graaaaaaaaaaaaaaaaaaaaaaaaaaa
    11·1 answer
  • Using the flowchart diagram, identify the decision point of this solution. Identify vendors. Calculate amount due. Determine dat
    12·2 answers
  • Explain the concept of scalability. How would you respond?
    15·1 answer
  • Now suppose that the file is broken into 5 packets, each of 10 Mbits. Ignore headers that may be added to these packets. Also ig
    14·1 answer
  • Q.2 (A)
    5·1 answer
  • Anybody got a quisten
    12·1 answer
  • Why do we need to connect computers"​
    11·1 answer
  • A(n) ____________ is a group of similar or identical computers, connected by a high-speed network, that cooperate to provide ser
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!