tin học

tin học

2nd Grade

39 Qs

quiz-placeholder

Similar activities

Hoa phan tich

Hoa phan tich

1st - 10th Grade

36 Qs

Tổ chức Layers (59-100)

Tổ chức Layers (59-100)

1st - 5th Grade

42 Qs

tin học

tin học

Assessment

Quiz

Architecture

2nd Grade

Easy

Created by

Hồ Yến

Used 4+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh

a[1]

a[0]

a0

a[]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cho danh sách a=[0,2,4,6]. phần tử [1]=?

0

2

4

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

append()

pop()

insert()

sort()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để xóa phần tử thứ i vào cuối danh sách và đưa ra phần tử này, ta gọi hàm:

append(i)

insert(i)

pop(i)

sort(i)

5.

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]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để khởi tạo danh sách b có 5 phần tử 1,2,3,4,5 ta dùng viết

b=1,2,3,4,5

b=(1,2,3,4,5)

b=[1..5]

b=[1,2,3,4,5]

7.

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]

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?