Câu hỏi về hàm trong Python

Câu hỏi về hàm trong Python

7th Grade

20 Qs

quiz-placeholder

Similar activities

the future simple

the future simple

1st - 9th Grade

23 Qs

Test Unit 20 English 4

Test Unit 20 English 4

4th - 12th Grade

20 Qs

BÀI KIỂM TRA NGÀY 20/4/2020

BÀI KIỂM TRA NGÀY 20/4/2020

7th Grade

20 Qs

Test

Test

4th - 10th Grade

20 Qs

PHÂN LOẠI TỪ THEO NGHĨA

PHÂN LOẠI TỪ THEO NGHĨA

5th - 12th Grade

20 Qs

toán lớp 5

toán lớp 5

3rd - 12th Grade

21 Qs

hey!!

hey!!

KG - Professional Development

20 Qs

E7.Practice4Test3 (U6-7)

E7.Practice4Test3 (U6-7)

7th Grade

20 Qs

Câu hỏi về hàm trong Python

Câu hỏi về hàm trong Python

Assessment

Quiz

English

7th Grade

Practice Problem

Medium

Created by

phuong luong

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

30 sec • 1 pt

Hàm nào dưới đây được sử dụng để lấy độ dài của một danh sách trong Python?

size()

count()

length()

len()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để chuyển một chuỗi thành chữ thường?

upper()

tolower()

lower()

downcase()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm max([2, 5, 8, 1]) trả về giá trị nào?

1

2

8

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm round(4.567, 2) sẽ trả về giá trị nào?

4.56

4.57

4.6

5.0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để xóa khoảng trắng đầu và cuối của chuỗi?

strip()

trim()

remove_space()

rstrip()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm abs(-10) trả về kết quả nào?

-10

10

0

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm sorted([3, 1, 4, 1, 5]) trả về kết quả nào?

[3, 1, 4, 1, 5]

[1, 1, 3, 4, 5]

[5, 4, 3, 1, 1]

None

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?