
Python Functions and Features Quiz
Quiz
•
Computers
•
4th Grade
•
Easy
Digital dreams
Used 1+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why did we write the parameter “self” while defining the functions inside the classes?
We can access the functions created inside the class while using the objects of the class
We can access the functions created inside the class while using the variable of the class
We can access the functions created inside the function while using the objects of the function
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Polymorphism is considered as one of the important features of _______.
Function
Loop
Conditional statement
Object Oriented Programming
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a class in python?
A way of organizing information of data type
programmers can reuse elements
can make multiple object from class
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which module enables time zone calculations in our Python applications?
time
datetime
pytz
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the full form of the PIL library of python?
Python’s Image Library
Python Insert Library
Primary Image Library
All of them
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function gives time in a proper format and astring format?
pytz.timezone()
datetime.now()
strftime()
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function do we use to get the time zone?
pytz.time("timezone_name")
time(timezone_name)
pytz.timezone("timezone_name")
pytz.zone("timezone_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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Coding
Quiz
•
3rd - 6th Grade
15 questions
Python Algorithm
Quiz
•
4th Grade - University
15 questions
Introduction to Python Quiz - Year 5
Quiz
•
4th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
Microsoft Teams
Quiz
•
KG - 12th Grade
9 questions
Python Conditional Statements Quiz
Quiz
•
1st - 5th Grade
15 questions
Programming - Screening Test
Quiz
•
3rd Grade - Professio...
9 questions
Мова програмування Python
Quiz
•
1st - 12th Grade
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