Kiểm Tra Môn Tin Học 10

Kiểm Tra Môn Tin Học 10

10th Grade

17 Qs

quiz-placeholder

Similar activities

Software 8

Software 8

9th - 12th Grade

20 Qs

Unit 3 Karel Programming Review 2

Unit 3 Karel Programming Review 2

9th - 12th Grade

15 Qs

Programming Bach

Programming Bach

9th - 12th Grade

14 Qs

Nhận biết và phòng tránh lừa đảo trên Internet

Nhận biết và phòng tránh lừa đảo trên Internet

11th Grade

20 Qs

ÔN TẬP TH4 CK2

ÔN TẬP TH4 CK2

4th Grade - University

16 Qs

Session 08: Array

Session 08: Array

University

16 Qs

Kelas 8 - Halaman 10 (UH Bab 1)

Kelas 8 - Halaman 10 (UH Bab 1)

8th Grade - University

20 Qs

Quiz #2

Quiz #2

University

15 Qs

Kiểm Tra Môn Tin Học 10

Kiểm Tra Môn Tin Học 10

Assessment

Quiz

Information Technology (IT)

10th Grade

Medium

Created by

Lưu Sinh

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị của danh sách lst sau khi thực hiện đoạn code sau là gì? lst = [1, 2, 3] lst.append(4)

[1, 2, 3, 4]

[4, 1, 2, 3]

[1, 2, 3]

[1, 2, 3, [4]]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức insert(index, value) thực hiện điều gì?

Thêm phần tử value vào đầu danh sách

Chèn phần tử value vào vị trí index trong danh sách

Xóa phần tử value khỏi danh sách

Thêm phần tử value vào cuối danh sách

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn code sau in ra kết quả gì? lst = [1, 2, 3] lst.remove(4)

Danh sách vẫn giữ nguyên

Thêm 4 vào danh sách

Gây ra lỗi ValueError

Không có gì xảy ra

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào có thể được dùng để làm rỗng danh sách?

my_list.remove()

my_list.clear()

my_list.insert(0, [])

my_list.append([])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của đoạn code sau là gì? lst = [1, 2, 3, 4] lst.insert(2, [5, 6]) print(lst)

[1, 2, 5, 6, 3, 4]

[1, 2, [5, 6], 3, 4]

[1, 2, 3, 4, 5, 6]

[1, [5, 6], 2, 3, 4]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sẽ tách chuỗi "apple,banana,orange" thành danh sách ['apple', 'banana', 'orange']?

s.split(",")

s.split(" ")

",".split(s)

s.split("")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị của danh sách lst sau khi thực hiện đoạn code? lst = [1, 2, 3, 4, 5] lst.insert(len(lst), 99) print(lst)

[1, 2, 3, 4, 5, 99]

[1, 2, 3, 99, 4, 5]

[99, 1, 2, 3, 4, 5]

[1, 2, 3, 4, 99, 5]

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?