Tuesday, September 8, 2026

MCQ's and fill in the blanks

 Ch - 1

1. Which statement is used at the end of exception handling in python ?

(a) Finally

(b) Raise

(c) Assert

(d) None of them

2. Which statement is used to throw an exception ?

(a) Try

(B) Raise 

(C) Assert

(d) If 

3. Which statement is used to test an expression in program code ?

(a) Try

(b) Raise

(c) assert 

(d) None of them 

4. In which block statements are caught.

(a) Except

(B) Try

(c) Both 

(d) None of them

5.

No comments:

Post a Comment

if you have any doubt. please let me know.

MCQ's and fill in the blanks

 Ch - 1 1. Which statement is used at the end of exception handling in python ? (a) Finally (b) Raise (c) Assert (d) None of them 2. Which s...