bài 23. 1 số lệnh làm việc với dữ liệu dsach

bài 23. 1 số lệnh làm việc với dữ liệu dsach

Professional Development

24 Qs

quiz-placeholder

Similar activities

Fundamentos de Computação e Hardware

Fundamentos de Computação e Hardware

Professional Development

20 Qs

Bootcamp Quiz 4-CSS

Bootcamp Quiz 4-CSS

Professional Development

20 Qs

5. SQL DML

5. SQL DML

Professional Development

20 Qs

Cybersecurity Fundamental Questions

Cybersecurity Fundamental Questions

Professional Development

20 Qs

Microsoft Intune - Pre-Assessment

Microsoft Intune - Pre-Assessment

Professional Development

20 Qs

Cyber Security Awareness

Cyber Security Awareness

Professional Development

20 Qs

Networking and Ethernet Quiz

Networking and Ethernet Quiz

Professional Development

20 Qs

Modern AI

Modern AI

Professional Development

20 Qs

bài 23. 1 số lệnh làm việc với dữ liệu dsach

bài 23. 1 số lệnh làm việc với dữ liệu dsach

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Vũ Hân

Used 4+ 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

Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?

append()

pop()

clear()

remove()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn xóa một phần tử từ danh sách ta dùng lệnh gì?

remove()

insert()

append()

clear()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sau khi thực hiện các câu lệnh sau, mảng A như thế nào?

>>> A = [1, 2, 3, 4, 5]

>>> A.remove(2)

>>> print(A)

[1, 2, 3, 4]

[2, 3, 4, 5]

[1, 2, 4, 5]

[1, 3, 4, 5]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phần tử có chỉ số bao nhiêu trong mảng A bị xoá?

>>> A = [10, 20, 3, 30, 20, 30, 20, 6, 3, 2, 8, 9]

>>> A.remove(3)

>>> print(A)

2

3

8

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn xóa phần tử có chỉ số 2 trong danh sách a ta dùng lệnh gì?

del(2)

del a[2]

del a

remove(2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Danh sách A trước và sau lệnh insert() là [1, 3, 5, 0] và [1, 3, 4, 5, 0]. Lệnh đã dùng là lệnh gì?

insert(2, 4)

insert(4, 2)

insert(3, 4)

insert(4, 3)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh gì?

a.[1]

a[0]

a.0

a[]

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?