
KIỂM TRA KIỂM XÂU - PYTHON
Authored by Trieu Tham
Science
10th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Xâu kí tự được đặt trong cặp dấu:
Nháy đơn (‘’) hoặc nháy kép (“”)
Ngoặc đơn ()
Ngoặc vuông []
Ngoặc nhọn {}
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Hàm len() cho biết:
Độ dài (hay số kí tự) của xâu.
Chuyển xâu ban đầu thành kí tự in hoa.
Vị trí của kí tự đầu tiên trong xâu.
Vị trí của kí tự bất kì trong xâu.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho xâu st=’abc’. Hàm len(st) có giá trị là:
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho đoạn chương trình sau:
s1=’a’
s2=’b’
print(s1+s2)
Kết quả trên màn hình là:
‘a’
‘b’
‘ab’
‘ba’
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Hàm y.cout(x) cho biết:
Vị trí xuất hiện đầu tiên của x trong y.
Vị trí xuất hiện cuối cùng của x trong y.
Cho biết số kí tự của xâu x+y
Đếm số lần xuất hiện không giao nhau của x trong y.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho đoạn chương trình sau:
S1=’abcd’
S2=’a’
print(S1.cout(S2))
Trên màn hình sẽ xuất hiện giá trị là:
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
0
1
2
3
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
15 questions
General knowledge quiz
Quiz
•
10th - 12th Grade
10 questions
Tính chất đất trồng
Quiz
•
10th - 12th Grade
10 questions
Nước cần cho sự sống
Quiz
•
10th Grade
15 questions
LUYỆN TẬP - CẤU TẠO NGUYÊN TỬ -1
Quiz
•
10th - 12th Grade
10 questions
Test_Bai14_HeSTVB
Quiz
•
10th Grade
10 questions
BaiThucHanhKieuDanhSach-Python
Quiz
•
10th Grade
10 questions
Môi trường và con người
Quiz
•
1st Grade - University
10 questions
Bài tập củng cố kiến thức
Quiz
•
10th 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 Science
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
10 questions
Exploring Mendelian Genetics and Punnett Squares
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
35 questions
DNA Structure and Replication
Quiz
•
10th Grade
10 questions
Distinguishing Natural Hazards from Disasters
Interactive video
•
6th - 10th Grade
89 questions
Unit 1 (Ch 2 & 3) Test Review - Water/Ocean Currents
Quiz
•
9th - 12th Grade
48 questions
Review for Homeostasis & Interacting Systems Test
Quiz
•
9th - 12th Grade
10 questions
Exploring Protein Synthesis: Transcription and Translation
Interactive video
•
10th Grade