Python Functions
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

21 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which keyword is used for function?
Back
def
2.
FLASHCARD QUESTION
Front
Which of the following items are present in the function header? function name, parameter list, return value, Both A and B
Back
Both A and B
3.
FLASHCARD QUESTION
Front
If the return statement is not used inside the function, the function will return:
Back
None
4.
FLASHCARD QUESTION
Front
What is a recursive function?
Back
A function which calls itself.
5.
FLASHCARD QUESTION
Front
Which of the following function headers is correct? def fun(a = 2, b = 3, c), def fun(a = 2, b, c = 3), def fun(a, b = 2, c = 3), def fun(a, b, c = 3, d)
Back
def fun(a, b = 2, c = 3)
6.
FLASHCARD QUESTION
Front
In which part of memory does the system store the parameter and local variables of a function call?
Back
stack
7.
FLASHCARD QUESTION
Front
How is a function declared in Python? Options: def function function_name():, declare function function_name():, def function_name():, declare function_name():
Back
def function_name():
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?
Similar Resources on Wayground
15 questions
Oscar Wilde Flashcard
Flashcard
•
University - Professi...
16 questions
REVIEW SOCIALES
Flashcard
•
12th Grade
19 questions
PRACTICAL RESEARCH 2_Q2_Reviewer
Flashcard
•
12th Grade - University
15 questions
What is the Limit?
Flashcard
•
11th Grade
20 questions
The Gift of Magi Flashcard
Flashcard
•
University
10 questions
Cardiovascular system
Flashcard
•
12th Grade
10 questions
Strategies to Avoid Communication Breakdown
Flashcard
•
11th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade