Cho biết phát biểu nào sau là đúng với kiểu dữ liệu danh sách List

Python 2

Quiz
•
Computers
•
1st - 12th Grade
•
Hard
Vân Đặng
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các phân tử trong List bắt buộc phải có cùng kiểu dữ liệu
Các phân tử trong List có thể có các kiểu dữ liệu khác nhau
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào cho phép khởi tạo 1 List
List1 = list()
List1 = []
List1 = list([1, 2, 3])
Tất cả các đáp trên đều đúng
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết các phát biểu nào sau là đúng với kiểu dữ liệu từ điển dict
Các phần tử trong dict được phân biệt thông qua key
Các phần tử trong dict được phân biệt thông qua value
Kiểu dữ liệu dict gồm nhiều phần tử mà mỗi phần tử là 1 cặp key: value, trong đó value phải có kiểu xâu str
Kiểu dữ liệu dict gồm nhiều phần tử mà mỗi phần tử là 1 cặp key: value, trong đó key phải là duy nhất trong dict
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả hiển thị ra màn hình sau đoạn chương trình sau:
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử L=[1,3,5,7,6], cho biết L[1] trả về giá trị nào trong các gía trị sau
1
3
5
7
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả hiển thị ra màn hình
print( List('hello'))
[‘h’, ‘e’, ‘l’, ‘l’, ‘o’]
hello
‘h’ ,‘e’, ‘l’, ‘l’, ‘o’
Lỗi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả hiển thị ra màn hình
L=[1,10,-5]
L.append(90)
print(max(L))
1
10
-5
90
Create a free account and access millions of resources
Similar Resources on Quizizz
23 questions
TH3-Bài 1- 8

Quiz
•
3rd Grade
15 questions
2223-HKI-K1

Quiz
•
1st Grade
15 questions
Kiểm tra 15p Tin 10 Kì 2 (số 1)

Quiz
•
10th Grade
20 questions
ON TAP KHOI 4 IC3

Quiz
•
1st - 5th Grade
16 questions
Tin7- Thiết bị vào ra

Quiz
•
6th Grade
18 questions
Ôn tập cuối HK2 - K3

Quiz
•
1st - 5th Grade
20 questions
Bai 3: Thiết bị lưu trữ

Quiz
•
3rd Grade
20 questions
ôn tập học kì 2 môn tin 7

Quiz
•
7th 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
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
20 questions
Types of Credit

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

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