
Python VLQG 4
Authored by Quốc Thư
Computers
9th - 12th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output? print("2" * 3 + "5")
6 + 5
"555"
"2225"
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print? print(list(range(2,10,2)))
[2,4,6,8]
[2,3,4,5,6,7,8,9]
[2,10]
[2,4,6,8,10]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which expression is True?
[1,2] == [1,2]
[1,2] is [1,2]
Both a and b
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result?
nums = [1,2,3]
print(nums[-1])
1
2
3
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed? print(bool(0) or "Python")
True
False
0
"Python"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line creates a set with values 1,2,3?
{1,2,3}
set([1,2,3])
{1,2,2,3}
All of them
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output? print("PYTHON".lower().replace("o","0"))
python
pyth0n
PYTH0N
Error
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?