Search Header Logo

kiểm tra cuối kì đề 2

Authored by Phan 2

Computers

9th - 12th Grade

Used 3+ times

kiểm tra cuối kì đề 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phát biểu nào sau đây là sai?

Có thể truy cập từng kí tự của xâu thông qua chỉ số.

Chỉ số bắt đầu từ 0.

Có thể thay đổi từng kí tự của một xâu.

Python không có kiểu dữ liệu kí tự.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

3986443

 8644

39864

 443

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết độ dài của xâu s ta dùng hàm:

str(s)

len(s)

length(s)

s.len()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu s = “THPT Cat Tien”; Chữ C nằm ở vị trí có chỉ số bao nhiêu ?

4

5

6

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho 2 xâu: S1 = “bac” ; S2= “bca” ; xâu nào là xâu lớn hơn?

S1

S2

S1=S2

Không xác định được

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu s1=’ab’, xâu s2=’a’ với cú pháp: s2 in s1 cho kết quả là:

true

True

False

false

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?