Python Functions and Exceptions

Python Functions and Exceptions

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Jago PHP

Jago PHP

11th Grade

20 Qs

Python If Else

Python If Else

9th - 10th Grade

14 Qs

Python If

Python If

9th - 10th Grade

14 Qs

Iteration

Iteration

11th Grade

20 Qs

Python while loops

Python while loops

8th - 9th Grade

20 Qs

Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Python -Iteration (loops)

Python -Iteration (loops)

7th - 12th Grade

20 Qs

Python Functions and Exceptions

Python Functions and Exceptions

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Christine Garnett

Used 187+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

12

code

codecodecode

nothing

error

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Tracy

hello Turtle

hello Tracy

none of these

Turtle

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

nothing

<>

3

<><><>

<><><><>

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Media Image

Four

5

3.0

*

None of these

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

A

B

C

D

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?