
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
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
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Heating / Cooling Matter
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Counting Coins
Quiz
•
1st Grade
10 questions
Identifying Points, Lines, Rays, and Angles
Interactive video
•
1st - 5th Grade
5 questions
Heating and Cooling Pre-Assessment
Quiz
•
1st Grade
20 questions
VOWEL TEAMS: AI and AY
Quiz
•
1st Grade