Python Functions
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Easy
Wayground Content
Used 15+ 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.
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?
Similar Resources on Wayground
13 questions
The First Americans and Their Civilizations
Flashcard
•
9th Grade
15 questions
Exploring the Foundations of Science
Flashcard
•
9th Grade
15 questions
Pelaku Ekonomi
Flashcard
•
8th Grade
18 questions
Soal Transformator
Flashcard
•
9th Grade
10 questions
Basic Concepts of Probability
Flashcard
•
8th Grade
10 questions
Avaliação 8º ANO
Flashcard
•
8th Grade
20 questions
Atomic structure
Flashcard
•
9th Grade
20 questions
Irregular Verbs
Flashcard
•
9th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade