
Functions Lecture Review
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
what are the two parts of a function?
Back
function definition, function call
2.
FLASHCARD QUESTION
Front
what are the function's parameter(s)?
Back
a, b
3.
FLASHCARD QUESTION
Front
which are the function's argument(s)?
Back
3, 5
4.
FLASHCARD QUESTION
Front
which is a valid function call for add_numbers? Options: add_numbers(), add_numbers(10), add_numbers(b=10, a=50), add_numbrs(3, 5)
Back
add_numbers(b=10, a=50)
5.
FLASHCARD QUESTION
Front
what will print? Options: Hello First \n Hello Second, Hello \n Hello First, Hello Second \n Hello First, Hello \n First
Back
Hello Second \n Hello First
6.
FLASHCARD QUESTION
Front
if this is the header of my function, which of the following function calls would NOT be acceptable? Options: add_item("banana"), add_item("banana", 2), add_item(item_name="banana", quantity=2), add_item()
Back
add_item()
7.
FLASHCARD QUESTION
Front
which line(s) of code would actually PRINT out the answer
Back
print(addition(6,7))
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?