Kiểm tra kiến thức Python

Kiểm tra kiến thức Python

Professional Development

10 Qs

quiz-placeholder

Similar activities

Repaso Matemática

Repaso Matemática

Professional Development

10 Qs

Penalaran Induktif

Penalaran Induktif

Professional Development

10 Qs

LUYỆN TẬP GIỚI HẠN HÀM SỐ

LUYỆN TẬP GIỚI HẠN HÀM SỐ

Professional Development

13 Qs

TCAP Mania.Week 1 (3.18.2024)

TCAP Mania.Week 1 (3.18.2024)

Professional Development

10 Qs

Fonctions affines

Fonctions affines

9th Grade - Professional Development

10 Qs

mathematique

mathematique

Professional Development

11 Qs

Operaciones con Decimales 02

Operaciones con Decimales 02

Professional Development

10 Qs

Números Complejos I

Números Complejos I

7th Grade - Professional Development

10 Qs

Kiểm tra kiến thức Python

Kiểm tra kiến thức Python

Assessment

Quiz

Mathematics

Professional Development

Practice Problem

Hard

Created by

Hoàng Lê

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, kiểu dữ liệu trong danh sách được khởi tạo là:

=[v1, v2,., vn]

=(v1, v2,., vn)

={v1, v2,., vn}

=[v1; v2;.; vn]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho danh sách A=[2,"máy tính",5,8]. Lệnh A[1] cho kết quả là

2

"máy tính"

5

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho danh sách A = [1, 2, 3, 4, 5]. Độ dài của danh sách là:

1

6

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh A.remove(x) dùng để

xoá phần tử x ở cuối danh sách A

chèn phần tử x từ danh sách A

xoá phần tử x từ danh sách A

xoá phần tử x ở đầu danh sách A

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để kiểm tra 1 giá trị có nằm trong danh sách không ta dùng lệnh

<giá trị>:<danh sách>

<giá trị>.<danh sách>

Giá trị in danh sách

<giá trị> in <danh sách>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

clear()

append()

pop()

remove()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn thêm phần tử x vào cuối danh sách L thì sử dụng lệnh nào sau đây?

L.clear()

L.append(x)

L.insert(k,x)

L.remove(x)

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?