
Python Programming Quiz
Authored by Thủy Trần
Education
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
67 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu chuỗi được biểu diễn như thế nào trong Python?
Đặt trong dấu ngoặc đơn ()
Đặt trong dấu ngoặc nhọn {}
Đặt trong dấu ngoặc kép " hoặc dấu nháy đơn '
Đặt trong dấu ngoặc vuông []
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho chuỗi s = "Python", biểu thức s[0:3] sẽ trả về giá trị gì?
"Pyt"
"yth"
"hon"
"Python"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho s = "Python", biểu thức s[1] sẽ trả về giá trị gì?
"P"
"y"
"t"
"n"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho s = "Python programming", kết quả của lệnh print(s.find("o")) là gì?
4
5
6
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b với 5 phần tử 1, 2, 3, 4, 5, chúng ta viết:
b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b=[1..5]
b = [1, 2, 3, 4, 5]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương pháp nào được sử dụng để thêm một phần tử vào cuối danh sách trong Python?
insert()
append()
extend()
add()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách a=[0,2,4,6], phần tử a[1] trả về giá trị gì?
0
2
4
6
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
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
Discover more resources for Education
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
20 questions
Exponent Rules Review
Quiz
•
8th - 9th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade