Python Functions

Flashcard
•
Computers
•
9th Grade
•
Hard
Wayground Content
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 statement the same amount underneath the function "def" statement
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Proving Triangles Similar & Similar Triangles

Flashcard
•
9th - 10th Grade
15 questions
Similar Triangles Practice

Flashcard
•
9th - 10th Grade
16 questions
Properties Justifying Statements

Flashcard
•
9th Grade
16 questions
similar triangles and slopes

Flashcard
•
8th Grade
15 questions
Similarity Unit 4 (CIA 2) Review

Flashcard
•
9th Grade
15 questions
Triangle Congruence

Flashcard
•
9th Grade
15 questions
Similarity Unit Review

Flashcard
•
9th Grade
15 questions
Concept Check-Similar Triangles Missing Sides

Flashcard
•
9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade