Skip to main content
Chapter 3 of 13
Practice Quiz

Stack — Practice Quiz

Haryana Board · Class 12 · Computer Science

Try a 4-question quiz on Stack for Haryana Board Class 12 Computer Science: tap an answer to check it and see why. 105 questions in the full chapter test.

105 questions68 flashcards5 formulas & key relations5 concepts

Interactive on Super Tutor

Studying Stack? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for practice quiz and more.

Free trial, no card needed.

An infographic illustrating various data structures like String, List, Set, Tuple, Array, Linked List, Binary Trees, Heaps, Graph, Sparse Matrix, and highlighting linear vs. non-linear structures.
Super Tutor

Learn better with visuals Super Tutor pairs illustrations like this with notes and quizzes for Stack.

Quick Quiz: Stack

0/4

Tap an answer to check it instantly. No sign-up needed for these 4.

1

What principle does a stack follow?

2

Which operation is used to add an element to a stack?

3

What happens when you try to POP from an empty stack?

4

In Python, which list method is used to implement PUSH operation?

105 Questions·
multiple choicemultiple correcttrue false

Sample Questions

1multiple correct

Which of the following are real-life examples of stack?

Show answer

Pile of books, Stack of plates, Bangles on wrist

Pile of books, stack of plates, and bangles on wrist follow LIFO principle - you add/remove from the top. Queue at movie theater follows FIFO, and traffic signal is not a stack example.

2multiple choice

Which expression notation places operators between operands?

Show answer

Infix

Infix notation places operators between operands (like x + y). Prefix places operators before operands, and postfix places operators after operands.

3multiple choice

What is the postfix notation for the infix expression 'A + B'?

Show answer

A B +

In postfix notation, operators come after their operands. So 'A + B' becomes 'A B +' where both operands A and B are followed by the operator +.

4multiple correct

Which of the following are applications of stack in programming?

Show answer

Undo/Redo operations, Browser back button, Reversing a string

Stack is used in undo/redo operations, browser back button functionality, and string reversal because they all follow LIFO principle. Sorting and finding maximum don't typically use stack data structure.

+101 more questions on Stack (Haryana Board Class 12 Computer Science)

Practise All

Frequently Asked Questions

What are the important topics in Stack for Haryana Board Class 12 Computer Science?
Key topics in Stack include Core Idea of Stack, Operations on Stack, Stack Implementation in Python, Notations for Arithmetic Expressions. Study these first, then practise questions on each for the Haryana Board Class 12 board exam.
How many practice questions are there for Stack?
There are 105 questions on Stack. Try the 4-question sample quiz on this page first; each answer shows an explanation when you tap it.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Stack chapter — start free.

Quizzes, flashcards, an AI doubt solver and a study plan for Haryana Board Class 12 Computer Science. Free to start, no card needed.