Search Header Logo

22. Kiểu ds

Authored by 1. 10A9

Other

10th Grade

Used 7+ times

22. Kiểu ds
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

20 sec • 1 pt

Để tạo danh sách, ta thực hiện như sau:

a = <5, 8, 6.5, “abc”>

a = (5, 8, 6.5, “abc”)

a = [5, 8, 6.5, “abc”]

a = 5, 8, 6.5, “abc”

Answer explanation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [“Xin chào”, 100, 85, “abc”].  a[1]=?

“Xin chào”

100

85

"abc"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [2, 4, 6, 8, 10]. Danh sách a có kết quả là gì sau khi thực hiện lệnh sau:

a[3] = 0

a = [0, 4, 6, 8, 10]

a = [2, 4, 6, 8, 10]

a = [2, 4, 0, 8, 10]     

a = [2, 4, 6, 0, 10]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [2, 4, 6, 8, 10]. Danh sách a có kết quả là gì sau khi thực hiện lệnh sau:

Del a[1]

a = [4, 6, 8, 10]

a = [2, 6, 8, 10]

a = [2, 4, 8, 10]   

a = [2, 4, 6, 10]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tạo danh sách rỗng như sau:

m = [0]

n = 0

k = []

s = “”

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [1, 2, 3, 4, 5].  Hàm len(a) = ?

[1, 2, 3, 4, 5]

[]

5

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [5, 8.2] và b = [“abc”].  a + b = ?

[5, 8.2, “abc”]

[ “abc”, 5, 8.2]

0

[5, 8.2] + [“abc”]

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?