Python Functions and Exceptions

Python Functions and Exceptions

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Pengenalan Aplikasi Blender

Pengenalan Aplikasi Blender

11th Grade

13 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

Python Functions and Exceptions

Python Functions and Exceptions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Christine Garnett

Used 200+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?