Python Functions

Flashcard
•
Computers
•
12th Grade
•
Hard
Quizizz 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():
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Python Functions and Docstrings Flashcard

Flashcard
•
University
16 questions
Python Basics Unit 3.1

Flashcard
•
12th Grade
15 questions
Python

Flashcard
•
10th - 12th Grade
15 questions
Python modules, operators and random

Flashcard
•
University
14 questions
OOP-FLASHCARD FINALS

Flashcard
•
University
19 questions
AVINYA 2K25

Flashcard
•
University
15 questions
CSE 102 Exam 3 Practice

Flashcard
•
University
15 questions
Python Programming Flashcard

Flashcard
•
University
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