
lấy 10d tin học cúi kì II
Authored by Phúc Bảo
Chemistry
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
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong python, đâu là lệnh xóa phần tử đầu tiên trong danh sách A?
del (A[0])
delete (A[0])
A.clear()
del (A[len(A)])
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình cho kết quả gì? a = [1,2,3,4,5] a.append(9) del(a[3]) print(a)
. [1,2,3,5,9]
[1,2,4,5,9]
. [1,2,3,4,9]
[1,2,3,4,5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn chương trình cho kết quả gì? a = [1,2,3,4,5] a.append(''lop 10'') print(a)
[1,2,3,4,5, “lop 10”]
[lop 10,1,2,3,4,5]
[1,2,3,4,5]+[ “lop 10”]
[1,2,3,lop 10,4,5]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết kết quả của đoạn lệnh sau: >>> A = [1,2,3,4,5] >>> for i in range (len(A)): print (A[i], end = '' '')
1,2,3,4,5
1'' ''2'' ''3'' ''4'' ''5
lỗi
1 2 3 4 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em hãy cho biết kết quả sau khi thực hiện các lệnh sau: m =2 while m < 10: print(m,end= '' '') m = m + 2
0 2 4 6 8 10
3 5 7 9
2 4 6 8 10
2 4 6 8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì? >> “abcdabcd”. find(“cd”) >> “abcdabcd”. find(“cd”, 4)
2,6
2,2
3,3
2,7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo biến x là kiểu xâu, ta khai báo như thế nào là đúng nhất:
x=string(input(‘mời nhập’))
x=float(input(’mời nhập’))
x=input(‘mời nhập’)
x=int(input(’mời nhập’))
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?