
Danh sách và xâu kí tự
Quiz
•
Education
•
9th - 12th Grade
•
Practice Problem
•
Medium
Nguyễn Tươi
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đối tượng dưới đây thuộc kiểu dữ liệu nào?
A = [1, 2, ‘3’]
Danh sách.
Số nguyên.
Số thực.
Xâu kí tự.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho arr = [‘xuan’, ‘hạ’, 1. 4, ‘đông’, ‘3’, 4.5, 7]. Đâu là giá trị của arr[3]?
1.4.
‘đông’.
‘hạ’.
‘3’.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A= [3,5,7,3,5,8,-1,6]
for i in A:
print(i)
Duyệt từng phần tử trong A.
Tính tổng các phần tử trong A.
Tính tổng các phần tử không âm trong A.
Tính tổng các phần tử dương trong A.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả khi thực hiện chương trình sau?
>>> A = [1, 2, 3, 5]
>>> A.insert(2, 4)
>>> print(A)
[1, 2, 3, 4].
[1, 2, 4, 3, 5].
[1, 2, 3, 4, 5].
[1, 2, 4, 5].
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear()
exit()
remove()
del()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Có bao nhiêu xâu kí tự hợp lệ?
1) “123_@##”
2) “hoa hau”
3) “346h7g84jd”
4) python
5) “01028475”
6) 123456
5.
6.
4.
3.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chương trình sau giải quyết bài toán gì?
In một chuỗi kí tự từ 0 tới 10.
In một chuỗi kí tự từ 1 tới 10.
In một chuỗi kí tự từ 0 tới 9.
In một chuỗi kí tự từ 1 đến 9.
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
Already have an account?
Similar Resources on Wayground
12 questions
TRI THỨC ĐỌC + THẦN TRỤ TRỜI
Quiz
•
10th Grade
10 questions
Сруктурированный тип данных массив
Quiz
•
10th Grade
10 questions
Tin học 9 Bài 7: Phần mềm trình chiếu
Quiz
•
9th Grade
15 questions
Phục hồi tầng Ozone: Thành công hiếm hoi của nỗ lực toàn cầu
Quiz
•
9th - 12th Grade
10 questions
Bài 3: Tổ chức và truy cập thông tin trên Internet
Quiz
•
1st - 10th Grade
12 questions
KHOA HỌC VÀ CÔNG NGHỆ
Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบหลังเรียน 2/63
Quiz
•
1st - 10th Grade
11 questions
Python - Data Types
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Education
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
