Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The store opens at nine o\'clock in the morning. Alice arrives 20 minutes after

ID: 3808375 • Letter: T

Question

The store opens at nine o'clock in the morning. Alice arrives 20 minutes after the store opens. Ten minutes after the Alice arrives Belle enters the store. Candace arrives 40 minutes after the store opens. Denise enters the store twenty minutes after Candace. Alice departs ten minutes before Denise enters the store. Twenty minutes after Alice leaves the store, Belle departs. Ten minutes after Belle leaves, Eileen enters the store. Twenty minutes after Belle departs, Candace also leaves the store. Finally, Denise leaves after the store has been open for one hour and forty minutes. What values are stored in the Queue after Denise leaves the store? a. Eileen, Belle, Candace, Denise b. 80, 30, 40, 50 c. Eileen d. 80 What is the size of the Queue? a. 1 b. 3 c. 5 d. none of the above What is the index of the oldest customer in the Queue after Denise leaves the store? a. 0 b. 1 c. 2 d. 3 What is the index of the newest customer in the Queue after Denise leaves the store? a. 0 b. 1 c. 2 d. 3 How many elements are in the Queue after Denise leaves the store? a. 1 b. 3 c. 5 d. none of the above

Explanation / Answer

Alice => 20
Queue[Alice]

Belle => 30
Queue[Alice Belle]

Candance => 40
Queue[Alice Belle Candance]

Alice departs => 50
Queue[Belle Candance]

Denise => 60
Queue[Belle Candance Denise]

Belle departs => 70
Queue[Candance Denise]

Eileen => 80
Queue[Candance Denise Eileen]

Candance departs => 90
Queue[Denise Eileen]

Denise departs => 1000
Queue[Eileen]


Q7.
  
   c. Eileen

Q8.
   a. 1

Q9. a. 0
Q10. a. 0
Q11. a. 1

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote