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

Kiểm tra kiến thức Tin học 10

Quiz
•
Other
•
10th Grade
•
Hard
Hang Duy
Used 1+ times
FREE Resource
77 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?
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
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Other
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade