Python Functions
Flashcard
•
Computers
•
9th Grade
•
Easy
Wayground Content
Used 8+ times
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
When defining a function, the definition must occur before it is called.
Back
true
2.
FLASHCARD QUESTION
Front
What will print? Options: nothing, 5, 6, an error message
Back
nothing
3.
FLASHCARD QUESTION
Front
What does the following code output? Options:
11, 9
,16, 16
,None, None
,225, 117
Back
11, 9
4.
FLASHCARD QUESTION
Front
What is the Label in the line of code: Label('Go Team', 200, 100)?
Back
function name
5.
FLASHCARD QUESTION
Front
Which of the following is the correct code to define a function?
Options:def area ( ):
,area ( )
,def area:
,def area ( )
Back
def area ( ):
6.
FLASHCARD QUESTION
Front
How do you correctly call this function? Options: def(1), x=square( ), defSquare(4), x=square(5)
Back
x=square(5)
7.
FLASHCARD QUESTION
Front
How do you identify the statements that belong to the body of a function?
Back
Indent those statements the same amount underneath the function "def" statement.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Adjectives ending in -ED and -ING
Flashcard
•
KG - 7th Grade
15 questions
Unit II Test Review Bio A (Ch. 3-5)
Flashcard
•
9th - 11th Grade
20 questions
Earthquakes and Volcanoes
Flashcard
•
9th Grade
12 questions
Trennbare Verben
Flashcard
•
KG
15 questions
Urban Heat Islands
Flashcard
•
9th Grade
15 questions
Waves
Flashcard
•
8th Grade
15 questions
Stamped Chapter 1: Understanding Racism
Flashcard
•
10th Grade
10 questions
year 6 unit 8 vocabulary
Flashcard
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade