
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
48 questions
Test HTML

Quiz
•
10th Grade
45 questions
[ Kết nối tri thức] Tin học 11-hk1

Quiz
•
11th Grade
40 questions
PAT SUSULAN BAHASA SUNDA KELAS XI

Quiz
•
11th Grade
40 questions
Đề cương ôn tập giữa kì 2 - Lớp 10

Quiz
•
10th Grade
40 questions
ĐỀ HỌC KÌ II TIN 10 TĐN

Quiz
•
10th Grade
46 questions
ôn cuối kì 2 môn tin

Quiz
•
10th Grade
45 questions
Ôn tập 1-12

Quiz
•
12th Grade
40 questions
DASAR PEMROGRAMAN

Quiz
•
12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade