
Python Function
Quiz
•
Education
•
Professional Development
•
Medium
deepasree varma
Used 1+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
__________ keyword is used for creating a function in Python.
define
fun
def
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
What is the output of the given code?
10 20 10
10
20
10 20
3.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
What is the output of the given code?
10 20 10 20
10 20 10
10 20 20
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
The default return value of any function in Python is _______________.
null
0
None
Garbage value
5.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
__________ is the built-in function to know the type of a variable or function.
id()
type()
data_type()
none of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Select the advantages of functions
Modular programming
Code re-usability
Improving clarity of the code
All the above
7.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
A Function which calls itself is called as_______
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Ethics Jan8
Quiz
•
6th Grade - Professio...
10 questions
Javascript Basics
Quiz
•
Professional Development
9 questions
Coding Respiratory Conditions
Quiz
•
Professional Development
14 questions
CNC Principles
Quiz
•
Professional Development
13 questions
Python Intermediate Quiz - 1
Quiz
•
8th Grade - Professio...
10 questions
Java Static_NonStatic
Quiz
•
Professional Development
10 questions
TKC Teachers Training - System Anak2U
Quiz
•
Professional Development
10 questions
Poshan Tracker Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade