Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, '3']

Kiểu Dữ Liệu Danh Sách

Quiz
•
Computers
•
10th Grade
•
Medium
Levi Ackerman
Used 1+ times
FREE Resource
62 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list.
int.
float.
string.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
abs().
link().
append().
add().
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? A = [2, 3, 5, "python", 6] A.append(4) A.append(2) A.append("x") del(A[2]) print(len(A))
5.
6.
7.
8.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hoàn thiện chương trình tính tích các phần tử dương trong danh sách A.
>>> S = (…)
>>> for i in range(len(A)):
(…)
S = S * A[i]
>>> print(S)
1, if A[i] > 0:
0, if A[i] > 0:
1, if A[i] >= 0:
0, if A[i] > 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
in.
int.
range.
append.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A = ['a', 'b', 'c', 'd', 2, 3, 4]. Các biểu thức sau trả về giá trị đúng hay sai?
6 in A
‘a’ in A
True, False.
True, False.
False, True.
False, False.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear().
exit().
remove().
del().
Create a free account and access millions of resources
Similar Resources on Quizizz
65 questions
Kiểm tra kiến thức C++

Quiz
•
10th Grade
60 questions
CK1 Tin 10

Quiz
•
10th Grade
64 questions
Tin 10 cuối kì 2

Quiz
•
10th Grade
58 questions
Ôn Tập Tin 10 cuối Kỳ 1 , 24-25

Quiz
•
10th Grade
65 questions
Ôn tập KTCK2 Tin 10

Quiz
•
10th Grade - University
62 questions
Câu hỏi về lập trình

Quiz
•
10th Grade - University
60 questions
TIN6_ÔN TẬP HKI_2425

Quiz
•
6th Grade - University
57 questions
NGÂN HÀNG CÂU HỎI TIN 10- HỌC KÌ II

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University