
Praktisi Mengajar 2023 - Python
Authored by Lintang Wisesa
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following are the characteristics of a LIST in Python, except...
indexed (ordered)
written with curly brackets { }
mutable (changeable)
allow duplicate elements
written with square brackets [ ]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is the way to create a FUNCTION in Python...
defined using the def keyword
defined using the function keyword
defined using the void keyword
defined using the func keyword
defined using the main keyword
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of these lines?
150
60
55
50
15
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following are the characteristics of a CLASS in Python, except...
defined using a class keyword
could has some properties
could has some methods
defined using a bracket ( )
can be inherited from another class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of these lines?
apple
banana
durian
apple
banana
apple
banana
cherry
cherry
durian
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of these lines?
even
odd
0
null
Error()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of these lines?
1
2
4
5
1
2
3
4
1
2
3
4
5
1
2
3
1
2
3
5
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?