Câu hỏi về Cấu trúc Dữ liệu trong Python

Câu hỏi về Cấu trúc Dữ liệu trong Python

11th Grade

20 Qs

quiz-placeholder

Similar activities

Generations of Programming Languages

Generations of Programming Languages

11th Grade

15 Qs

Bài 2 - Nhóm 4

Bài 2 - Nhóm 4

11th Grade

18 Qs

Uji Pemahaman C++ dan Google Colab

Uji Pemahaman C++ dan Google Colab

10th Grade - University

20 Qs

Diagnostico Grado Sexto

Diagnostico Grado Sexto

6th Grade - University

18 Qs

Tin 11 Bài 10 KNTT

Tin 11 Bài 10 KNTT

11th Grade - University

20 Qs

Test wiedzy: Tablice jednowymiarowe w C++

Test wiedzy: Tablice jednowymiarowe w C++

10th Grade - University

15 Qs

ÔN TẬP CRV1

ÔN TẬP CRV1

6th Grade - University

22 Qs

Вопросы по Arduino

Вопросы по Arduino

9th Grade - University

15 Qs

Câu hỏi về Cấu trúc Dữ liệu trong Python

Câu hỏi về Cấu trúc Dữ liệu trong Python

Assessment

Quiz

Information Technology (IT)

11th Grade

Practice Problem

Easy

Created by

Yen Tran

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cấu trúc dữ liệu mảng một chiều trong Python được biểu diễn bằng kiểu dữ liệu nào?

Tuple

Set

List

Dictionary

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Lệnh nào sau đây kiểm tra xem giá trị 7 có tồn tại trong mảng A = [1, 3, 5, 7, 9]?

7 in A

A.has(7)

A.contains(7)

A.search(7)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để tính tổng các phần tử của một danh sách trong Python, ta sử dụng hàm nào?

sum()

max()

min()

avg()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cho danh sách A = [1, 2, 3, 4, 5]. Kết quả của lệnh print(A[-1]) là gì?

1

3

5

Lỗi

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong Python, các phần tử của mảng cách nhau bởi dấu

dấu chấm (.)

dấu phẩy (,)

dấu cách ( )

dấu trừ (-)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong Python, chỉ số của mảng bắt đầu từ số?

0

1

2

3

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Trong Python, để bổ sung phần tử có giá trị bằng m vào cuối mảng A, ta dùng lệnh nào?

A.insert(m)

m.insert(A)

A.append(m)

m.append(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

Already have an account?