ProSyllabus Journal CBSE Class 12 Board Examination Complete Summary and Solutions for Exception Handling in Python – NCERT Class XII Computer Science, Chapter 1 – Syntax Errors, Exceptions, Built-in Exceptions, Raising and Handling Exceptions, Finally Clause, Questions, Answers Detailed summary and explanation of Chapter 1 'Exception Handling in Python' from the Computer Science textbook for Class XII, covering syntax errors, different types of exceptions, built-in and user-defined exceptions, raising exceptions using raise and assert, handling exceptions using try, except, else, and finally clauses—plus all NCERT questions, answers, and exercises for practical understanding.
Updated 1 year ago NCERT · Class XII · Computer Science · Chapter 1 · Exception Handling · Python · Summary · Questions · Answers · Programming · Comprehension
#Exception Handling #Python #NCERT #Class 12 #Errors #Syntax Errors #Built-in Exceptions #Raise #Assert #Try Except #Finally #Summary #Explanation #Questions #Answers #Programming #Chapter 1
Marks booster + cheatsheet: key concepts in 2 lines each, common traps 35 marks: Calculus, shared with Part II 10 marks: Algebra, Ch 3–4 Common traps that cost marks, listed 6 principal branches of inverse trig Every derivative rule with its condition Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details
Exception Handling in Python - Class 12 Computer Science Chapter 1 Ultimate Study Guide 2025
Full Chapter Summary & Detailed Notes
Key Definitions & Terms
60+ Questions & Answers
Key Concepts
Code Examples & Programs
Interactive Quiz (10 Q)
Quick Revision Notes & Mnemonics
Key Terms & Processes
Exception Handling Processes Step-by-Step
Full Chapter Summary & Detailed Notes - Exception Handling in Python Class 12 NCERT
Overview & Key Concepts
Chapter Goal : Understand errors (syntax, runtime/logical), exceptions as Python objects, built-in/user-defined, raising (raise/assert), handling (try-except-else-finally). Exam Focus: Built-in exceptions table, Program 1-2 to 1-7, flowchart Fig 1.8; 2025 Updates: Emphasis on debugging in IDEs like VS Code. Fun Fact: Bjarne Stroustrup quote on clean code ties to exception strategy. Core Idea: Prevent crashes with handlers; from "let it crash" to graceful recovery. Real-World: Division by zero in apps. Expanded: All subtopics point-wise with evidence (e.g., Fig 1.4 outputs), examples (e.g., IndexError raise), debates (e.g., assert in prod vs debug).
Wider Scope : From shell/script errors to REPL debugging; sources: Programs (1-1 to 1-7), tables (1.1), figures (1.1-1.13).
Expanded Content : Include modern aspects like context managers (with finally), pytest for testing; point-wise for recall; add 2025 relevance like async exceptions.
Introduction & Errors
Errors Overview : Syntax (pre-execution, e.g., missing parens), Runtime (exceptions during exec, e.g., /0), Logical (wrong output, no auto-trigger).
Exceptions : Auto-raised objects for runtime errors; handle to avoid abrupt termination. Ex: FileNotFoundError disrupts flow.
Example: Division : numerator/denom=0 → ZeroDivisionError; evidence (traceback) shows call stack.
Practical Difficulties : Unhandled → crash; Solutions: Anticipate in design.
Expanded : Evidence: SyntaxError in Fig 1.1-1.3; debates: Exceptions vs checks; real: Post-2020 remote debugging.
Conceptual Diagram: Error to Exception Flow
Flow: Code Write → Syntax Check (Error? Fix) → Exec → Runtime Error → Raise Exception → Handler (Try-Except) → Continue/Stop. Ties to process Fig 1.8.
Why This Guide Stands Out
Comprehensive: All subtopics point-wise, program integrations; 2025 with async/await handling, processes analyzed for real code.
Syntax Errors
Detection : Violates Python rules (e.g., print("Good Score"); parser halts.
Shell Mode : Fig 1.1 shows error name + desc (e.g., SyntaxError: invalid syntax).
Script Mode : Fig 1.2-1.3 dialog: Name + desc; fix, save, rerun.
Expanded : Evidence: IndentationError subset; real: Common in beginners (missing :).
Built-in Exceptions
Overview : Pre-defined in std lib for common errors; handler shows reason + name.
Table 1.1 Key Ones : SyntaxError (syntax), ValueError (wrong value/type), IOError (file open fail), etc. (12 total).
Examples : Fig 1.4: ZeroDivisionError (a/0), NameError (undef var), TypeError (+ str/int).
User-Defined : Custom for needs; learn handling next.
Expanded : Evidence: OverflowError for huge nums; debates: Catch-all vs specific.
Quick Code: Built-in Raise
try:
x = 5 / 0
except ZeroDivisionError:
print("Cannot divide by zero!")
Output: Cannot divide by zero!
Raising Exceptions
Auto-Raise : Interpreter throws on error; interrupts flow to handler.
raise Statement : Syntax: raise ExceptionName[(arg)]; Ex: Fig 1.5 ("OOPS"), Fig 1.6 (IndexError, no msg → traceback).
assert Statement : Syntax: assert Expr[,arg]; False → AssertionError. Ex: Program 1-1 (negativecheck(-350) → "OOPS... Negative Number", Fig 1.7).
Stack Traceback : Shows call sequence (learn Stack Ch3).
Expanded : Evidence: raise IndexError; real: Validation (assert age>0).
Handling Exceptions
Need : Categorize types, separate logic/error code, track position, handle built-in/user-defined.
Process : Error → Create obj (type/file/line) → Throw → Search call stack (reverse) for handler → Catch/Exec or Terminate. Fig 1.8 flowchart.
Catching : Suspicious code in try; handlers in except. Syntax: try: ... except ExceptionName: ...
Program 1-2 : Division; ZeroDivisionError handled (Fig 1.9 no err, 1.10 err).
Multiple except : Program 1-3 (ZeroDivisionError + ValueError).
Except without name : Catch-all last (Program 1-4, Fig 1.11).
else Clause : No err → exec (Program 1-5, Fig 1.12).
finally Clause : Always exec (cleanup, e.g., file close). Program 1-6 ("OVER AND OUT"). Recover: Unhandled → finally then re-raise (Program 1-7, Fig 1.13).
Expanded : Evidence: Mediation-like search; debates: Bare except risks.
Exam Code Studies
Program 1-1 assert; 1-2 basic try; 1-4 catch-all; 1-7 re-raise.
Summary & Exercise
Key Takeaways : Fix syntax pre-run; handle runtime via exceptions; raise/assert for control; try-except-else-finally for robust code.
Exercise Tease : Justify syntax vs exceptions; examples for built-ins; code for raise/assert.
Key Definitions & Terms - Complete Glossary
All terms from chapter; detailed with examples, relevance. Expanded: 30+ terms grouped by subtopic; added advanced like "Traceback", "Call Stack" for depth/easy flashcards.
Syntax Error
Rule violation in code. Ex: Missing parens in print. Relevance: Pre-execution halt.
Exception
Runtime error object. Ex: ZeroDivisionError. Relevance: Auto-raised, handleable.
Built-in Exception
Std lib predefined. Ex: ValueError. Relevance: Common errors covered.
User-Defined Exception
Custom class. Ex: CustomError. Relevance: App-specific.
raise Statement
Throw exception. Ex: raise IndexError. Relevance: Forceful trigger.
assert Statement
Test expr; false → AssertionError. Ex: assert num>=0. Relevance: Input validation.
try Block
Suspicious code. Ex: Division. Relevance: Exception catcher.
except Block
Handler code. Ex: except ZeroDivisionError:. Relevance: Recovery.
else Clause
No exception → exec. Ex: Print result. Relevance: Success path.
finally Clause
Always exec. Ex: File close. Relevance: Cleanup.
Traceback
Call stack error info. Ex: Fig 1.6. Relevance: Debug trace.
Call Stack
Function call hierarchy. Ex: Reverse search. Relevance: Handler location.
ValueError
Wrong value for type. Ex: int("abc"). Relevance: Input mismatch.
ZeroDivisionError
/0. Ex: 5/0. Relevance: Math safeguard.
IndexError
Out-of-range index. Ex: lst[10]. Relevance: List access.
NameError
Undef var. Ex: print(x) no x. Relevance: Scope issue.
TypeError
Wrong operand type. Ex: "a" + 1. Relevance: Operator misuse.
IOError
File open fail. Ex: open("no.txt"). Relevance: I/O handling.
EOFError
input() end without data. Ex: Ctrl+D. Relevance: Stream end.
ImportError
Module not found. Ex: import no_mod. Relevance: Dependencies.
KeyboardInterrupt
Ctrl+C. Ex: Long loop. Relevance: User stop.
IndentationError
Wrong indent. Ex: Mixed tabs/spaces. Relevance: Python structure.
OverflowError
Num too large. Ex: math.exp(1000). Relevance: Limits.
AssertionError
assert false. Ex: Program 1-1. Relevance: Debug fail.
Throwing Exception
Raise to runtime. Ex: Create obj → search handler. Relevance: Propagation.
Catching Exception
Exec handler. Ex: try-except match. Relevance: Recovery.
Tip: Group by raise/handle; examples for recall. Depth: Debates (e.g., except: risks). Errors: Bare except. Historical: Python 3.12 updates. Interlinks: To file handling Ch2. Advanced: Custom exceptions. Real-Life: Web app errors. Graphs: Exceptions table. Coherent: Evidence → Interpretation. For easy learning: Flashcard per term with code.
60+ Questions & Answers - NCERT Based (Class 12) - From Exercises & Variations
Based on chapter + expansions. Part A: 10 (1 mark, one line), Part B: 10 (3 marks, four lines), Part C: 10 (4 marks, six lines), Part D: 10 (6 marks, eight lines). Answers point-wise in black text. Include code where apt.
Part A: 1 Mark Questions (10 Qs - Short)
1. What is a syntax error?
1 Mark Answer: Language rule violation.
2. Define exception.
1 Mark Answer: Runtime error object.
3. Name one built-in exception.
1 Mark Answer: ZeroDivisionError.
4. What does raise do?
1 Mark Answer: Throws exception.
5. Purpose of assert?
1 Mark Answer: Test expression.
6. What is try block for?
1 Mark Answer: Suspicious code.
7. When is else executed?
1 Mark Answer: No exception.
8. Role of finally?
1 Mark Answer: Always execute.
9. What is traceback?
1 Mark Answer: Error call stack.
10. Example of ValueError?
1 Mark Answer: int("abc").
Part B: 3 Marks Questions (10 Qs - Medium, Exactly 4 Lines Each)
1. Differentiate syntax vs exceptions.
3 Marks Answer:
Syntax: Pre-exec, fix to run.
Exceptions: Runtime, handle in code.
Ex: Missing : vs /0.
Both disrupt flow.
2. List 3 built-in exceptions with causes.
3 Marks Answer:
IOError: File open fail.
IndexError: Out-range access.
TypeError: Wrong type op.
Ex: open("no.txt").
3. Explain raise syntax.
3 Marks Answer:
raise Exception[(arg)].
Throws with msg.
Ex: raise ValueError("Invalid").
Interrupts flow.
4. What is assert? Give example.
3 Marks Answer:
assert Expr[,msg]; false → error.
Debug/validation.
Ex: assert num>0, "Positive only".
Raises AssertionError.
5. Need for exception handling.
3 Marks Answer:
Separate logic/error.
Avoid crashes.
Track position.
Handle types.
6. Process of throwing exception.
3 Marks Answer:
Create obj (type/line).
Hand to runtime.
Jump to handler.
Abandon remaining code.
7. Basic try-except syntax.
3 Marks Answer:
try: suspicious code.
except Name: handler.
Ex: Program 1-2 division.
Control transfers on err.
8. Use of multiple except.
3 Marks Answer:
Handle multiple types.
Search match first.
Ex: Zero + ValueError.
No match → terminate.
9. Role of else clause.
3 Marks Answer:
Exec if no exception.
After all except.
Ex: Print quotient.
Success code.
10. When is finally useful?
3 Marks Answer:
Always exec (cleanup).
Last in try block.
Ex: Close file.
Re-raise if unhandled.
Part C: 4 Marks Questions (10 Qs - Medium-Long, Exactly 6 Lines Each)
1. Explain exceptions with example.
4 Marks Answer:
Runtime errors auto-raised.
Object with info (type/line).
Handle to continue.
Ex: Open non-file → IOError.
Anticipate in design.
SyntaxError also exception.
2. Describe 4 built-in exceptions.
4 Marks Answer:
NameError: Undef var.
IndentationError: Wrong spaces.
EOFError: input() end.
ImportError: No module.
Ex: print(undef).
Handler shows reason.
3. How does raise work? Code example.
4 Marks Answer:
Syntax: raise Err[(msg)].
Interrupts to handler.
Ex: if len>list: raise IndexError.
Traceback on no msg.
Built-in or custom.
Fig 1.6 example.
4. Explain assert with program.
4 Marks Answer:
Test; false → AssertionError.
Ex: Program 1-1 negativecheck.
assert num>=0, "Negative!".
Debug/input check.
Output Fig 1.7.
No exec after false.
5. Outline handling process.
4 Marks Answer:
Error → Obj create → Throw.
Search stack reverse.
Find handler → Catch/exec.
No find → Stop.
Fig 1.8 steps.
Call stack list.
6. Catching with try-except-else.
4 Marks Answer:
try: code; except: handle; else: no err.
Ex: Program 1-5 division print.
Multiple except match.
Bare except last.
Fig 1.9-1.12 outputs.
Graceful flow.
7. Use of finally with recovery.
4 Marks Answer:
Always run; cleanup.
Unmatched → finally then re-raise.
Ex: Program 1-7 non-int input.
Fig 1.13 output.
Next try or default handler.
File close ideal.
8. Differentiate throwing vs catching.
4 Marks Answer:
Throw: Create/hand obj.
Catch: Exec handler.
Search stack for match.
Ex: Raise → try-except.
Abandon on throw.
Continue on catch.
9. Why handle exceptions?
4 Marks Answer:
Avoid abrupt end.
Specific handlers.
Separate main/error code.
Track exact position.
Built-in/user support.
Robust programs.
10. Bare except risks.
4 Marks Answer:
Catches all; last only.
Ex: Program 1-4 /0.
Hides specifics.
Debug hard.
Use specific first.
Msg: "SOME EXCEPTION".
Part D: 6 Marks Questions (10 Qs - Long, Exactly 8 Lines Each)
1. Justify: Every syntax error is exception but not vice versa.
6 Marks Answer:
SyntaxError: Type of exception.
Pre-exec raise.
Other exceptions: Runtime only.
Ex: Fig 1.1 SyntaxError.
Logical: No exception.
Handle runtime; fix syntax.
Evidence: Ch1 intro.
Distinction key.
2. When raised: ImportError, IOError, NameError, ZeroDivisionError. Examples.
6 Marks Answer:
ImportError: No module.
Ex: import xyz.
IOError: File fail.
Ex: open("missing").
NameError: Undef var.
Ex: print(a) no a.
Zero: /0.
Ex: 10/0; Fig 1.4.
3. Use of raise: Code for quotient, raise if denom=0.
6 Marks Answer:
Accept num1, num2.
If num2==0: raise ZeroDivisionError.
Else: print(num1/num2).
Ex: Code below.
Traceback on raise.
Handler optional.
Prevents crash.
Validation tool.
num1 = int(input("Num1: "))
num2 = int(input("Num2: "))
if num2 == 0:
raise ZeroDivisionError("Denom zero!")
print(num1 / num2)
4. Use assert in Q3 division.
6 Marks Answer:
Add assert num2 != 0, "Zero denom!".
False → AssertionError.
Debug focus.
Ex: Modified code.
Msg custom.
Like raise but conditional.
Input test.
Program 1-1 style.
assert num2 != 0, "Zero denom!"
print(num1 / num2)
5. Define: Exception Handling, Throwing, Catching.
6 Marks Answer:
Handling: Code for user msgs, avoid crash.
Ex: try-except.
Throwing: Create obj, hand runtime (search).
Ex: Error during exec.
Catching: Exec suitable handler.
Ex: Match in stack.
Process Fig 1.8.
Key for robust code.
6. Explain catching with try-except; code.
6 Marks Answer:
try: potential err; except: handle.
Stop try on err, transfer control.
Ex: Program 1-2 division.
Multiple for types.
Bare for unknown.
Fig 1.10 output.
Graceful recovery.
Essential technique.
try:
q = 50 / int(input("Denom: "))
print(q)
except ZeroDivisionError:
print("Zero not allowed")
7. Fill blanks in code; explain.
6 Marks Answer:
except ValueError: # integers.
except ZeroDivisionError: # zero.
finally: # end.
Code: try num1/num2; handlers.
else: success msg.
Full flow: Input → Handle → Print.
Robust division.
Matches Program 1-6.
try:
num1 = int(input("First: "))
num2 = int(input("Second: "))
quotient = num1 / num2
print("Correct")
except ValueError:
print("Enter numbers")
except ZeroDivisionError:
print("Not zero")
else:
print("Good programmer")
finally:
print("JOB OVER")
8. Wrong args in math; catch ValueError. Code.
6 Marks Answer:
import math; math.sqrt(4, extra).
try: ... except ValueError: msg.
Ex: Too many args.
Handler: "Invalid args".
Prevents crash.
Similar to TypeError.
Debug tool.
Ch XI link.
import math
try:
math.sqrt(16, 2) # Wrong args
except ValueError:
print("ValueError: Invalid args")
9. Use finally in Q7 problem.
6 Marks Answer:
Add finally: print("End").
Always after try/except/else.
Cleanup ex: Close resources.
Re-raise if unhandled.
Ex: Program 1-6.
Ensures execution.
Robustness.
File handling prep.
10. Exception handling in languages; Python specifics.
6 Marks Answer:
Used in C++/Java/Ruby.
Capture runtime, avoid crash.
Python: try-except-else-finally.
Types categorized.
Stack search.
Ex: Division handlers.
2025: Async support.
Clean strategy.
Tip: Include code in ans; practice run. Additional 30 Qs: Variations on programs, error scenarios.
Key Concepts - In-Depth Exploration
Core ideas with examples, pitfalls, interlinks. Expanded: All concepts with steps/examples/pitfalls for easy learning. Depth: Debates, analysis.
Syntax Errors
Steps: 1. Write invalid (no :), 2. Interpreter reports, 3. Fix/save/run. Ex: Fig 1.1. Pitfall: Indent mix. Interlink: Subset exceptions. Depth: Parser role.
Exceptions
Steps: 1. Runtime err, 2. Raise obj, 3. Handle or crash. Ex: /0. Pitfall: Unhandled terminate. Interlink: Built-in. Depth: Object nature.
Built-in Exceptions
Steps: 1. Std lib, 2. Match err, 3. Show traceback. Ex: Table 1.1. Pitfall: Overlook specifics. Interlink: raise. Depth: 12 common.
raise Statement
Steps: 1. raise Err[msg], 2. Interrupt flow. Ex: Fig 1.6 Index. Pitfall: No handler crash. Interlink: Custom. Depth: Force control.
assert Statement
Steps: 1. assert cond, 2. False → error. Ex: Program 1-1. Pitfall: Prod disable (-O). Interlink: Debug. Depth: Validation.
try-except
Steps: 1. Try suspicious, 2. Except match handle. Ex: Program 1-2. Pitfall: Wrong order. Interlink: Multiple. Depth: Catching.
else Clause
Steps: 1. No err after try, 2. Exec success. Ex: Program 1-5. Pitfall: After except only. Interlink: Clean flow. Depth: Optional path.
finally Clause
Steps: 1. Always post-try, 2. Cleanup/re-raise. Ex: Program 1-7. Pitfall: No return in finally. Interlink: Resources. Depth: Guarantee.
Traceback
Steps: 1. Err → Print stack. Ex: Fig 1.4. Pitfall: Ignore details. Interlink: Debug. Depth: Call sequence.
Call Stack
Steps: 1. Func calls, 2. Reverse search handler. Ex: Fig 1.8. Pitfall: Deep recursion. Interlink: Ch3 Stack. Depth: Hierarchical.
Multiple except
Steps: 1. Specific first, 2. Match raise. Ex: Program 1-3. Pitfall: Bare too early. Interlink: Catch-all. Depth: Granular handling.
Bare except
Steps: 1. except: last, 2. Catch unknown. Ex: Program 1-4. Pitfall: Masks errors. Interlink: except Exception. Depth: Fallback.
Re-raising
Steps: 1. Unhandled finally, 2. Propagate up. Ex: Fig 1.13. Pitfall: Infinite loop. Interlink: Nested try. Depth: Escalation.
Custom Exceptions (Advanced)
Steps: 1. class MyErr(Exception):, 2. raise MyErr. Ex: Validation. Pitfall: Inherit properly. Interlink: User-defined. Depth: Extend base.
Context Managers (Advanced)
Steps: 1. with open():, 2. Auto finally. Ex: File handling. Pitfall: Manual close forget. Interlink: Ch2. Depth: RAII Python.
Advanced: Pytest asserts, exception chains. Pitfalls: Nested unhandled. Interlinks: To modules Ch4. Real: API errors. Depth: 14 concepts details. Examples: Real outputs. Graphs: Flow Fig 1.8. Errors: Wrong except order. Tips: Steps evidence; compare tables (built-in vs custom).
Code Examples & Programs - From Text with Simple Explanations
Expanded with evidence, analysis; focus on applications. Added variations for practice.
Example 1: Syntax Error (Fig 1.2)
Simple Explanation: Parser halt.
def test():
print("Good Score" # Missing )
Step 1: Run script → Dialog Fig 1.3.
Step 2: Add ) fix.
Step 3: Rerun success.
Simple Way: Check parens.
Example 2: Built-in Exceptions (Fig 1.4)
Simple Explanation: Runtime raises.
a = 5 / 0 # ZeroDivisionError
print(b) # NameError
print("a" + 1) # TypeError
Step 1: Exec line-by-line.
Step 2: Traceback shows.
Step 3: Handle each.
Simple Way: Specific except.
Example 3: raise IndexError (Fig 1.6)
Simple Explanation: Force error.
numbers = [1,2,3]
length = 5
if length > len(numbers):
raise IndexError
print("NO EXECUTION") # Skipped
Step 1: Check cond.
Step 2: Raise → Traceback.
Step 3: No further exec.
Simple Way: Validation.
Example 4: assert Negative (Program 1-1, Fig 1.7)
Simple Explanation: Test fail.
def negativecheck(number):
assert number >= 0, "OOPS... Negative Number"
print(number * number)
print(negativecheck(100))
print(negativecheck(-350))
Step 1: 100 → 10000.
Step 2: -350 → AssertionError.
Step 3: Msg + traceback.
Simple Way: Input guard.
Example 5: try-except Division (Program 1-2, Fig 1.10)
Simple Explanation: Handle /0.
print("Practicing try")
try:
num=50
den=int(input("Denom: "))
q=num/den
print(q)
print("Success")
except ZeroDivisionError:
print("Zero not allowed")
print("Outside")
Step 1: Input 5 → q=10, success.
Step 2: 0 → Msg, outside.
Step 3: Control transfer.
Simple Way: Safe math.
Example 6: Multiple except + else + finally (Program 1-6)
Simple Explanation: Full handling (2025 async ready).
try:
num=50
den=int(input("Denom: "))
q=num/den
print("Success")
except ZeroDivisionError:
print("Zero not allowed")
except ValueError:
print("Integers only")
else:
print("Result:", q)
finally:
print("OVER AND OUT")
Step 1: Valid → else + finally.
Step 2: Err → except + finally.
Step 3: Cleanup always.
Simple Way: Complete block.
Tip: Run in shell; troubleshoot (e.g., no finally close). Added for raise, full blocks.
Interactive Quiz - Master Exception Handling
10 MCQs in full sentences; 80%+ goal. Covers errors, built-in, handling.
Start Quiz
Quick Revision Notes & Mnemonics
Concise, easy-to-learn summaries for all subtopics. Structured in tables for quick scan: Key points, examples, mnemonics. Covers errors, exceptions, raising, handling. Bold key terms; short phrases for fast reading.
Subtopic
Key Points
Examples
Mnemonics/Tips
Errors
Syntax : Pre-run, fix (Fig 1.1-1.3).Runtime : Exceptions.Logical : Wrong output, no auto.
Missing parens; /0; Wrong logic.
SRL (Syntax-Runtime-Logical). Tip: "Syntax Stops Start" – Fix before run.
Built-in Exceptions (12)
Syntax/Value/IO : Code/file/value err.Keyboard/EOF/Zero/Index : User/end/math/list.Name/Indent/Type/Overflow : Var/spaces/type/num limit.
Fig 1.4 outputs.
SVIKZE NITO (Syntax Value IO Key Zero EOF Name Indent Type Over). Tip: "Exceptions Every Programmer Needs" – Table 1.1 flash.
Raising (raise/assert)
raise : Throw Err[msg]; interrupt.assert : Test; false → error (debug).Traceback on no handler.
Fig 1.6 Index; Program 1-1 neg.
RA (Raise-Assert). Tip: "Raise Alarm, Assert Truth" – Force/debug.
Handling (try-except-else-finally)
try : Suspicious.except : Handle (multi/bare).else : No err.finally : Always (cleanup/re-raise).
Program 1-2 div; 1-6 full.
TEEF (Try-Except-Else-Finally). Tip: "Try Except Every Failure" – Robust block.
Process (Fig 1.8)
Throw : Obj create/hand.Search : Stack reverse.Catch : Exec handler or stop.
Err → Flowchart.
TSC (Throw-Search-Catch). Tip: Pyramid – Error base, Handler top.
Traceback/Stack
Traceback : Err sequence text.Stack : Calls list; search here (Ch3).
Fig 1.6 trace.
TS (Traceback-Stack). Tip: "Trace Stack for Clues" – Debug gold.
Overall Tip: Use SRL-TEEF-TSC for full scan (5 mins). Flashcards: Front (term), Back (points + mnemonic). Print table for wall revision. Covers 100% chapter – easy for exams!
Key Terms & Processes - All Key
Expanded table 30+ rows; quick ref. Added advanced (e.g., Re-raise, Custom Err).
Term/Process Description Example Usage
SyntaxError Code rule break Missing : Pre-run
Exception Runtime obj /0 raise Handle
Built-in Std predefined ValueError Common
User-Defined Custom class MyError Specific
raise Throw err raise IndexError Force
assert Test cond assert >0 Debug
try Susp code Division Catch
except Handler except Zero: Recover
else No err path Print q Success
finally Always run Close file Cleanup
Traceback Err trace Fig 1.6 Debug
Call Stack Calls hierarchy Reverse search Location
ValueError Wrong value int("a") Input
ZeroDivisionError /0 5/0 Math
IndexError Out range lst[10] List
NameError No var print(x) Scope
TypeError Wrong type "a"+1 Op
IOError File fail open(no) I/O
EOFError Input end Ctrl+D Stream
ImportError No module import no Dep
KeyboardInterrupt Ctrl+C Loop stop User
IndentationError Spaces wrong Mix tabs Struct
OverflowError Num too big exp(1000) Limit
AssertionError Assert false Program 1-1 Test
Throwing Raise to runtime Obj hand Prop
Catching Exec handler Match stack Recover
Multiple except Handle types Program 1-3 Granular
Bare except Catch all Program 1-4 Fallback
Re-raise Unhandled prop Fig 1.13 Escalate
Custom Exception Inherit Exception class ValErr(Exception) App
Context Manager with auto cleanup with open() Ch2
Tip: Examples memory; sort subtopic. Easy: Table scan. Added 10 rows depth.
Exception Handling Processes Step-by-Step
Step-by-step breakdowns of core processes, structured as full questions followed by detailed answers with steps. Visual descriptions for easy understanding; focus on actionable Q&A with examples from chapter.
Question 1: How does Python handle a syntax error like in Fig 1.2 during script execution?
Answer:
Step 1: Parser detects violation (e.g., missing parens).
Step 2: Halt execution; show dialog (Fig 1.3: Name + desc).
Step 3: Edit code in IDE/shell.
Step 4: Save and rerun.
Step 5: No auto-handle; manual fix.
Step 6: Verify output.
Visual: Stop sign – Parse → Error Dialog → Fix Loop. Example: print("Good Score" → Add ).
Question 2: What steps occur when a ZeroDivisionError is raised in Program 1-2?
Answer:
Step 1: Input 0 for denom.
Step 2: Exec q=50/0 → Raise obj (type/line).
Step 3: Throw to runtime; search stack for except ZeroDivisionError.
Step 4: Match → Catch: Print "Zero not allowed".
Step 5: Skip remaining try; exec outside.
Step 6: No traceback if handled (Fig 1.10).
Visual: Arrow flow – Input → Raise → Search → Handler. Example: Denom=0 → Msg + "Outside".
Question 3: How to use assert for input validation as in Program 1-1?
Answer:
Step 1: Def func with assert cond, msg.
Step 2: Call with value (e.g., -350).
Step 3: Eval expr; false → Raise AssertionError + msg.
Step 4: Traceback shows line.
Step 5: No further func exec.
Step 6: Handle or crash (Fig 1.7).
Visual: Checkmark – Valid? Yes/Assert Fail → Error. Example: negativecheck → "OOPS Negative".
Question 4: What is the full process of exception propagation in nested functions (call stack)?
Answer:
Step 1: Err in inner func → Raise.
Step 2: Search inner try; no → Prop to caller.
Step 3: Reverse stack till match.
Step 4: Exec handler in matching level.
Step 5: If none → Terminate with traceback.
Step 6: finally execs before prop.
Visual: Stack layers – Inner Err → Up Arrows → Handler. Example: Def inner() raise; outer calls.
Question 5: How does finally enable recovery in unhandled cases like Program 1-7?
Answer:
Step 1: Try err (non-int input) → No except match.
Step 2: Exec finally ("OVER AND OUT").
Step 3: Re-raise original (ValueError).
Step 4: Prop to outer/default handler.
Step 5: Traceback post-finally.
Step 6: Ensures cleanup before crash (Fig 1.13).
Visual: Detour – Err → Finally → Re-raise Path. Example: Input "abc" → Msg + Err.
Question 6: Outline steps to handle multiple exceptions in division like Program 1-3.
Answer:
Step 1: try: int(input)/50.
Step 2: 0 → Match Zero except first.
Step 3: "abc" → Next Value except.
Step 4: Search order: Specific → General.
Step 5: No match → Crash.
Step 6: Print success/outside.
Visual: Decision tree – Input Type? Zero/Value/Other. Example: Handles both errs.
Tip: Treat as FAQ; apply to codes. Easy: Q → Steps + Visual. Full Q&A for exam-like practice.
CBSE Class 12 kits Marks booster + cheatsheet: key concepts in 2 lines each, common traps 35 marks: Calculus, shared with Part II 10 marks: Algebra, Ch 3–4 Common traps that cost marks, listed 6 principal branches of inverse trig Every derivative rule with its condition Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 30 marks: answer frames for आरोह 40 marks outside the book, mapped 15 writers on one timeline Unseen passage question types 12 common mistakes, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 12 exam traps, listed 22 of 105 marks on offer: CAS overview Most asked item: error values What Q27–34 ask, answer by answer Every Excel function, result checked Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 13 literary terms and devices 9 genres, each defined Writers' dates and works, by page Five ghazals and four nazms covered 10 common mistakes, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 23 marks in the four papers: Vector Algebra Integral tables with properties P0–P7 3 methods for differential equations 8 marks: Probability, with Bayes' theorem Patterns the board repeats, by chapter Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 9 board questions in one place 22 marks: Section B formats 3 lessons: characters and symbols for each Event order for each lesson, with pages 12 common mistakes Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 20 marks: grammar, 4 × 1 per part Sandhi, samasa, pratyaya from the text Upapada-vibhakti and vachya examples Anvaya and bhavartha answer method Literature intro: epics, prose, champu Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 34 marks in 4 papers: Magnetism, Ch 4–5 33 marks in 4 papers: Induction and AC 26 marks in 4 papers: Current Electricity Every formula with its page number What each 2025 board paper asked Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 38 board marks: prose 4–8 37 board marks: poems 1–5 22 marks: खंड ख, with answer frames 17 writers on one timeline 12 common mistakes, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 15 marks: grammar from the lessons 6 metres with their gana-sutras 6 figures of speech (अलङ्कार) 20 shlokas of रघुकौत्ससंवादः, upajati metre Literary history in tables, epic to drama Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 22 marks across four papers: Wave Optics 22 marks: Dual Nature, with 4-mark cases Common traps that cost marks, listed 13 marks each: Atoms and Nuclei 7 marks in all four papers: Semiconductors Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 7 exercise, 3 board answers for lesson 1 5-mark answers in about 100 words Three model 5-mark answers Malwa's rivers and rainfall figures 12 common mistakes, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each Author, genre and summary, lesson by lesson Verse meanings: پرچھائیاں, اپنے گھر کا حال Essay, letter and precis writing Map of the question paper 8 common mistakes Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 7 marks each: the other four units 37 of 70 theory marks across 5 units Mixed traps, corrected Seven board sums, worked stepwise Every data table, with page numbers Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each Chekhov, Basheer and Nirmal Verma introduced کلرک کی موت: 1 sneeze, 5 apologies Event order and characters for each story 3 stories compared in one table Method for writing board answers Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 20 marks: SQL and databases, Unit 3 10 marks: Networks, Unit 2 7 chapters: every output run and checked Stack algorithms and output questions Text, binary and CSV file programs Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 7 marks in every paper: Biomolecules 6 marks in each 2025 set: Haloalkanes Common traps that cost marks, listed 4–5-mark question every paper: Alcohols Named reactions, reagents, conditions Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 24 of 92 board marks: Bengal School 20 of 92 board marks: Mughal School Common traps that cost marks, listed 17 of 92 board marks: Rajasthani Schools 11 of 92: modern art, mostly 2-markers Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 30 theory marks, all five units Bhairav, Bageshri, Malkauns in full Jhaptal, Rupak, Dhamar: dugun to chaugun Sangeet Ratnakar and Parijat, by chapter Tuning the tanpura and the sitar Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 16 marks: Reproduction, Unit VI 12 marks each: Units VIII and IX 10 marks: Ecology, Unit X 13 chapters, with page numbers Common traps, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 35 of 140 board marks: SQL functions 20 board marks: networks and the web Common traps, corrected 12 board marks: Matplotlib plots Every statement with its exact output Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 12 exam traps, listed 65 board marks: Admission of a Partner 26 board marks: Dissolution 22 board marks: Retirement/Death Goodwill formulas with the book's figures Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 40 marks: Unit V, rDNA and genomes 30 marks: Unit VI, culture and bioprocess 10 syllabus chapters: every vector, enzyme PCR, blots and DNA fingerprinting Every number tied to its book page Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 15 marks in every 2025 set: share capital 9 marks in every 2025 set: debentures Common traps that cost marks, listed 6-mark cash flow in every paper 5 marks in every 2025 set: ratios Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each Elements of a poem and a story, Unit 1 Feature and article writing, Unit 2 Radio and TV script rules, with marks Steps and types of translation, Unit 3 Levels of editing, Unit 4 Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: most-asked concepts in 2 lines each 8 chapters ranked by what the board asked 31 marks: Organising, a 6-marker every set 30 marks in 4 papers: nature of management 14 principles of Fayol Case cues the board keeps using Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 16 of 60 board marks: taal comparison 12 of 60 board marks: gharanas 13 thekas, from thah to chaugun 6 marks: history of the tabla, Unit 3 4 biographies, with dates Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 15 marks each: Units 9–10 and 11–12 4 Ps of marketing, Unit 11 Consumer Protection Act 2019 tiers, appeals Capital structure with EBIT-EPS examples The three financial decisions, every factor Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 10 marks: National Income Accounting 3 methods for GDP, with identities M1–M4 and credit creation, Ch 3 Every deficit measure of the budget, Ch 5 6 chapters: every formula, board numerical Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 12 marks: Unit 6, Ch 1–3 8 marks: Unit 8, India-China-Pakistan Every committee, policy and date, by chapter Data tables with the book's own numbers Common traps, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 23 of 100 marks: Thinkers, Beliefs, Buildings 22 of 100 board marks: Harappa 20 of 100 marks: Kinship, Caste and Class 8-mark answer: Theme 2 in 3 of 4 papers 5 marks: the Part I map list Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 24 of 100 board marks: Vijayanagara 24 of 100 marks: Mughal village, Theme 8 Q24 from Vijayanagara in every 2025 set 3 of 4 papers: source question on travellers 5 marks: the two map lists Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 1857 and National Movement map items Constituent Assembly committees table Gandhiji 1915–1931: Champaran to Salt March Permanent Settlement and the Fifth Report Bombay Deccan: ryotwari and the 1875 riots Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 17 of 120 marks each: industry, services 15 of 120 marks: Primary Activities 14 of 120 marks: Transport 5 marks: world map work HDI, rail and internet data as charts Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 20 board marks in 4 papers: Population 14 board marks: Minerals and Energy 13 of the 28 map items asked: minerals 10 marks: Unit III, Ch 3–6 Common traps, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 18 marks: Ch 1–3, data and diagrams 7 marks: GIS, Ch 4 Common traps that cost marks, listed 5 marks: file and viva Mean, median and mode, fully worked Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 22 textbook marks: how each is asked 3 stories: 10 marks in the sample paper Common traps that cost marks, listed 9 poems side by side, with devices 5 essays, each argument set out Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: most-asked concepts in 2 lines each 6-marker in 3 of 4 papers: Security 4-marker in all 4 papers: Environment 6-marker in 3 of 4 papers: centres of power 2 papers asked UN cartoons 7 chapters: dates, treaties, leaders Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 8 marks: Chapter 8, 1989 to 2019 6 marks each: Chapters 1, 4 and 7 State-formation and war timelines Party tables and election results Map clues the board uses Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 10 marks for each of the four chapters Demography formulas for Ch 2 Sex-ratio and age tables from the book 10 must-know facts with a self-check Common traps, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: most-asked concepts in 2 lines each 10 marks each: Units 11, 12 and 15 5 marks each: Units 8 and 9 4 processes of cultural change, in a table Land reforms table, Chapter 4 Types of social movements, in one table Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each 26 board marks each: Ch 1 and Ch 2 22 of 140 board marks: disorders, Ch 4 20 of 140 board marks: therapies, Ch 5 6-mark questions on Freud, RET and Beck IQ bands and twin correlations from the book Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 5 poems: Q7 is always one of these 4 writing formats, 18 marks Common traps, corrected 8 prose pieces: events, characters, themes Poetic devices with short quotes Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 12 marks: unseen passage Q1, decoded 10 marks: case-based passage Q2, decoded Common traps that cost marks, listed Every character, with evidence and quotes 7 texts: plot timelines for each Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 38 of the 70 theory marks: Ch 1–7 10 marks: Unit III, ECCE to elderly Common traps that cost marks, listed 5 marks: Unit I, work and careers 2025 paper and SQP: ranked by what they asked Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Marks booster + cheatsheet: key concepts in 2 lines each, common traps 17 marks: Unit IV Fabric and Apparel 10 marks: Unit V Resource Management 2025 board questions mapped to each chapter Every consumer right and standard mark Common traps, corrected Page 1 free about 8 min read , Full kit about 55 min read ₹159
Read page 1 free about 8 minGet the kit Get the kit One payment · instant PDF · ₹159 View details Get alerts for CBSE Class 12 Board Examination
Dates, results and cutoffs, by email when they are announced. Free.
Google, Apple, or a code to your phone or email. It is saved to your account.
This chapter is part of the CBSE Class 12 Board Examination Board Examination Explore every chapter — summary, notes, extra questions & MCQ quizzes Preparing for CBSE Class 12 Board Examination? Students also sit JEE is set on the Class 11 and 12 Physics, Chemistry and Maths syllabus; students prepare for boards and JEE together.
Tests are played signed in — sign in (free, 10 seconds) so your attempts, rank and XP are saved to you #1
The Last Lesson
Start here Instant score, answer review and weak-topic diagnosis
#2
Economics (Class 12) Practice Quiz | CBSE Class 12 Board Examination
Instant score, answer review and weak-topic diagnosis
#3
Instant score, answer review and weak-topic diagnosis
#4
Challenges of Nation Building
Instant score, answer review and weak-topic diagnosis
#5
Instant score, answer review and weak-topic diagnosis
#6
Instant score, answer review and weak-topic diagnosis
#7
Instant score, answer review and weak-topic diagnosis
#8
Human Geography: Nature and Scope
Instant score, answer review and weak-topic diagnosis
#9
Bricks, Beads and Bones — The Harappan Civilisation
Instant score, answer review and weak-topic diagnosis
#10
Instant score, answer review and weak-topic diagnosis
#11
Instant score, answer review and weak-topic diagnosis
#12
Instant score, answer review and weak-topic diagnosis
#13
Instant score, answer review and weak-topic diagnosis
#14
Instant score, answer review and weak-topic diagnosis
#15
Instant score, answer review and weak-topic diagnosis
#16
Instant score, answer review and weak-topic diagnosis
#17
Inverse Trigonometric Functions
Instant score, answer review and weak-topic diagnosis
#18
Instant score, answer review and weak-topic diagnosis
#19
Instant score, answer review and weak-topic diagnosis
#20
Journey to the End of the Earth
Instant score, answer review and weak-topic diagnosis
#21
Instant score, answer review and weak-topic diagnosis
#22
Instant score, answer review and weak-topic diagnosis
#23
Instant score, answer review and weak-topic diagnosis
#24
Instant score, answer review and weak-topic diagnosis
#25
Instant score, answer review and weak-topic diagnosis
#26
Instant score, answer review and weak-topic diagnosis
#27
Instant score, answer review and weak-topic diagnosis
#28
Instant score, answer review and weak-topic diagnosis
#29
The Challenges of Cultural Diversity
Instant score, answer review and weak-topic diagnosis
#30
Patterns of Social Inequality and Exclusion
Instant score, answer review and weak-topic diagnosis
#31
Social Institutions: Continuity and Change
Instant score, answer review and weak-topic diagnosis
#32
The Demographic Structure of the Indian Society
Instant score, answer review and weak-topic diagnosis
#33
Introducing Indian Society
Instant score, answer review and weak-topic diagnosis
#34
Instant score, answer review and weak-topic diagnosis
#35
Security in the Contemporary World
Instant score, answer review and weak-topic diagnosis
#36
International Trade (India)
Instant score, answer review and weak-topic diagnosis
#37
Transport and Communication (India)
Instant score, answer review and weak-topic diagnosis
#38
Tertiary and Quaternary Activities
Instant score, answer review and weak-topic diagnosis
#39
Instant score, answer review and weak-topic diagnosis
#40
Kings, Farmers and Towns — Early States and Economies (c. 600 BCE-600 CE)
Instant score, answer review and weak-topic diagnosis
#41
Theory of Consumer Behaviour
Instant score, answer review and weak-topic diagnosis
#42
Instant score, answer review and weak-topic diagnosis
#43
Instant score, answer review and weak-topic diagnosis
#44
Nature and Significance of Management
Instant score, answer review and weak-topic diagnosis
#45
Dissolution of Partnership Firm
Instant score, answer review and weak-topic diagnosis
#46
Accounting for Partnership: Basic Concepts
Instant score, answer review and weak-topic diagnosis
#47
Three Dimensional Geometry
Instant score, answer review and weak-topic diagnosis
#48
Continuity and Differentiability
Instant score, answer review and weak-topic diagnosis
#49
Instant score, answer review and weak-topic diagnosis
#50
Instant score, answer review and weak-topic diagnosis
#51
Principles of Inheritance and Variation
Instant score, answer review and weak-topic diagnosis
#52
Instant score, answer review and weak-topic diagnosis
#53
Instant score, answer review and weak-topic diagnosis
#54
Instant score, answer review and weak-topic diagnosis
#55
Instant score, answer review and weak-topic diagnosis
#56
Instant score, answer review and weak-topic diagnosis
#57
Accountancy (Class 12) Practice Quiz | CBSE Class 12 Board Examination
Instant score, answer review and weak-topic diagnosis
#58
Electrostatic Potential and Capacitance Fundamentals | CBSE Class 12 Board Examination
Instant score, answer review and weak-topic diagnosis
#59
Instant score, answer review and weak-topic diagnosis
#60
An Elementary School Classroom in a Slum
Instant score, answer review and weak-topic diagnosis
#61
Instant score, answer review and weak-topic diagnosis
#62
Social Influence and Group Processes
Instant score, answer review and weak-topic diagnosis
#63
Attitude and Social Cognition
Instant score, answer review and weak-topic diagnosis
#64
Instant score, answer review and weak-topic diagnosis
#65
Instant score, answer review and weak-topic diagnosis
#66
Instant score, answer review and weak-topic diagnosis
#67
Variations in Psychological Attributes
Instant score, answer review and weak-topic diagnosis
#68
Instant score, answer review and weak-topic diagnosis
#69
Mass Media and Communications
Instant score, answer review and weak-topic diagnosis
#70
Globalisation and Social Change
Instant score, answer review and weak-topic diagnosis
#71
Change and Development in Industrial Society
Instant score, answer review and weak-topic diagnosis
#72
Change and Development in Rural Society
Instant score, answer review and weak-topic diagnosis
#73
The Constitution and Social Change
Instant score, answer review and weak-topic diagnosis
#74
The Market as a Social Institution
Instant score, answer review and weak-topic diagnosis
#75
Recent Developments in Indian Politics
Instant score, answer review and weak-topic diagnosis
#76
The Crisis of Democratic Order
Instant score, answer review and weak-topic diagnosis
#77
Challenges to and Restoration of the Congress System
Instant score, answer review and weak-topic diagnosis
#78
India's External Relations
Instant score, answer review and weak-topic diagnosis
#79
Politics of Planned Development
Instant score, answer review and weak-topic diagnosis
#80
Era of One-party Dominance
Instant score, answer review and weak-topic diagnosis
#81
Environment and Natural Resources
Instant score, answer review and weak-topic diagnosis
#82
International Organisations
Instant score, answer review and weak-topic diagnosis
#83
Instant score, answer review and weak-topic diagnosis
#84
Contemporary Centres of Power
Instant score, answer review and weak-topic diagnosis
#85
Geographical Perspective on Selected Issues and Problems
Instant score, answer review and weak-topic diagnosis
#86
Planning and Sustainable Development in the Indian Context
Instant score, answer review and weak-topic diagnosis
#87
Mineral and Energy Resources
Instant score, answer review and weak-topic diagnosis
#88
Instant score, answer review and weak-topic diagnosis
#89
Land Resources and Agriculture
Instant score, answer review and weak-topic diagnosis
#90
Instant score, answer review and weak-topic diagnosis
#91
Population: Distribution, Density, Growth and Composition
Instant score, answer review and weak-topic diagnosis
#92
Instant score, answer review and weak-topic diagnosis
#93
Instant score, answer review and weak-topic diagnosis
#94
The World Population: Distribution, Density and Growth
Instant score, answer review and weak-topic diagnosis
#95
Framing the Constitution — The Beginning of a New Era
Instant score, answer review and weak-topic diagnosis
#96
Mahatma Gandhi and the Nationalist Movement — Civil Disobedience and Beyond
Instant score, answer review and weak-topic diagnosis
#97
Rebels and the Raj — The Revolt of 1857 and its Representations
Instant score, answer review and weak-topic diagnosis
#98
Colonialism and the Countryside — Exploring Official Archives
Instant score, answer review and weak-topic diagnosis
#99
Peasants, Zamindars and the State — Agrarian Society and the Mughal Empire (c. sixteenth-seventeenth centuries)
Instant score, answer review and weak-topic diagnosis
#100
An Imperial Capital: Vijayanagara (c. fourteenth to sixteenth century)
Instant score, answer review and weak-topic diagnosis
#101
Bhakti-Sufi Traditions — Changes in Religious Beliefs and Devotional Texts (c. eighth to eighteenth century)
Instant score, answer review and weak-topic diagnosis
#102
Through the Eyes of Travellers — Perceptions of Society (c. tenth to seventeenth century)
Instant score, answer review and weak-topic diagnosis
#103
Thinkers, Beliefs and Buildings — Cultural Developments (c. 600 BCE-600 CE)
Instant score, answer review and weak-topic diagnosis
#104
Kinship, Caste and Class — Early Societies (c. 600 BCE-600 CE)
Instant score, answer review and weak-topic diagnosis
#105
Open Economy Macroeconomics
Instant score, answer review and weak-topic diagnosis
#106
Government Budget and the Economy
Instant score, answer review and weak-topic diagnosis
#107
Determination of Income and Employment
Instant score, answer review and weak-topic diagnosis
#108
National Income Accounting
Instant score, answer review and weak-topic diagnosis
#109
Instant score, answer review and weak-topic diagnosis
#110
The Theory of the Firm under Perfect Competition
Instant score, answer review and weak-topic diagnosis
#111
Instant score, answer review and weak-topic diagnosis
#112
Instant score, answer review and weak-topic diagnosis
#113
Instant score, answer review and weak-topic diagnosis
#114
Instant score, answer review and weak-topic diagnosis
#115
Instant score, answer review and weak-topic diagnosis
#116
Instant score, answer review and weak-topic diagnosis
#117
Instant score, answer review and weak-topic diagnosis
#118
Instant score, answer review and weak-topic diagnosis
#119
Instant score, answer review and weak-topic diagnosis
#120
Instant score, answer review and weak-topic diagnosis
#121
Instant score, answer review and weak-topic diagnosis
#122
Analysis of Financial Statements
Instant score, answer review and weak-topic diagnosis
#123
Financial Statements of a Company
Instant score, answer review and weak-topic diagnosis
#124
Issue and Redemption of Debentures
Instant score, answer review and weak-topic diagnosis
#125
Accounting for Share Capital
Instant score, answer review and weak-topic diagnosis
#126
Reconstitution of a Partnership Firm – Retirement/Death of a Partner
Instant score, answer review and weak-topic diagnosis
#127
Reconstitution of a Partnership Firm – Admission of a Partner
Instant score, answer review and weak-topic diagnosis
#128
Instant score, answer review and weak-topic diagnosis
#129
Instant score, answer review and weak-topic diagnosis
#130
Instant score, answer review and weak-topic diagnosis
#131
Instant score, answer review and weak-topic diagnosis
#132
Instant score, answer review and weak-topic diagnosis
#133
Instant score, answer review and weak-topic diagnosis
#134
Application of Derivatives
Instant score, answer review and weak-topic diagnosis
#135
Biodiversity and its Conservation
Instant score, answer review and weak-topic diagnosis
#136
Instant score, answer review and weak-topic diagnosis
#137
Organisms and Populations
Instant score, answer review and weak-topic diagnosis
#138
Biotechnology and its Applications
Instant score, answer review and weak-topic diagnosis
#139
Biotechnology: Principles and Processes
Instant score, answer review and weak-topic diagnosis
#140
Microbes in Human Welfare
Instant score, answer review and weak-topic diagnosis
#141
Instant score, answer review and weak-topic diagnosis
#142
Instant score, answer review and weak-topic diagnosis
#143
Molecular Basis of Inheritance
Instant score, answer review and weak-topic diagnosis
#144
Sexual Reproduction in Flowering Plants
Instant score, answer review and weak-topic diagnosis
#145
Instant score, answer review and weak-topic diagnosis
#146
Instant score, answer review and weak-topic diagnosis
#147
Aldehydes, Ketones and Carboxylic Acids
Instant score, answer review and weak-topic diagnosis
#148
Alcohols, Phenols and Ethers
Instant score, answer review and weak-topic diagnosis
#149
Haloalkanes and Haloarenes
Instant score, answer review and weak-topic diagnosis
#150
Instant score, answer review and weak-topic diagnosis
#151
The d- and f-Block Elements
Instant score, answer review and weak-topic diagnosis
#152
Instant score, answer review and weak-topic diagnosis
#153
Semiconductor Electronics: Materials, Devices and Simple Circuits
Instant score, answer review and weak-topic diagnosis
#154
Instant score, answer review and weak-topic diagnosis
#155
Instant score, answer review and weak-topic diagnosis
#156
Dual Nature of Radiation and Matter
Instant score, answer review and weak-topic diagnosis
#157
Instant score, answer review and weak-topic diagnosis
#158
Ray Optics and Optical Instruments
Instant score, answer review and weak-topic diagnosis
#159
Instant score, answer review and weak-topic diagnosis
#160
Instant score, answer review and weak-topic diagnosis
#161
Electromagnetic Induction
Instant score, answer review and weak-topic diagnosis
#162
Instant score, answer review and weak-topic diagnosis
#163
Moving Charges and Magnetism
Instant score, answer review and weak-topic diagnosis
#164
Electrostatic Potential and Capacitance
Instant score, answer review and weak-topic diagnosis
#165
Electric Charges and Fields
Instant score, answer review and weak-topic diagnosis
#166
CBSE Class 12 — Genetics and Evolution
Instant score, answer review and weak-topic diagnosis
#167
CBSE Class 12 — Matrices and Determinants
Instant score, answer review and weak-topic diagnosis
#168
CBSE Class 12 — Solutions and Colligative Properties
Instant score, answer review and weak-topic diagnosis
#169
Instant score, answer review and weak-topic diagnosis
#170
CBSE Class 12 — Electrostatics and Electric Field
Instant score, answer review and weak-topic diagnosis
#171
Humanities Subjects Practice Quiz | CBSE Class 12 Board Examination
Instant score, answer review and weak-topic diagnosis
More on CBSE Class 12 Board Examination20 guides How to Score Good Marks in Class 12 CBSE: Marks Map by Stream CBSE Class 12 Pre-Board Marks: Do They Count, and What to Do If Low Complete Summary and Solutions for Database Concepts – NCERT Class XII Computer Science, Chapter 8 – File Systems, DBMS, Relational Models, Keys, SQL Introduction, Questions, Answers Complete Summary and Solutions for Consumer Education and Protection – NCERT Human Ecology and Family Sciences, Chapter 12 – Study Summary, Explanation, Questions, Answers Complete Summary and Solutions for Supplementary Chemistry Material – NCERT Class XII Chemistry Part I Supplementary Resources – Additional Examples, Problems, and Explanations Complete Summary and Solutions for Project Based Learning – NCERT Class XII Computer Science, Chapter 13 – Project Planning, Implementation, Presentation, Documentation, and Evaluation Complete Summary and Solutions for Querying and SQL Functions – NCERT Class XII Informatics Practices, Chapter 1 – Explanation, Questions, Answers अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक story खंड – पाठ-16 अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – तुलसीदास: (क) भरत-राम का प्रेम, (ख) पद अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक story खंड – पाठ-17 अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – मलिक मुहम्मद जायसी: बारहमासा अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक story खंड – पाठ-15 अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – विष्णु खरे: (क) सत्य, (ख) एक कम अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक story खंड – पाठ-11 अंतरा भाग 2 – कक्षा 12 हिंदी (ऐच्छिक) काव्य खंड – जयशंकर प्रसाद: (क) देवसेना का गीत, (ख) कार्नेलिया का गीत – संपूर्ण सारांश, व्याख्या, प्रश्न और उत्तर अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – विद्यापति: पद अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) पाठ्यपुस्तक story खंड – पाठ-12 अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – सूर्यकांत त्रिपाठी ‘निराला’: (क) गीत गाने दो मुझे, (ख) सरोज-स्मृति अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक story खंड – पाठ-10 अंतरा भाग 2 – कक्षा 12 के लिए हिंदी (ऐच्छिक) की पाठ्यपुस्तक काव्य खंड – कुकुआन: दोह Notebook backup + AI Save your notes. Revise with AI. Learn more → Share this article