A queue is a _____ data structure in which elements can be inserted only at…

2018

A queue is a _____ data structure in which elements can be inserted only at one end called _____ and deleted only at the other end called _____.

  1. A.

    Linear, Front, Rear

  2. B.

    Non-linear, Rear, Front

  3. C.

    Non-linear, Front, Rear

  4. D.

    Linear, Rear, Front

Attempted by 376 students.

Show answer & explanation

Correct answer: D

A queue is a linear data structure that follows the First-In-First-Out (FIFO) principle. Elements are inserted at one end known as the rear and removed from the other end known as the front.

Explore the full course: Up Lt Grade Assistant Teacher 2025