Stack is related to terms such as _________.

2017

Stack is related to terms such as _________.

  1. A.

    Push and pop

  2. B.

    Enqueue and dequeue

  3. C.

    Push

  4. D.

    Enqueue

Attempted by 362 students.

Show answer & explanation

Correct answer: A

The correct option is A. A stack is a linear data structure following the Last-In, First-Out (LIFO) principle. Its primary operations are push (to insert an element at the top) and pop (to remove the topmost element). Therefore, it is directly related to both terms.

Explore the full course: Btsc Lab Assistant