Search Header Logo

tinck2

Authored by tuyết ánh

Computers

10th Grade

tinck2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

43 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?

append

pop

clear

remove

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn xóa một phần tử từ danh sách ta dùng lệnh gì?

remove

insert

append

clear

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sau khi thực hiện các câu lệnh sau, mảng A như thể nào

  • >> A = [1, 2, 3, 4, 5]

  • >> A. remove(3)

  • >> print(A)

[1, 2, 3, 4).

[2, 3, 4, 5].

[1, 2, 4, 5].

[1, 3, 4, 5].

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phần tử thứ bao nhiêu trong mảng A

bị xóa?

  • >> A = [10, 20, 3, 30, 20, 30, 20, 6, 3, 2, 8, 9]

  • >> A. remove(3)

  • >> print(A)

2

3

8

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ngoài việc kết hợp lệnh for và range để duyệt phần tử trong danh sách, có thể sử dụng câu lệnh nào khác?

int

while

in range

in

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào được dùng đề chèn phần tử vào danh sách?

append

clear

insert

remove

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn thêm phần tử vào cuối danh sách ta dùng hàm nào?

append

pop

clear

remove

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?