Search Header Logo

KIỂM TRA B15-THỰC HÀNH KIỂU DSACH

Authored by Trieu Tham

Science

10th Grade

Used 2+ times

KIỂM TRA B15-THỰC HÀNH KIỂU DSACH
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

Lệnh nào để duyệt từng phần tử của danh sách?

for

while – for

for kết hợp với lệnh range().

while kết hợp với lệnh range().

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cho mảng a=[0,2,4,6]. Phần tử a[1]=?

0

2

4

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình

a=[1,2,3]

a.append(4)

print(a)

Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử

a=[4,1,2,3]

a=[1,2,3]

a=[1,2,3,4]

a=[1,4,2,3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình

a=[1,2,3]

a.pop(2)

print(a)

Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:

a=[1,2]

a=[2,3]

a=[1,3]

a=[2]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình

a=[1,2,3]

a.insert(0,2)

print(a)

Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:

a=[0,1,2,3]

a=[2,3]

a=[2,1,2,3]

a=[1,2,3,2]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết kích thước của danh sách ta dùng hàm

type()

len()

sort()

pop()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để biết kích thước của danh sách ta dùng hàm

type()

len()

sort()

pop()

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?