Start learning →

Match the operation

Exercise and reference answers

Matching pairs
  1. Left
    PUSH
    Right
    Adds an element at the top
  2. Left
    POP
    Right
    Removes the topmost element
  3. Left
    ENQUEUE
    Right
    Inserts at the rear of a queue
  4. Left
    DEQUEUE
    Right
    Removes from the front of a queue
  5. Left
    PEEK
    Right
    Views the front without removing it
  6. Left
    IS FULL
    Right
    Checks whether more can be added
Instructions
Match each operation on the left to what it does.

Explanation

_Source: syllabus Computer Science, Ch 3 'Stack' and Ch 4 'Queue'_
Continue learning with Quill →

Browse more IGNOU MCA questions and exercises →