ExamVeda
Login
Home
61
Which of the following blocks will be executed whether an exception is thrown or not?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
62
. . . . . . . . exceptions are raised as a result of an error in opening a particular file.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
What will be the output of the following Python code?
t[5]
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
64
What happens if the file is not found in the following Python code?
a=False
while not a:
    try:
        f_n = input("Enter file name")
        i_f = open(f_n, 'r')
    except:
        print("Input file not found")
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
65
Which of the following is true about the finally clause in exception handling?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board