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
melamori03 [73]
2 years ago
11

If the elements a, b, c and d are placed in a queue and are deleted one at a time, in what order will they be removed?.

Mathematics
1 answer:
Shalnov [3]2 years ago
5 0

If we add A, B, C, and D in a queue (row) in FIFO order, then the order of removal elements will be:

1st A, 2nd B, 3rd C, and the last removal element will be D

The queue is an arrangement of words, numbers, or any given data in a straight line or a row format. The data can only be inserted/added from one end of the row, which is also called the rear end. And we remove the data from the other or opposite end of the row/line, known as the front end.

(Rear end) _______________ (Front end)

(Front end) _______________ (Rear end)

We can place data in a specific way in a queue:

FIFO Order (First In, First Out): The first object that enters a queue will also be the first to exit the line.

If we add A to a queue, followed by B, C, and D, then A will be the first to be deleted, followed by B, C, and D.

(Empty)

A

B, A

C, B, A

D, C, B, A (All the objects entered the queue)

D, C, B

D, C

D

(Empty)

More similar problems are solved in the link below:

brainly.com/question/26849964?referrer=searchResults

#SPJ4

You might be interested in
1+3+5......+99 Si rezolvarea va rog fiindca nu inteleg !!
levacccp [35]
I hope this helps you

4 0
4 years ago
In a survey of 500 people, 31% percent said they were afraid of flying what decimal represents the number of people who said the
GREYUIT [131]

Answer:

0.31

Step-by-step explanation:

Given that :

Total number surveyed = 500

Percentage who are afraid of flying = 31%

Decimal which represents number of people who are afraid of flying :

Converting 31% into decimal form:

31 / 100

= 0.31

Hence 0.31 of the people surveyed were afraid of flying

6 0
3 years ago
a ball is thrown into the air with an upward velocity of 36 ft/s. it’s height h in feet after t seconds is given by the function
lukranit [14]

Complete the square:

h(t)=-16t^2+36t+9=-16\left(t^2-\dfrac94t\right)+9=-16\left(\left(t-\dfrac98\right)^2-\dfrac{81}{64}\right)+9

h(t)=-16\left(t-\dfrac98\right)^2+\dfrac{117}4

That is, the graph of h(t) is a parabola with vertex at (t,h(t))=\left(\dfrac98,\dfrac{117}4\right), meaning the ball reaches its maximum height of \dfrac{117}4=29.25\,\mathrm{ft} after t=\dfrac98=1.125\,\mathrm s of being thrown.

5 0
3 years ago
Use the discriminant to find all values of b for which the question has one real solution.
Arada [10]
Use the formula 0 = b^2-4ac

0 = -b^2-4(2)(-9)

0 = -b^2+72

b^2 = 72

b = square root of 72

b = 2 real numbers
4 0
3 years ago
Plz, help me with this question?
quester [9]

divide both sides by 7 to get x alone

84/7 = 12

B.12

4 0
3 years ago
Read 2 more answers
Other questions:
  • Jerry walked a dog from 6:40 am to 7:30 pm one day. If he was paid at the rate of 6$ per hour, how much did he earn that day?
    11·2 answers
  • Describe the relationship between the angles!! HELP ME PLZ
    13·1 answer
  • Simplify (4xy^-2)/(12x^(-1/3)y^-5) and Show work ...?
    12·1 answer
  • Help me plzzzz<br> On problem number 3
    13·2 answers
  • Which description is true about the transformation shown?
    5·2 answers
  • Find the value of x!!!!
    12·1 answer
  • What's the slope of x + 2y = 12
    9·2 answers
  • Can someone please solve this for me? (steps included)
    12·1 answer
  • Each patron can borrow up to 6 books. If all the patrons are currently holding on to 6 books each, how many books are left in th
    15·1 answer
  • Write the equation of the line in slope-intercept form.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!