
Khởi động - Xâu
Authored by Vũ Dung
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Cho xau1="Hà Nội", xau2="-", xau3="Việt Nam". Em hãy cho biết xau=xau3+xau2+xau1 thì xau có kết quả là:
Hà Nội - Việt Nam
Việt Nam - Hà Nội
Việt Nam-Hà Nội
Hà Nội-Việt Nam
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu 2: Cho xâu s="Loong Toong". Câu lệnh print(s.count("O")) cho kết quả là gì?
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu 3: Cho xâu s="Loong Toong". Câu lệnh print(s.count("n")) cho kết quả là gì?
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu 4: Cho xâu s="Loong Toong". Câu lệnh print(s.count("o",2) cho kết quả là gì?
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu 5: Cho xâu s="Loong Toong". Câu lệnh print(s[2:6]) cho kết quả là gì?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Cho xâu S="Quang Ninh". Khi đó print(s.find("n")) cho kết quả 4 là đúng (True) hay sai (False) ?
True
False
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu 7: Cho xâu S="aaoBoom23". Khi đó print(s.replace("oo",”ô”)) cho kết quả là gì?
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?