
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
Cho biết phát biểu nào sau là đúng với kiểu dữ liệu danh sách List
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 Wayground
20 questions
Living Online - Email

Quiz
•
5th Grade
15 questions
Kiểm tra kiến thức PowerPoint

Quiz
•
4th Grade
15 questions
TNTH- Word_PP_Excel 1

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

Quiz
•
10th Grade
15 questions
2223-HKI-K1

Quiz
•
1st 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
20 questions
ÔN TẬP SCRATCH

Quiz
•
3rd Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade