
Python Functions and Exceptions
Authored by Christine Garnett
Computers
9th - 12th Grade
Used 203+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
12
code
codecodecode
nothing
error
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Tracy
hello Turtle
hello Tracy
none of these
Turtle
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nothing
<>
3
<><><>
<><><><>
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
12
24
50
66
none of these
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the purpose of an exception?
To indicate that something has gone wrong, and the program does not know how to continue
To point out when the programmer has written exceptionally good code
To tell the user that he/she has given bad data, such as a negative number instead of a positive number
To allow the programmer to write bad code, but have it still work
none of these
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Four
5
3.0
*
None of these
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A
B
C
D
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?