Search Header Logo

Functions Python

Authored by Jolynne Hopkins

Computers

9th - 12th Grade

5 Questions

Used 6+ times

Functions Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is a benefit of functions?

Shortening our code

Making our code reusable

Making our code more readable

All of the choices

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What are we doing with this function?

def function_name():

commands()

Defining the Function

Calling the Function

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What are we doing with this function?

code

code

function_name()

code

Defining the Function

Calling the Function

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What two things must be included in your function definition?

a function name and commands to be performed

Function variables and commands to be performed

Commands to be performed and function arguments

A function name and function variables

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the names follows ALL naming rules?

my_function

Draw a Circle

4_circles

four_circles

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?