If the characters z,y,x and w are placed in a queue, what is the order in which these will be removed from the queueu
Answers
Answered by
4
Answer:
z, y, x, w
Step-by-step explanation:
In a queue, the elements are added and removed in a FIFO (First In First Out) order.
For example, if a row of people stand in a line for picking up cinema tickets, the first person who receives the tickets and leaves the line is the first one who enters the queue (First come first serve).
If the characters z, y, x and w are places in a queue,
The first character that is removed will be z,
Then y, x and so on.
So the order of the removal will be z, y, x, w
Similar questions