Search Header Logo

KIỂU DANH SÁCH

Authored by Nguyễn Thủy

Other

10th Grade

Used 13+ times

KIỂU DANH SÁCH
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương án nào say đây là cách khai báo một danh sách rỗng trong Python?

list = ()

list = []

list = list()

list = {}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây dùng để thêm một phần tử vào cuối danh sách?

append()

add()

extend()

insert()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để truy cập vào 1 phần tử của danh sách ta sử dụng cú pháp nào dưới đây?

<danh sách>[<chỉ số>]    

<danh sách><chỉ số>

<chỉ số>[<danh sách>] 

<danh sách>.<chỉ số>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây xoá toàn bộ danh sách?

remove()

clear()   

exit()

del()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Thực hiện đoạn chương trình trên cho kết quả nào sau đây?

5

6

7

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Toán tử nào sau đây dùng để kiểm tra một giá trị có nằm trong danh sách không?

int

in

range

append

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Thực hiện đoạn chương trình trên cho kết quả nào sau đây?

[1, 2, 4, 3, 5]

[1, 2, 3, 4, 5]

[1, 2, 4, 5, 3]

[1, 2, 3, 4]

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?