
Python Functions
Authored by Sarbagya Malla
Computers
9th Grade
Used 456+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • 1 pt
Which two (2) lines of code will print when this function is called?
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
30 sec • 1 pt
What is the name of the function?
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When defining a function, the definition must occur before it is called.
true
false
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code output?
11, 9
16, 16
None, None
225, 117
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the line of code:
Label('Go Team', 200, 100)
What is the Label?
argument
parameter
function name
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct code to define a function?
def area ( ):
area ( )
def area:
def area ( )
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?