Answer:
Option A: FileNotFoundError
Step-by-step explanation:
FileNotFoundError is an exception which is thrown when a program fail to open a specified file. The root causes of this type of error can be:
- The directory path to locate a target file is wrongly defined in our code due to a typo on the file name or misuse of relative directory path, such as ../ and ./ which denote two different paths.
- For some reasons, a target file is misplaced in a wrong directory.
Any one of the above reasons can lead to the exception to be thrown when the file doesn't exist.