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
Lana71 [14]
3 years ago
7

Consider the following scenario: There are three advertisers A, B, and C A bids on query x, B bids on x and y, and C bids on x,

y, and z All have budgets of $3. Given the following query stream: x x x y y y z z z What is the sequence of choices, assuming the worst case scenario, for the BALANCE algorithm?
Mathematics
1 answer:
yuradex [85]3 years ago
3 0

Answer:

A A A B B B C C C  

Step-by-step explanation:

We have the Greedy algorithm, the solution at any time is considered an optimal algorithm.

In our case the sequence is x x x y y y z z z

In addition to the Greedy algorithm, the first advertiser chooses their choice without considering the minimum methods.

Now we must consider the worst case of greedy algorithm so we must suppose that it starts from advertiser C, then B and followed by A.

Therefore the worst option would come being:

C C C B B B, in addition that A cannot bid for any query.

Which means that the sequence of the balanced algorithm will be A A A B B B C C C

You might be interested in
Write 9,150,000 in scientific notation
inna [77]

Answer:

9.15x10^6

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Barbara wants to restore her '66 Mustang in 4 years. She puts $200 into an account every month that pays 4.5% interest, compound
Tcecarenko [31]

Answer:

$10496.77

Step-by-step explanation:

We have been given that Barbara puts $200 into an account every month that pays 4.5% interest, compounded monthly.

To find the money in the account after 4 years, we will use future value formula.  

FV=R(\frac{1+\frac{r}{n})^{nt}-1}{\frac{r}{n}}), where,

R = Regular deposits,

r = Interest rate in decimal form

n = Number of times interest in compounded per year,

t = Time in years.

4.5\%=\frac{4.5}{100}=0.045

Substitute given values:

FV=\$200(\frac{1+\frac{0.045}{12})^{12*4}-1}{\frac{0.045}{12}})

FV=\$200(\frac{1+0.00375)^{48}-1}{0.00375})

FV=\$200(\frac{1.00375)^{48}-1}{0.00375})

FV=\$200(1.1968143774194609-1}{0.00375})

FV=\$200(0.1968143774194609}{0.00375})

FV=\$200(52.4838339785229066667)

FV=\$10496.76679570458133334

FV\approx \$10496.77

Therefore, there will be an amount of $10496.77 in the account after 4 years.

6 0
3 years ago
If all of the diagonals are drawn from a vertex of a hexagon, how many triangles are formed?
GenaCL600 [577]
It would be six is my guess
4 0
3 years ago
Read 2 more answers
(3x - 4y) (2x + 7y) what is the answer?​
Nitella [24]

Step-by-step explanation:

=(3x-4y)(2x+7y)

=3x(2x+7y)-4y(2x+7y)

=6x²+21xy-8xy-28y²

=6x²+13xy-28y²

hope it helps.

5 0
3 years ago
Help me out plz help me
klasskru [66]

Answer:

-15

Step-by-step explanation:

Step 1: Multiply 3 by both sides

3(2/3x)=3(-10)

Step 2: Simplify

2x=-30

Step 3: Divide both sides by 2

2x/2=-30/2

Step 4: Simplify

x=-15

Hope this helps and if it does, don't be afraid to give my answer a "Thanks" and maybe a Brainliest if it's correct?  

7 0
3 years ago
Other questions:
  • Large roads that are marked by numbers and typically have higher speed limits are known as :
    14·1 answer
  • Use distrubitive property to write an expression that is equivalent to the expression, 5{2x+7}
    14·1 answer
  • What restriction should be applied to y = tanx for y = arctanx to be defined?
    13·2 answers
  • A hyperbola has vertices (+-5,0) and one focus (6,0) what is the standard form equation of the hyperbola.
    5·1 answer
  • Need help plz ? School tommarow
    14·1 answer
  • 19. The function f(x) = 27x – 67.5 has an
    5·1 answer
  • 3 feet
    12·2 answers
  • Gran is four times older than her grandson.their ages together total 75 years. a)how old is gran? b)how old will her grandson be
    5·1 answer
  • Enter and equation relating the variables in the table. Express any value(s) in your answer as simplified fractions, if necessar
    7·1 answer
  • Which of the following is NOT a unit fraction?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!