
Kiểu dữ liệu danh sách - Xâu kí tự
Authored by Kiều Nguyễn
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh xóa một phần tử của danh sách A có chỉ số i là:
list.Del(i)
A.Del(i)
Del A[i]
A.Del[i]
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
(a) trong một danh sách được bắt đầu từ 0.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh để thêm một phần tử vào danh sách A là:
A.append(element)
add(A, element)
A.addElement(element)
append(A, element)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh nào được sử dụng để tính độ dài của một danh sách?
size(A)
length(A)
len(A)
count(A)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = "Đảng CS Việt Nam". Hãy cho biết độ dài của xâu s?
13
14
15
16
6.
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ự
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu?
name="codename"
print(name[0])
"C"
"o"
"c"
Chương trình bị lỗi
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?