Search Header Logo

ÔN TẬP GIỮA KỲ 2 TIN HỌC 10 (1)

Authored by Nguyễn Hào

Education

Professional Development

Used 3+ times

ÔN TẬP GIỮA KỲ 2 TIN HỌC 10 (1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử A = [2, 4, '5', 'Hà Nội', 'Việt Nam', 9]. Hãy cho biết kết quả của câu lệnh 4 in A là gì?

True

False

true

false

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Kết quả của chương trình sau là bao nhiêu?

>>> s = “abcdefg”

>>> print(s[2])

c

b

a

d

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm nào?

lower()

len()

upper()

srt()

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để chuyển s về xâu kí tự ta dùng hàm gì?

length(s)

len(s)

str(s)

s.len()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Hàm f được khai báo như sau f(a, b, c). Số lượng đối số truyền vào là:

3

2

1

4

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm nào?

lower()

len()

upper()

srt()

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Để tách một xâu thành danh sách các từ ta dùng lệnh nào?

Lệnh join()

Lệnh split()

Lệnh len()

Lệnh find()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?