
Python VLQG 4
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Quốc Thư
Used 8+ times
FREE Resource
Enhance your content in a minute
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?
Similar Resources on Wayground
16 questions
Conditions
Quiz
•
8th - 10th Grade
20 questions
مراجعة-علوم الحاسب-نهاية ف2
Quiz
•
11th Grade
17 questions
Đề ôn tập cuối HKI lớp 5
Quiz
•
6th Grade - University
20 questions
TEST1.PY
Quiz
•
10th Grade - University
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
20 questions
Data structure test1
Quiz
•
12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
15 questions
UAS Desain Media Interaktif
Quiz
•
12th Grade
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
