
Python Functions
Authored by btechsmartclass .com
Professional Development
Professional Development
Used 1K+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Python supports variable number of parameters.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Function header in Python contains _________________.
function name
list of parameters
return type
all the above
Only A & B
6.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
The default return value of any function in Python is _______________.
null
0
None
Garbage value
7.
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
Access all questions and much more by creating a free account
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
12 questions
AZURE WALKTHROUGH QUIZ 2
Quiz
•
Professional Development
10 questions
AWS Amazon VPC
Quiz
•
Professional Development
15 questions
LIS QUIZ FOR INSET
Quiz
•
Professional Development
12 questions
SEASONAL CAMPAIGN 2024
Quiz
•
Professional Development
10 questions
Post Test Road to Digital vol.2
Quiz
•
Professional Development
10 questions
Post Test Financial
Quiz
•
Professional Development
14 questions
Midterm Exam
Quiz
•
Professional Development
11 questions
Charger Playbook 2
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade