Câu hỏi kiến thức về sorted(), reverse, reversed(), enumerate()

Câu hỏi kiến thức về sorted(), reverse, reversed(), enumerate()

Professional Development

10 Qs

quiz-placeholder

Similar activities

Bài 7 thời tiết

Bài 7 thời tiết

Professional Development

10 Qs

Bài tập về nhà Buổi 1

Bài tập về nhà Buổi 1

Professional Development

10 Qs

Candidates Exam – Node.js + Vue.js

Candidates Exam – Node.js + Vue.js

Professional Development

10 Qs

David Ramírez

David Ramírez

Professional Development

10 Qs

Modelos de Comunicación de Red

Modelos de Comunicación de Red

Professional Development

6 Qs

lòng biết ơn

lòng biết ơn

Professional Development

11 Qs

AN TOÀN LAO ĐỘNG 1

AN TOÀN LAO ĐỘNG 1

Professional Development

10 Qs

TRUY TÌM CHIẾN THẦN INTEGRITY

TRUY TÌM CHIẾN THẦN INTEGRITY

Professional Development

14 Qs

Câu hỏi kiến thức về sorted(), reverse, reversed(), enumerate()

Câu hỏi kiến thức về sorted(), reverse, reversed(), enumerate()

Assessment

Quiz

Instructional Technology

Professional Development

Easy

Created by

Anh Nguyễn

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

Hàm sorted() trong Python có chức năng gì?

sắp xếp

hiển thị

đảo ngược

xáo trộn

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm reversed() có chức năng nào sau đây?

xóa 1 phần

đảo ngược

hiển thị

sắp xếp

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm sorted() có thể sắp xếp các phần tử trong một ...

list

tuple

set

Cả 3 phương án trên

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm reversed() có thể sắp xếp các phần tử trong một ...

list

Cả 3 phương án trên

tuple

set

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tham số reverse hay hàm reversed() được mặc định là ...

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu hỏi về tham số key trong hàm sorted():

Nếu bạn có một hàm đặc biệt và cần chạy hàm này với mỗi phần tử của đối tượng truyền vào hàm sorted(), bạn có thể truyền vào tham số key, và sorted sẽ sắp xếp các phần tử dựa trên kết quả trả về của hàm đó.

Đúng hay sai?

Đúng

Sai

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm sorted() thì hàm sort() có chức năng gần như tương tự. Đúng hay sai?

Đúng

Sai

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?