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

Soal Pilihan Ganda Berpikir Komputasional

Soal Pilihan Ganda Berpikir Komputasional

10th Grade - University

11 Qs

Project Management Fundamentals Quiz

Project Management Fundamentals Quiz

11th Grade

10 Qs

Quizzi bài 29 Tin học 10

Quizzi bài 29 Tin học 10

10th Grade - University

10 Qs

Kiểm tra nhanh lớp 10

Kiểm tra nhanh lớp 10

10th Grade - University

10 Qs

Repaso

Repaso

6th Grade - University

10 Qs

Thực hành một số tính năng của mạng xã hội

Thực hành một số tính năng của mạng xã hội

11th Grade

10 Qs

0- and 1-Pixel Art Activity

0- and 1-Pixel Art Activity

9th - 12th Grade

10 Qs

Quiz Arduino Level 1

Quiz Arduino Level 1

11th Grade

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?