Linear Queue Using Array Posttest


Answer the multiple-choice questions below to test your understanding!


Multiple-Choice Questions:

  1. What is the primary purpose of a linear queue?





  2. Which operation is used to add an element to a linear queue?





  3. What happens when you try to enqueue an element into a full linear queue?





  4. Which operation is used to remove an element from a linear queue?





  5. What is the time complexity of enqueue and dequeue operations in a linear queue implemented using an array?