Apar Academy Logo
AparAcademy

AI-Powered Learning for Every Student

Kids Games
Pricing
All Classes/Class 12/Computer Science/Stack

Stack

Class 12 · Computer Science · 7 Questions

1beginner💡 Understand4 marksShort Answer

State TRUE or FALSE for the following cases:

2intermediate🔧 Apply4 marksShort Answer

Find the output of the following code:

3intermediate🔧 Apply4 marksLong Answer

Write a program to reverse a string using stack.

4intermediate🔧 Apply4 marksLong Answer

For the following arithmetic expression: ((2+3)*(4/2))+2 Show step-by-step process for matching parentheses using stack data structure.

5intermediate🔧 Apply4 marksNumerical

Evaluate following postfix expressions while showing status of stack after each operation given A=3, B=5, C=1, D=4

6intermediate🔧 Apply4 marksLong Answer

Convert the following infix notations to postfix notations, showing stack and string contents at each step.

7advanced✨ Create5 marksLong Answer

Write a program to create a Stack for storing only odd numbers out of all the numbers entered by the user. Display the content of the Stack along with the largest odd number in the Stack. (Hint. Keep popping out the elements from stack and maintain the largest element retrieved so far in a variable. Repeat till Stack is empty)

Stay Ahead in Education

Get exclusive insights on AI in education, platform updates, and learning trends delivered to your inbox.

Get the App

Learn on the go — Android app live on Google Play.

Get it on Google Play
QR code to download Apar Academy from Google Play
Apar Academy Logo

Apar Academy

Learn Smarter, Grow Faster

AI-powered learning platform that transforms education for K-12 students, making complex subjects accessible, engaging, and personalized for every learner.

contact@aparacademy.com
+91 8904064878
Bengaluru, India

Courses

  • Class 3
  • Class 4
  • Class 5
  • Class 6
  • Class 7
  • Class 8
  • Class 9
  • Class 10
  • Class 11
  • Class 12
  • All Courses

NCERT Questions

  • Class 3
  • Class 4
  • Class 5
  • Class 6
  • Class 7
  • Class 8
  • Class 9
  • Class 10
  • Class 11
  • Class 12
  • All Questions
  • NCERT Quiz Generator

AI Features

  • AI Explain Question
  • AI Explain Note
  • AI Quiz Analyzer
  • AI Question Checker
  • AI Viva Buddy
  • Concept Maps
  • Multilingual Notes

Free Practice

  • Gamified Case Studies
  • Kids Learning Games
  • Knowledge Builder Quizzes

Kids Games

  • Counting Games
  • Alphabet & Phonics
  • Shapes & Patterns
  • Colour & Art Games
  • Animals & Nature
  • Music Games
  • Memory Games
  • Logic Puzzles
  • Coding & AI for Kids
  • Life Skills
  • Tap & Catch Games
  • Story Games
  • All Kids Games

Company

  • Why Apar Academy
  • About Us
  • Pricing
  • Contact Us
  • For NGOs
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
73
NCERT Courses
10K+
MCQ Quizzes
3200+
Gamified Case Studies
7
AI Features Live
© 2025-2026 Apar Academy. All rights reserved.|
Made with by Aparsoft Private Limited
DPIIT RecognisedNCERT AlignedMade in India

अपार (Apar) = Infinite. Infinite learning, powered by AI, built for India. NCERT courses with study material & practice for every chapter, role-based gamified case studies & 7 AI features for Classes 1–12.