
TH10 CĐ5-BH23 Tiết 1

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
phutuctran 1
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, cú pháp nào sau đây dùng để tạo một danh sách rỗng?
list = ()
list = []
list = {}
list = ""
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây dùng để thêm phần tử vào cuối danh sách?
list.append(x)
list.insert(k, x)
list.add(x)
list.pus(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 2, 3, 4, 5], câu lệnh A[1] = 10 có tác dụng gì?
Thêm phần tử 10 vào danh sách
Xóa phần tử thứ 2
Thay phần tử thứ 2 thành 10
Lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây dùng để xóa phần tử ở vị trí chỉ số 1 trong danh sách?
del list[1]
list.remove(1)
list.delete(1)
list[1] = 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào sau đây trả về số lượng phần tử trong danh sách?
len(list)
count(list)
length(list)
size(list)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [10, 20, 30, 40]
a.insert(2, 25)
print(a)
Kết quả sau khi thực hiện đoạn mã trên là gì?
[10, 20, 25, 30, 40]
[10, 25, 20, 30, 40]
[10, 20, 30, 25, 40]
[25, 10, 20, 30, 40]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh A.clear() có tác dụng gì?
Xóa danh sách A
Xóa toàn bộ dữ liệu của danh sách A
Sắp xếp danh sách A
Không có lệnh clear()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Ôn HKII tin 4

Quiz
•
5th Grade - University
15 questions
19.12 Hoạt động 2: ứng dụng của Google

Quiz
•
10th Grade
10 questions
Lớp 10 - Bài 22: Kiểu dữ liệu danh sách

Quiz
•
10th Grade
10 questions
VÒNG 1. KIỂU DANH SÁCH

Quiz
•
10th Grade
10 questions
Luyện tập

Quiz
•
10th Grade
6 questions
Vòng 3. Kiểu danh sách

Quiz
•
10th Grade
10 questions
PHIẾU HỌC TẬP SỐ 2 - BÀI 10 - TIN HỌC 10

Quiz
•
10th Grade
5 questions
10a2-ktra miệng

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
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
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade