
Xâu kí tự
Authored by Ánh Trần
Computers
1st Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Cho xâu s="Bài tập"
print(s[2])
Sau khi thực hiện lệnh in cho kết quả?
'a'
'i'
' '
't'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Để đưa ra độ dài của xâu cần dùng hàm nào?
remove()
append()
len()
clear()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: cho đoạn chương trình:
s="abcdcd"
s[0]="A"
print(s[0])
Sau khi thực hiện đoạn chương trình trên kết quả của s[0] là:
'a'
'A'
'b'
chương trình bị lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4: Chương trình dưới đây thực hiện bài toán nào?
s=""
for i in range(10):
s=s+str[i]
print(s)
In một chuỗi kí tự từ 0 tới 10.
In một chuỗi kí tự từ 0 tới 9.
In một chuỗi kí tự từ 1 tới 10.
In một chuỗi kí tự từ 1 đến 9.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Để nhập vào một xâu từ bàn phím chọn lệnh?
<tên xâu>=input("nhập xâu")
<tên xâu>=int(input("nhập xâu"))
<tên xâu>=float(input("nhập xâu"))
<tên xâu>=print("nhập xâu")
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
10 questions
Công nghệ 3
Quiz
•
1st Grade
10 questions
Tin học 3 - Công Dân số & Quyền Công Dân Số
Quiz
•
1st - 5th Grade
7 questions
Ai nhanh hơn?
Quiz
•
1st - 5th Grade
10 questions
OnTap_LV4_B3
Quiz
•
1st - 2nd Grade
10 questions
DANGHUE
Quiz
•
1st - 5th Grade
10 questions
Tạo bài trình chiếu
Quiz
•
1st Grade
8 questions
Tin 4
Quiz
•
1st - 5th Grade
10 questions
Trắc nghiệm bài 10+11 (Tin 11)
Quiz
•
1st Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade