
kiểm tra cuối kì đề 2
Authored by Phan 2
Computers
9th - 12th Grade
Used 3+ times

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
3986443
8644
39864
443
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?