Search Header Logo

python functions

Authored by Richard Kipling

Computers

10th - 11th Grade

Used 53+ times

python functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will print?

nothing
5
6
an error message

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will print?

nothing
5
6
an error message

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will print?

nothing
7
z
12

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

How many times will Boo print?

none
4
5
1

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will print?

1 2
1
3
5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into a function?

Variable

Loop

Constant

Parameter

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leo wants to create a function that will roll a dice. Which is the correct function definition header?

def dice roll ():

def diceroll ()

def diceroll ():

def diceroll []:

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?