
Learn Python Functions
Interactive Video
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Nicol Sutherland
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a function?
To create variables
To perform a specific task
To store data
To print text
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the return statement indicate?
return <expression>
The transfer back to the None value
The test for the presence or absence of some property (True/False)
An entry point for a script
The end of the function or exit point
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is defining a function not enough?
We also need to multiply its argument
We also need to call it
We also need to compute the function
We also need a number value parameter
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What parameters were in the about_me function?
last_name, gamer_tag, level
name, profession, pet
fish, gills, fins
flower_type, color, water_usage
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
func
def
define
function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are parameters in a function?
Names of the function
Placeholders for arguments
Types of data
Values returned by the function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What colors will be returned in a tuple?
red, green, blue
red, yellow, orange
blue, yellow, orange
black, red, blue
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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade