Python Functions Review Flashcard

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

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a return in a function?
Back
Keyword that tells the function what value to send back
2.
FLASHCARD QUESTION
Front
WHAT IS THE DIFFERENCE BETWEEN A PARAMETER AND A FUNCTION?
Back
Parameters input values to a function. Functions operate on those parameter values.
3.
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.
4.
FLASHCARD QUESTION
Front
What will be printed? Options: nothing, 5, 6, "3 + 2"
Back
5
5.
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.
6.
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
7.
FLASHCARD QUESTION
Front
What will print? Options: 1 2, 1, 3, 5
Back
5
Answer explanation
Remember PEMDAS
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
JavaScript Flashcard 2

Flashcard
•
9th - 12th Grade
18 questions
Animation and Games Review

Flashcard
•
9th - 12th Grade
23 questions
CSP Exam Review extended time

Flashcard
•
9th - 12th Grade
19 questions
ELC END OF YEAR HOLIDAY ASSIGNMENT

Flashcard
•
KG
20 questions
Similar Triangles

Flashcard
•
9th - 12th Grade
17 questions
Mutations

Flashcard
•
9th - 12th Grade
20 questions
Scale Factor

Flashcard
•
9th - 12th Grade
20 questions
I.E.D. Term 1 Final

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade