Multiple choice

In a queue, the end from which an item is deleted is called

  1. rear

  2. front

  3. top

  4. begin

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In queue terminology, the 'front' is the end from which items are deleted (following FIFO - First In First Out principle), while the 'rear' is the end where new items are added. 'Top' is terminology for stacks, not queues. This terminology is consistent across queue implementations in various programming languages.