
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
18 questions
test tuan 2

Quiz
•
7th Grade
20 questions
C++ Khái niệm về lập trình - Cấu trúc tuần tự

Quiz
•
8th Grade
21 questions
gửi thư điện tử

Quiz
•
1st Grade
15 questions
10 BÀI 28

Quiz
•
10th Grade
15 questions
TIN 7_ BÀI 9 TRÌNH BÀY BẢNG TÍNH

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

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

Quiz
•
1st - 5th Grade
20 questions
ÔN TẬP TIN HỌC LỚP 3 - HK2

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
25 questions
Exploring POV and Unreliable Narrators

Quiz
•
7th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
16 questions
4.2 Private & Personal Information

Lesson
•
4th Grade