Skip to main content
Chapter 3 of 13
Revision Notes

Stack

Haryana Board · Class 12 · Computer Science

Quick revision notes for Stack — Haryana Board Class 12 Computer Science. Key concepts, formulas, and definitions for last-minute revision.

105 questions68 flashcards5 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 revision notes and more.

1,000+ Class 12 students started this chapter today

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

Super Tutor has 10+ illustrations like this for Stack alone — flashcards, concept maps, and step-by-step visuals.

See them all

Key Topics to Revise

1

1. Core Idea of Stack

  • A stack is a linear data structure.
  • Elements are added and removed only from one end, called TOP.
  • Stack follows the Last-In-First-Out principle.
2

2. Operations on Stack

  • PUSH inserts a new element at the TOP.
  • POP removes the topmost element from the stack.
  • PUSH is an insertion operation.
3

3. Stack Implementation in Python

  • Python stack is implemented using the list data type.
  • append() is used for insertion.
  • pop() is used for deletion.
4

4. Notations for Arithmetic Expressions

  • Infix notation places operators between operands.
  • Prefix notation places operators before operands.
  • Postfix notation places operators after operands.

Get complete notes with diagrams and examples

Full Notes

Key Concepts

A stack is a linear dataLIFO means LastTOP is the end fromPUSH is the insertion operation onOverflow occurs when an element

Frequently Asked Questions

What are the important topics in Stack for Haryana Board Class 12 Computer Science?
Stack covers several key topics that are frequently asked in Haryana Board Class 12 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Stack — Haryana Board Class 12 Computer Science?
Understand the core concepts first, then work through the 105 practice questions available for this chapter. Revise formulas and definitions regularly, and use flashcards for quick recall before the exam.

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 — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Haryana Board Class 12 Computer Science.