Xâu, mảng trong Python
Quiz
•
Computers
•
University
•
Medium
Lương Thị Thế Trân THPT Trảng Bàng
Used 13+ times
FREE Resource
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st='abc'. S[0] = ?
a
b
c
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh y.find(x) thực hiện:
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.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st='abc'. Hàm len(st) có giá trị là:
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm y.count(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.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
pop()
insert()
sort()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:
a[1]
a[0]
a0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
0
1
2
3
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
40 questions
TypeScript_Ver3
Quiz
•
University
46 questions
BAI ON KHOI 5
Quiz
•
1st Grade - University
46 questions
TIN HOC LƠP 4 HK1
Quiz
•
1st Grade - University
44 questions
Data Structures Quiz
Quiz
•
University
43 questions
Ôn Tập Kiểm Tra KHTN 7
Quiz
•
1st Grade - University
40 questions
PSTS KELAS 11 SMT GANJIL 2025
Quiz
•
10th Grade - University
45 questions
Technology
Quiz
•
University
40 questions
soal susulan-infor
Quiz
•
2nd Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
