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
20 questions
COMPARATIVE ADJECTIVES
Flashcard
•
University
12 questions
Mastering Topic Sentences and Summaries
Flashcard
•
University
15 questions
LT 1.2-1.3 - Photosynthesis
Flashcard
•
11th - 12th Grade
15 questions
Past Simple VS Prsent Perfect
Flashcard
•
KG - University
12 questions
E4 Final Exam: Biographies and Autobiographies (Smith)
Flashcard
•
12th Grade
12 questions
Biologi Tingkatan 5 Bab 3
Flashcard
•
12th Grade
15 questions
Physical Science Review
Flashcard
•
11th Grade - University
14 questions
Deviance
Flashcard
•
11th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade