Home › Class 12 Computer Science › Chapter 7
Class 12 · Computer Science · Chapter 7
Data Structure: Stack: complete notes
Neat, exam-ready notebook-style notes for Data Structure: Stack, following your NCERT book. This chapter is part of the complete Complete Computer Science Notes for Class 12 (CBSE 083, 2026-27).
Board questions: Data Structure: Stack: CBSE previous year questions with solutions →
Free preview: Data Structure: Stack notes
A quick look at the chapter from our Class 12 Computer Science notes. The full chapter notes have the detailed explanations, diagrams and practice questions with answers.
Topics in this chapter ★★★ very important · ★★ important · ★ asked sometimes
- 7.1 Data structures and the stack ★★
- 7.2 Stack using a list ★★★
- Multiple choice: 20 MCQs
Last-night summary
- Underflow = pop/peek on empty; overflow = push on full (rare for lists). Uses: undo, back button, reversal, parentheses, expression conversion.
- Board Q30 template: push with condition; pop with "Underflow"/"Stack Empty"; display from top.
What you get in the pack
- For CBSE Class 12 Computer Science (083), 2026-27: all three units (Python 40, Networks 10, Database 20 marks)
- All 14 chapters complete
- Every program and every output verified by actually running the code; SQL outputs checked on sample tables
- All NCERT exercises (Class XII, plus the Class XI Functions chapter) solved in full
- Every CBSE board question of 2024, 2025 and 2026 (Set 4, Q.P. code 91) solved chapter-wise as per the official marking scheme
- Network design case studies with cable-layout diagrams; SQL tables with worked outputs
- Practice sets, 20 MCQs and 6 Assertion-Reason questions with answers in every chapter, plus a last-night summary
- Single-column layout with clear code boxes, plus a print (B/W) version of every chapter
All chapters in this pack
- Python Revision Tour
- Functions
- Exception Handling
- File Handling: Text Files
- Binary Files (pickle)
- CSV Files
- Data Structure: Stack
- Networks I: Data Communication and Media
- Networks II: Devices, Topologies, Types
- Network Protocols and Web Services
- Database Concepts and the Relational Model
- SQL I: DDL, DML and Queries
- SQL II: Aggregates, GROUP BY, Joins
- Interface of Python with MySQL
