
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
Tiết 51: Ôn tập GK2 - Tin học 9
Quiz
•
1st Grade
10 questions
Hoạt động khởi động
Quiz
•
1st - 5th Grade
10 questions
Python List Quiz
Quiz
•
1st Grade
10 questions
Tin học 3 - Bài 5 Hệ điều hành
Quiz
•
1st - 5th Grade
10 questions
Bài tập Logo
Quiz
•
1st - 12th Grade
10 questions
Tin 12 - Bài 2
Quiz
•
1st Grade
10 questions
Định dạng kí tự
Quiz
•
1st Grade - University
10 questions
ĐÁNH GIÁ TẬP HUẤN SGK TIN HỌC 4
Quiz
•
1st Grade
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
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
12 questions
Telling Time to the Hour and Half Hour
Quiz
•
1st - 3rd Grade
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
16 questions
Measurement
Quiz
•
1st Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade