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
15 questions
2223-HKI-K1

Quiz
•
1st Grade
20 questions
BAI 26_10

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

Quiz
•
7th Grade
20 questions
Modul3-xử lí văn bản word 2010

Quiz
•
1st Grade
20 questions
ÔN TẬP HK II TIN 7

Quiz
•
7th Grade
20 questions
Bài 8 - Tin 12

Quiz
•
12th Grade
17 questions
ÔN TẬP KA

Quiz
•
4th Grade
23 questions
TH3-Bài 1- 8

Quiz
•
3rd Grade
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 Computers
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
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade