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
vazorg [7]
2 years ago
14

A queue is a first-in—first-out data structure. Suppose you have two queues accepting requests for a particular service, but at

some point, the server for one queue goes down. You must now merge the two queues. If no other information is available, what might a reasonable strategy be for forming a single queue out of the two queues? What additional information would be necessary to form a single queue in such a way to be most fair to all requests?
Computers and Technology
1 answer:
ElenaW [278]2 years ago
7 0

The information that would be necessary to form a single queue is to merge the data in both queues.

<h3>What is a queue?</h3>

A queue simply means a linear structure that follows a particular order in which the operations are performed.

The queues are used to process users' requests on any application. They store users' requests such that requests which have come first, tend to get served first.

Therefore, if one queue goes down, it should be best to merge the data in both queues on basis of their request time, therefore, becomes most fair to all requests.

Learn more about queue on:

brainly.com/question/24275089

You might be interested in
Fire stick optimizing system storage and applications
vivado [14]

Answer:

IN MY PROFILE

Explanation:

I HAVE AWNSERED THIS QUESTION THROUGHOUT MY BEING HERE PLEASE DO NOT BE AFRAID TO CLICK ON MY PROFILE AND FIND THE ANSWER

5 0
3 years ago
Which key retains its uniqueness even after you remove some of the fields?
Natasha_Volkova [10]

Answer:

Primary key retains its uniqueness even after you remove some of the fields.

Explanation:

I am assuming that this question is related to database. Therefore, I am answering it according to database context.

In database, you can have multiple rows and columns. Each column shows a specific attribute while each row plots the data according to the attributes. However, there is the first column of each of main table that has unique set of values. It is called the Primary Key. Some key features of primary key are:

  • It always contains the unique value.
  • Its value cannot be null.
  • A table can have at max one primary key.
  • It can be the combination of multiple columns but it must be unique.

Therefore, the primary key has the ability to retain its uniqueness even after you remove some of the fields.

8 0
4 years ago
Are there any output differences between floats and doubles?
lana [24]

Explanation:

The precision in double values is twice as compared to float values.Hence double have smaller rounding errors as compared to float variables .A double is of 64 bits and float is of 32 bits usually hence floats have more rounding errors and on more number than doubles.Double has 15 decimal digits of precision and float has only 7 decimal digits for precision.

5 0
3 years ago
Explain briefly the FIREWALLS
Vlada [557]

Answer:

Think of a firewall as your own personal security guard. The firewall will block unapproved websites from talking to your computer and will stop your computer from talking to unapproved/unnecessary websites. Hope this helps!

Explanation:

7 0
3 years ago
If you’re torn between more than one option while making a decision, which of the following would most likely be the best strate
Vladimir [108]
<span>If you’re torn between more than one option while making a decision, which of the following would most likely be the best strategy to help you decide you should get rid of the bad ones and you will be left with good ones 

</span>
3 0
3 years ago
Other questions:
  • Which actions can be performed on tables in Word? Check all that apply.
    13·2 answers
  • Create an Entity-Relationship Diagram with the following requirements.
    6·1 answer
  • Universal Containers needs a field on the Account to track how many Opportunities are closing within the next 30 days. What can
    9·1 answer
  • Www.microsoft.com is an example of this (two words) (last letter is e) and has to be (10 letters)
    10·1 answer
  • Create a project named ClassicBookSelector that contains a Form with a ListBox that lists at least five classic books that you t
    10·1 answer
  • The advantage of returning a structure type from a function when compared to returning a fundamental type is that
    5·1 answer
  • Is a pocket watch consider a computer
    15·1 answer
  • Typing which capitals and exclamation points in an email is an example of
    14·1 answer
  • An eReader has a 956-pixel x 1290-pixel grayscale display with each pixel able to display 32 shades of gray. What is the KiB siz
    9·1 answer
  • A web site that contains large numbers of misspelled words and grammatical errors fails which of these general criteria?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!