Stack — Class 12 MCQs with Answers
Class 12 CBSE Computer Science · Chapter 5
30 practice questions · 30 Medium · Updated
Practise the most important Class 12 CBSE Computer Science questions from Chapter 5, "Stack". You get 3 timed quizzes made from 30 NCERT-based MCQs, with answers and explanations. The questions are split into 30 Medium. Warm up on the basics, then move on to the exam-level questions that set top scorers in CBSE Board exams apart.
To score well in "Stack", focus on logic, syntax and computational thinking. Each MCQ here is timed and uses exam-style marking (+4 correct, −1 wrong, 0 skipped). This trains you to stay accurate under time pressure, as real papers need. Every question has a short explanation, so a wrong answer becomes a quick lesson. It is the fastest way to fix gaps before a test.
Use this chapter for focused revision. Start with the Easy set to check your basics on Stack, then move to Medium to practise applying them. Your accuracy, streaks and XP save automatically. This chapter also adds to your overall Class 12 Computer Science mastery score. 2 sample questions are solved in full below, with the answer and a worked explanation. Sign in free to start practising.
Stack — important questions & MCQs with answers (Class 12 Computer Science)
2 solved questions from this chapter's difficulty levels, each with its answer and explanation. The other 28 are timed and scored when you sign in.
- Q1Medium
A stack adds and removes elements:
A.From the same end, called the top✓ CorrectB.From opposite endsC.From the middle onlyD.In sorted orderAnswer: A. From the same end, called the top
Explanation: New elements are added and existing ones removed at the same end, commonly called the top of the stack.
- Q2Medium
The operation that inserts an element onto a stack is called:
A.insertB.peekC.popD.push✓ CorrectAnswer: D. push
Explanation: Insertion onto the stack is the push operation, and removal is pop.
Start this chapter free
You have 2 solved above. Sign in with Google (no card needed). You get 1 Easy + 1 Medium quiz on every chapter during your 30-day trial. After that, you keep 1 Easy quiz on every chapter, free for good.
This chapter has 30 questions (30 Medium), with timed scoring and instant feedback. The rest unlock with the ₹999/year plan.
Start this chapter free →Stack — FAQs
What does Class 12 Computer Science Chapter 5 (Stack) cover on XamBaaz?+
It has 30 NCERT-based MCQs on "Stack": 30 Medium. Together they make 3 timed quizzes, and you never get the same set twice. Every question has an instant explanation. They help you prepare for CBSE Board exams.
Are these "Stack" questions free to practise?+
Yes. Sign in with Google to practise "Stack" free. Full unlimited access is ₹999/year on a launch offer until 1 December 2026. No chapter is charged separately.
How should I revise "Stack" for the exam?+
Start with the Easy quiz to check your basics, then try Medium to practise applying them. There are 3 timed quizzes on this chapter, so you can come back for a fresh set instead of one you have seen. Read each explanation, retry the questions you miss, and track your accuracy until it stays high.
Are these "Stack" MCQs available with answers?+
Yes. 2 sample questions are shown here in full, each with the correct option and a step-by-step "Why" explanation. Sign in free with Google to start practising, with instant scoring.
Is there negative marking in the "Stack" quizzes?+
Yes. The timed quizzes use exam-style marking: +4 for a right answer, −1 for a wrong one and 0 for a skip. MHT-CET and CBSE board papers have no negative marking. Our mocks for those are scored their way.
What are the important questions from Stack (Class 12 Computer Science)?+
This page shows 2 solved important MCQs with answers and explanations; all 30 questions on the chapter are available as timed quizzes once you sign in.
Is there an online quiz for Stack?+
Yes — Class 12 Computer Science Stack has timed online quizzes at Medium levels, with instant scoring and a worked explanation on every question. The first quiz on the chapter is free.
