ÔN TẬP CUỐI HK2 - K10

ÔN TẬP CUỐI HK2 - K10

9th - 12th Grade

28 Qs

quiz-placeholder

Similar activities

SERIES1 VKL

SERIES1 VKL

12th Grade

23 Qs

Diagnóstico tercero

Diagnóstico tercero

9th Grade

23 Qs

Kt tin 12

Kt tin 12

12th Grade

23 Qs

ÔN TẬP TIN 7 HỌC KỲ 1

ÔN TẬP TIN 7 HỌC KỲ 1

1st - 12th Grade

25 Qs

Chủ đề: Ms Word 2

Chủ đề: Ms Word 2

2nd Grade - Professional Development

24 Qs

Tin 11. Kiểu mảng

Tin 11. Kiểu mảng

KG - 12th Grade

23 Qs

UH 1-MYOB Manufaktur

UH 1-MYOB Manufaktur

12th Grade

25 Qs

Ôn Tin 10 Cánh Diều _Tuyết

Ôn Tin 10 Cánh Diều _Tuyết

10th Grade

24 Qs

ÔN TẬP CUỐI HK2 - K10

ÔN TẬP CUỐI HK2 - K10

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Chi Lệ

Used 8+ times

FREE Resource

28 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ử a[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 trong 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

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]

7.

MULTIPLE CHOICE QUESTION

30 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()

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?