Cho danh sách a. Để truy cập đến phần tử đầu tiên trong danh sách, ta viết:

Đề Cương Môn Tin GK II

Flashcard
•
Other
•
11th Grade
•
Hard
ngọc nguyễn
FREE Resource
Student preview

47 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
a[0]
2.
FLASHCARD QUESTION
Front
Tìm giá trị lớn nhất trong danh sách a.
Back
max(a)
3.
FLASHCARD QUESTION
Front
Cho a là danh sách các số nguyên, để thêm phần tử mới có giá trị 50 vào cuối danh sách a, ta viết:
Back
a.append(50)
4.
FLASHCARD QUESTION
Front
Cho a= [12, 9, 3, 7, 10], sau khi thực hiện lệnh a.pop(3). Giá trị danh sách a sẽ là:
Back
[12, 9 , 3, 10]
5.
FLASHCARD QUESTION
Front
Giá trị danh sách a sau khi thực hiện lệnh a.insert(3,11) với a= [12, 9, 3, 7, 10] là gì?
Back
[12, 9, 3, 11, 7, 10]
6.
FLASHCARD QUESTION
Front
Cho a= [12, 9, 3, 7, 10], sau khi thực hiện lệnh a.sort(reverse=True). Giá trị danh sách a sẽ là:
Back
[12, 10, 9, 7, 3]
7.
FLASHCARD QUESTION
Front
Cho a= [12, 9, 3, 7, 10], sau khi thực hiện lệnh a.sort(). Giá trị danh sách a sẽ là:
Back
[3, 7, 9, 10, 12]
Create a free account and access millions of resources
Similar Resources on Wayground
44 questions
Đề cương GKII-KTPL12-2025

Flashcard
•
12th Grade
42 questions
(VOCAB) ETS LC - DAY 5 ( FULL 50 TỪ) | TOEIC NGÔ HUYỀN MY

Flashcard
•
University
45 questions
TỪ VỰNG DANH TỪ

Flashcard
•
KG
40 questions
Vocab - 06 - Days off

Flashcard
•
KG
39 questions
Thi giữa kì 2 môn sử

Flashcard
•
11th Grade
40 questions
Đề phát âm 01

Flashcard
•
10th Grade
44 questions
Đề cương GKII-KTPL12-2025

Flashcard
•
12th Grade
44 questions
Đề cương GKII-KTPL12-2025

Flashcard
•
12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade