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 _____.
- A.
Linear, Front, Rear
- B.
Non-linear, Rear, Front
- C.
Non-linear, Front, Rear
- 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.