Skip to content

Computer Science · Class 12 · ISC

Stacks

The stack as a LIFO structure, push and pop, overflow and underflow, and applications of stacks.

4questions

Board PYQs
0
Practice
4
Topics
0
  • Most common: 3 marks

Syllabus mapping: ISC syllabus (CISCE) (opens CISCE's website in a new tab)

4 questions

  • Practice question

    3 marks

    Name three applications of a stack.

    StacksMediumShort answer

  • Practice question

    3 marks

    A stack of capacity 5 is empty. After push(1), push(2), push(3), pop(), push(4), pop(), pop(), what is left on the stack?

    StacksMediumNumerical

  • Practice question

    3 marks

    Write the algorithm for the push operation on a stack implemented in an array of capacity n.

    StacksMediumApplication based

  • Practice question

    3 marks

    What is a stack? Name the two operations on it and state what overflow and underflow mean.

    StacksMediumShort answer