Which keyword is used for function?
Python Functions and Method

Quiz
•
Instructional Technology
•
10th - 12th Grade
•
Hard
Teaching Assistant Ivy
Used 28+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
define
fun
def
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following items are present in the function header?
function name
parameter list
return value
Both A and B
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is called when a function is defined inside a class?
class
function
method
module
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the return statement is not used inside the function, the function will return:
None
0
Null
Arbitary value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a recursive function?
A function that calls other function.
A function which calls itself.
Both A and B
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which part of memory does the system store the parameter and local variables of a function call?
heap
stack
Uninitialized data segment
None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Class 12 Review Questions

Quiz
•
12th Grade
18 questions
IINFO-31 ARRAYS

Quiz
•
11th Grade
15 questions
Welcome and Statements Review

Quiz
•
9th - 12th Grade
10 questions
Eclipse IDE activity

Quiz
•
12th Grade
20 questions
Python IF statements Part 4

Quiz
•
9th - 12th Grade
16 questions
M05 - Estruturas de Dados Python

Quiz
•
10th Grade - University
15 questions
Python Internship Quiz

Quiz
•
12th Grade - University
10 questions
Skill #2 - Flow Control with Decisions and Loops

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Instructional Technology
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade