Search Header Logo

tin học

Authored by Phương Vy

Computers

10th Grade

Used 1+ times

tin học
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

73 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

Gỉa sử A=[5,6,7,8,9,10,11,12].Biểu thức sau trả về giá trị đúng hay sai?

(3+4-5+18//4) in A

True

False

Không xác định

Câu lệnh bị lỗi

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gỉa sử A=['a','b','c','d',2,3,4] .Các biểu thức sau trả về giá trị đúng hay sai?

6 in A

'a' in A

True,False

False,True

True,False

False,False

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Muốn xóa phần tử thứ 2 trong danh sách a ta dùng lệnh gì?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

>>>A.remove(3)

>>>print(A)

2

3

8

4

6.

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)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu phát biểu đúng

Sau khi thực hiện lệnh clear(),các phần trả về giá trị 0

Lệnh remove trả về giá trị False nếu không có trong danh sách

Remove() có tác dụng xóa một phần tử có giá trị cho trước trong list

Lệnh remove() có tác dụng xóa một phần tử ở vị trí cho trước

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?