Python_Institute
PCAP-31-03 · Question #49
What is the expected output of the following code if there is no file named non existing_file inside the working directory?
Sign in or unlock PCAP-31-03 to reveal the answer and full explanation for question #49. The question stem and answer options stay visible for context.
Technology and architecture
Question
What is the expected output of the following code if there is no file named non existing_file inside the working directory?
Exhibit
Options
- A2 2
- B1 3
- C1 2 3
- D2 2 3
Unlock PCAP-31-03 to see the answer
You've previewed enough free PCAP-31-03 questions. Unlock PCAP-31-03 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#file exceptions#error handling#output prediction#Python I/O
