How do you catch one specific error around risky lines?
Your program opens a name that does not exist. Which exception arrives?
A raised exception that nobody catches prints an error and stops the program.
Circle one: True False
One program reads a missing file and parses a bad number. How should it guard both?
Your function needs a positive number but gets a negative. What should it do?
Why is one shared catch all usually the wrong repair?
What should a good except block do?
A student writes a bare catcher that just passes on. What is the verdict?