KIỂM TRA KIỂM XÂU - PYTHON
Quiz
•
Science
•
10th Grade
•
Practice Problem
•
Medium
Trieu Tham
Used 9+ times
FREE Resource
Enhance your content in a minute
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
7 questions
Củng cố chương 4 "Kinh tế chính trị"
Quiz
•
1st - 12th Grade
10 questions
Khoa hoc lớp 5
Quiz
•
10th - 11th Grade
10 questions
RUNG CHUÔNG VÀNG- THPT LƯƠNG SƠN 2021
Quiz
•
9th - 12th Grade
13 questions
Ktra TX - lan1 - Tin10
Quiz
•
10th Grade
10 questions
DAHUA FULL COLOR & TiOC
Quiz
•
1st Grade - Professio...
10 questions
Kiểm tra Tin học 5 Tuần 22
Quiz
•
9th - 12th Grade
10 questions
TRẢI NGHIỆM HƯỚNG NGHIỆP LỚP 10
Quiz
•
10th Grade
12 questions
LÝ THUYẾT GKII 9
Quiz
•
9th - 12th 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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
10 questions
Exploring the Ring of Fire: Volcanoes and Earthquakes
Interactive video
•
6th - 10th Grade
38 questions
Water Cycle and Groundwater
Quiz
•
9th - 12th Grade
10 questions
Exploring Spring and Neap Tides
Interactive video
•
6th - 10th Grade
12 questions
Cell Organelles and Their Functions
Lesson
•
9th - 12th Grade
22 questions
Earth's Spheres and Interactions Quiz Reveiw
Quiz
•
8th - 10th Grade
16 questions
Air Masses & Fronts
Lesson
•
8th - 10th Grade
