Python Functions Review Flashcard

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground 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
23 questions
Intro to CS - Unit 3 Review (Functions)

Flashcard
•
9th - 12th Grade
20 questions
parent functions and transformations

Flashcard
•
9th - 12th Grade
19 questions
Exponential Functions

Flashcard
•
9th - 12th Grade
20 questions
Linear Functions

Flashcard
•
9th - 11th Grade
19 questions
Function Notation

Flashcard
•
9th - 12th Grade
19 questions
Inverse Functions

Flashcard
•
9th - 12th Grade
17 questions
Is it a function? and Parent Functions

Flashcard
•
9th - 12th Grade
20 questions
Kindergarten Science

Flashcard
•
KG
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade