Stack
Himachal Pradesh Board · Class 12 · Computer Science
Quick revision notes for Stack — Himachal Pradesh Board Class 12 Computer Science. Key concepts, formulas, and definitions for last-minute revision.
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

Super Tutor has 10+ illustrations like this for Stack alone — flashcards, concept maps, and step-by-step visuals.
See them allKey Topics to Revise
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. 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. Stack Implementation in Python
- Python stack is implemented using the list data type.
- append() is used for insertion.
- pop() is used for deletion.
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 NotesKey Concepts
Frequently Asked Questions
What are the important topics in Stack for Himachal Pradesh Board Class 12 Computer Science?
How to score full marks in Stack — Himachal Pradesh Board Class 12 Computer Science?
Sources & Official References
Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.
More resources for Stack
Practice Quiz
Test yourself with a quick quiz
Important Questions
Practice with board exam-style questions
Formula Sheet
All formulas in one place
Chapter Summary
Understand the chapter at a glance
Concept Maps
See how topics connect visually
Study Plan
Step-by-step plan to ace this chapter
Flashcards
Quick-fire cards for active recall
Syllabus
What topics to cover
NCERT Solutions
Every textbook question solved step by step
For serious students
Get the full Stack chapter — for free.
Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Himachal Pradesh Board Class 12 Computer Science.