What is a return in a function?
Python Functions Review Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

33 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Keyword that tells the function what value to send back
2.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 5, 6, "3 + 2"
Back
nothing
Answer explanation
No print function is written. You need to print or save the function call.
3.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 5, 6, "3 + 2"
Back
5
4.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 7, z, 12
Back
12
Answer explanation
9 is returned from the function call with 4 &5. Then 9 is passed with the 3 to the function again with 12 as the return value.
5.
FLASHCARD QUESTION
Front
How many times will Boo print?
Back
4
Answer explanation
range(1,4) starts at 1 and goes to one less than 5. So it runs for 1, 2, 3 & 4. 4 times
6.
FLASHCARD QUESTION
Front
What will print? Options: 1 2, 1, 3, 5
Back
5
Answer explanation
Remember PEMDAS
7.
FLASHCARD QUESTION
Front
Leo wants to create a function that will roll a dice. Which is the correct function definition header?
Back
def diceroll ():
Create a free account and access millions of resources
Similar Resources on Quizizz
28 questions
PLTW CSE Flashcard - Activities 1.1.1 thru 1.1.4

Flashcard
•
9th - 12th Grade
28 questions
Python If Else Statements

Flashcard
•
9th - 12th Grade
29 questions
Python- if -ifelse-elif

Flashcard
•
9th - 12th Grade
26 questions
Block Coding in Scratch

Flashcard
•
9th - 12th Grade
28 questions
Python Functions

Flashcard
•
10th - 12th Grade
25 questions
039_Zero-day Vulnerabilities – CompTIA Security+ SY0-701 – 2.3

Flashcard
•
9th - 12th Grade
25 questions
Understanding Programming Concepts and Logic

Flashcard
•
9th - 12th Grade
21 questions
Python if Review

Flashcard
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade