
Kiểm tra kiến thức Python
Authored by Quốc Lê
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là đúng về xâu kí tự trong Python?
Là dãy các kí tự Unicode
Là dãy các kí tự ASCII
Là một biến do người dùng đặt
Là dãy kí tự của bảng chữ cái
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong các xâu kí tự sau đây, xâu nào là hợp lệ?
″″
′abc
C
ABC″
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu ″Em yêu trường em″ có độ dài bằng bao nhiêu?
13
16
18
15
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh nào để tính số lượng kí tự trong một xâu?
len()
Len()
len
dem()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu? >>> x= ″123456″ >>> x[0] = ″9″
Chương trình lỗi
″923456″
923456
″123459″
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu? >>> S= ″Em yêu trường em″ >>> x1, x2 = ″Em″, ″EM″ >>> print( x2 in S) >>> print( x1 in S)
False, True
′False′, ′True′
false, true
FALSE, TRUE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu? >>> S= ″Em yêu trường em″ >>> x = S[3] + S[4] + S[5] >>> print(x)
′yêu′
′Yêu′
′ yê′
Chương trình 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?
Similar Resources on Wayground
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade