LIST - 1 - PYTHON 11

LIST - 1 - PYTHON 11

11th Grade

10 Qs

quiz-placeholder

Similar activities

Bài tập Tin học lớp 4

Bài tập Tin học lớp 4

1st - 12th Grade

10 Qs

Ôn tập - Tin học 12

Ôn tập - Tin học 12

KG - 12th Grade

10 Qs

Test Excel

Test Excel

10th - 12th Grade

9 Qs

CAPÍTULO 1 NETWORKING ESSENTIALS

CAPÍTULO 1 NETWORKING ESSENTIALS

1st - 12th Grade

11 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

PTS DISTRIBUSI LOGISTIK

PTS DISTRIBUSI LOGISTIK

11th Grade

10 Qs

Banco de Dados - Modelo Entidade Relacionamento (ER)

Banco de Dados - Modelo Entidade Relacionamento (ER)

11th Grade

10 Qs

Sistem Komputer - Sistem Bilangan - X RPL

Sistem Komputer - Sistem Bilangan - X RPL

10th - 11th Grade

15 Qs

LIST - 1 - PYTHON 11

LIST - 1 - PYTHON 11

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Nguyễn Hữu Hiền Tài

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp khởi tạo danh sách list là

a = [1, 2, …, N]

<Tên danh sách> = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]

[Tên danh sách] = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]

<Tên danh sách> = (<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh khởi tạo list nào sau đây đúng cú pháp

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

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

<a> = [1, 2, 3, 4, 5]

<a> = [<1>, <2>, <3>, <4>, <5>]

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Đâu là lệnh truy xuất đến phần tử thứ i của list a

a(i)

a{i}

ai

a[i]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

a[1] có giá trị là

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [1,2,3,4,5]

Lệnh len(a) cho giá trị là bao nhiêu?

1

3

4

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

b = ['a','b','c','d','e']

c = a + b

giá trị của c là

1,2,3,4,5,'a','b','c','d','e'

[1,'a',2,'b',3,'c',4,'d',5,'e']

[1,2,3,4,5]['a','b','c','d','e']

[1,2,3,4,5,'a','b','c','d','e']

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = ['PCT', 11, 'TIN']

len(a) cho kết quả là:

8

7

3

9

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?