Which keyword is used for function?*
Python Functions

Quiz
•
Computers
•
12th Grade
•
Hard
S Verma
Used 139+ times
FREE Resource
23 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
If the return statement is not used inside the function, the function will return:
0
None
Null
Arbitary value
4.
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
5.
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)
6.
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
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is a function declared in Python?*
def function function_name():
declare function function_name():
def function_name():
declare function_name():
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Define Function

Quiz
•
12th Grade
24 questions
Teknoloji ve Yazılım 1. Dönem 1. Yazılı (Python)

Quiz
•
6th Grade - University
20 questions
Subroutines - Procedures & Functions

Quiz
•
9th - 12th Grade
20 questions
Data handling using pandas and Data visualization

Quiz
•
12th Grade
19 questions
OCR GCSE Computer Science Subroutines

Quiz
•
12th Grade
25 questions
COMP SCI (FUNCTIONS)

Quiz
•
12th Grade
20 questions
Python Intermediate Quiz (Including pygame)

Quiz
•
3rd - 12th Grade
23 questions
Coding 1 Midterm Prep

Quiz
•
10th - 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