10_list

10_list

1st Grade

24 Qs

quiz-placeholder

Similar activities

5 класс растровых изо

5 класс растровых изо

1st Grade

20 Qs

ASESMEN SUMATIF AKHIR SEMESTER GASAL

ASESMEN SUMATIF AKHIR SEMESTER GASAL

1st Grade

20 Qs

Lop 4  chủ đề 4 những gì em đã biết powerpoint

Lop 4 chủ đề 4 những gì em đã biết powerpoint

1st Grade

23 Qs

TIK kls 1 Bab 1

TIK kls 1 Bab 1

1st Grade

20 Qs

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Administrasi Sistem jaringan KD1

Administrasi Sistem jaringan KD1

1st - 10th Grade

20 Qs

Operating System Concept Management

Operating System Concept Management

1st - 3rd Grade

20 Qs

Computación base

Computación base

1st Grade

20 Qs

10_list

10_list

Assessment

Quiz

Computers

1st Grade

Practice Problem

Medium

Created by

Phong Thanh

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

len()

sort()

pop()

type()

2.

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]

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

clear()

remove()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:

del(2)

del a[2]

del a  

remove(2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa tất cả các phần tử trong danh sách, ta gọi hàm thành viên:

append()  

pop()

clear()  

remove()

6.

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[]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

2

0

4

6

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

Already have an account?