Kiểm Tra Kiến Thức Về List Trong Python

Kiểm Tra Kiến Thức Về List Trong Python

11th Grade

6 Qs

quiz-placeholder

Similar activities

CyberSmart Quiz

CyberSmart Quiz

9th - 12th Grade

4 Qs

Gestión de TI

Gestión de TI

11th Grade

11 Qs

Latihan Soal Informatika : Berpikir Komputasional - 2

Latihan Soal Informatika : Berpikir Komputasional - 2

7th Grade - University

10 Qs

Kuis JKI Kelas 8 Pertemuan Ke 2

Kuis JKI Kelas 8 Pertemuan Ke 2

8th Grade - University

10 Qs

STS Konsentrasi Keahlian XI TJAT 2

STS Konsentrasi Keahlian XI TJAT 2

11th Grade

10 Qs

8th Social Media and Modern Communication Assessment

8th Social Media and Modern Communication Assessment

8th Grade - University

10 Qs

Marketing Digital -Exercício Aula 1

Marketing Digital -Exercício Aula 1

11th Grade - University

10 Qs

REVIEW TIME

REVIEW TIME

9th Grade - University

10 Qs

Kiểm Tra Kiến Thức Về List Trong Python

Kiểm Tra Kiến Thức Về List Trong Python

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Hard

Created by

Thoa Kim

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In a Python programming class, the teacher asked his students about how to declare a tuple data type. Student Aiden answered that this data type is declared by:

Parentheses ()

Square brackets []

Curly braces {}

The keyword tuple alone

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [1, 2, 3, 4]. Biểu thức a[0] trả về kết quả nào?

0

1

2

Lỗi

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [5, 10, 15, 20]. Kết quả của len(a) là:

3

4

5

20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây dùng để thêm phần tử 100 vào cuối list a?

a.insert(100)

a.add(100)

a.append(100)

a[100] = end

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho a = [2, 4, 6, 8, 10]. Kết quả của a[1:4] là:

[2, 4, 6]

[4, 6, 8]

[6, 8, 10]

[2, 4, 6, 8]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây xóa phần tử có giá trị 7 trong list a?

a.remove(7)

a.pop(7)

a.delete(7)

del(7)

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?