
Tin 2

Quiz
•
Other
•
9th - 12th Grade
•
Easy
Đinh Hoàng Nam 10a2
Used 4+ times
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Danh sách A trước và sau lệnh insert() là [1, 3, 5, 0] và [1, 3, 4, 5, 0]. Lệnh đã dùng là
lệnh gì?
insert(2, 4)
insert(4, 2)
insert(3, 4)
insert(4, 3)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện các câu lệnh sau, kết quả của danh sách a như thế nào?
>>> a = [1, 2, 3, 4, 5]
>>> a. clear()
>>> print(A)
[]
[2, 3]
[1, 2, 4, 5]
[0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì?
A = [1, 2, 3, 4, 5, 6, 5]
for k in A:
print(k, end = " ")
1 2 3 4 5 6
1 2 3 4 5 6 5
1 2 3 4 5
2 3 4 5 6 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh gì?
del a[1:2]
del a[0:2]
del a[0:3]
del a[1:3]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng bao nhiêu?
1
2
0
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để lấy độ dài của xâu s ta dùng hàm nào dưới đây?
str(s)
len(s)
length(s)
s.len()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu kí tự nào sau đây hợp lệ?
1) “123_@##”
2) ‘hoa hau’
3) 346h7g84jd
4) python
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
46 questions
Հասարակագիտություն կամավոր 8-րդ դասարան

Quiz
•
9th - 12th Grade
40 questions
Ôn Tập Cuối Học Kỳ 1 - TIN 12

Quiz
•
12th Grade
40 questions
INF 03 HTML, CSS, JS i PHP cz 4

Quiz
•
12th Grade
40 questions
PKK IX BDP

Quiz
•
11th Grade
43 questions
Regular Preterit/ CAR GAR ZAR/ I stem

Quiz
•
10th Grade
40 questions
ระบบฐานข้อมูลและการออกแบบ ปลายภาคเรียนที่ 2/2562

Quiz
•
12th Grade - University
40 questions
QUIZ 1101 - SEMANA 1 - PER 1

Quiz
•
11th Grade
42 questions
ngon

Quiz
•
10th 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 Other
20 questions
Brand Labels

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

Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms

Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles

Quiz
•
9th Grade
20 questions
Cell Transport

Quiz
•
9th Grade