XamBaaz

Exception Handling in Python — Class 12 MCQs with Answers

Class 12 CBSE Computer Science · Chapter 2

30 practice questions · 30 Medium · Updated

Practise the most important Class 12 CBSE Computer Science questions from Chapter 2, "Exception Handling in Python". 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 "Exception Handling in Python", 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 Exception Handling in Python, 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.

Exception Handling in Python — 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.

  1. Q1Medium

    Errors detected because the rules of the language have not been followed are called:

    A.Syntax errors✓ Correct
    B.Logical errors
    C.Runtime exceptions
    D.Assertion failures

    Answer: A. Syntax errors

    Explanation: Syntax errors, also known as parsing errors, are detected when the rules of the programming language have not been followed while writing the program.

  2. Q2Medium

    Commonly occurring exceptions already defined in the interpreter are called:

    A.Assertions
    B.Tracebacks
    C.Built-in exceptions✓ Correct
    D.User-defined exceptions

    Answer: C. Built-in exceptions

    Explanation: Commonly occurring exceptions are defined in the compiler or interpreter and are called built-in exceptions, supplied by Python's standard library.

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 →

Exception Handling in Python — FAQs

What does Class 12 Computer Science Chapter 2 (Exception Handling in Python) cover on XamBaaz?+

It has 30 NCERT-based MCQs on "Exception Handling in Python": 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 "Exception Handling in Python" questions free to practise?+

Yes. Sign in with Google to practise "Exception Handling in Python" free. Full unlimited access is ₹999/year on a launch offer until 1 December 2026. No chapter is charged separately.

How should I revise "Exception Handling in Python" 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 "Exception Handling in Python" 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 "Exception Handling in Python" 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 Exception Handling in Python (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 Exception Handling in Python?+

Yes — Class 12 Computer Science Exception Handling in Python 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.

More Class 12 Computer Science chapters

Class 12 — other subjects

← All Class 12 Computer Science chapters
🦅 One new exam question every day on InstagramFollow @xambaaz