Exception Handling Class 12 PYQs 2024–2026 with Solutions | CBSE Computer Science Skip to content
Smart Notes for Every Exam · instant PDF download after payment +91 92520 37565
Class 12 · Computer Science · Chapter 3

Exception Handling: Class 12 PYQs 2024–2026 with solutions

All 3 CBSE board questions asked from Exception Handling in 3 board papers, with the year, set and marks of each. 2 are solved free below. The Class 12 Computer Science PYQ Book: Solved Board Papers 2024-2026 (CBSE) has every solution, all chapters and 3 full board papers.

Cover of Class 12 Computer Science PYQ Book: Solved Board Papers 2024-2026 (CBSE)
Class 12 Computer Science PYQ book: every chapter + 3 board papers, all solved
₹99₹14934% off
Free sample

Exception Handling: board weightage

Board weightage 2024–2026

Year202420252026
Questions111
Marks111

Most asked topics

Exception handling3

3 questions from 3 papers. Repeated questions are shown once with every year they were asked.

Jump to: 1 mark

1 mark: MCQ and Assertion–Reason

Q1 · CBSE 2026 · 91 · Q111 mark

State True or False: In Python, logical errors can be handled using try...except...finally statement.

Solution

False. A logical error produces a wrong result without raising any exception, so there is nothing for except to catch; only run-time errors (exceptions) can be handled.

Q2 · CBSE 2025 · 91 · Q111 mark

N='5' / try: /  print('WORD' + N, end='#') / except: /  print('ERROR',end='#') / finally: /  print('OVER') (A) ERROR# (B) WORD5#OVER (C) WORD5# (D) ERROR#OVER

Solution

(B) WORD5#OVER. N is the string '5', so 'WORD' + '5' = 'WORD5' works; no exception, so except is skipped; finally always runs and prints OVER.

Q3 · CBSE 2024 · 91 · Q131 mark

State True or False: While handling exceptions in Python, name of the exception has to be compulsorily added with except clause.

Full step-by-step solution is in the PYQ book (₹99).

Get every solution for all chapters

  • Every board question of every chapter, each fully solved the way the board gives marks
  • 3 complete board papers, each followed by its solutions
  • Weightage and most-asked topics for every chapter
  • Instant PDF download, colour and black & white print copies
See real pages (free sample)

Revising the chapter first? Complete Computer Science Notes for Class 12 (CBSE 083, 2026-27) →

What you get in the pack

All chapters in this pack

  1. PYQ Ch 1 Python Revision Tour
  2. PYQ Ch 2 Functions
  3. PYQ Ch 3 Exception Handling
  4. PYQ Ch 4 Text Files
  5. PYQ Ch 5 Binary Files
  6. PYQ Ch 6 CSV Files
  7. PYQ Ch 7 Stack
  8. PYQ Ch 8 Computer Networks I: Evolution and Data Communication
  9. PYQ Ch 9 Computer Networks II: Devices, Topologies and Types
  10. PYQ Ch 10 Network Protocols and Web Services
  11. PYQ Ch 11 Database Concepts
  12. PYQ Ch 12 SQL: DDL, DML and Queries
  13. PYQ Ch 13 SQL: Aggregates, Grouping and Joins
  14. PYQ Ch 14 Interface of Python with MySQL
  15. Board Paper 2026 Set 91 with Solutions
  16. Board Paper 2025 Set 91 with Solutions
  17. Board Paper 2024 Set 91 with Solutions
← PYQ Ch 2 Functions PYQ Ch 4 Text Files →

Prices shown in Indian rupees. Show prices in: ₹ INR · US$ USD