Python Functions
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
S Verma
Used 162+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used for function?*
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
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
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
18 questions
CISC or RISC
Quiz
•
11th - 12th Grade
20 questions
History of Package Design
Quiz
•
9th - 12th Grade
20 questions
NP IT Quiz ปริศนาไอที #4
Quiz
•
9th - 12th Grade
20 questions
Keamanan jaringan, dan hardware software
Quiz
•
9th - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 12th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
