Xâu, mảng trong Python
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Lương Thị Thế Trân THPT Trảng Bàng
Used 18+ times
FREE Resource
Enhance your content in a minute
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
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
44 questions
Design and Analysis of Algorithms
Quiz
•
University
42 questions
App inventor
Quiz
•
7th Grade - University
47 questions
Networking - Practice Test #1
Quiz
•
9th Grade - University
41 questions
L10 - ÔN TẬP KIỂM TRA GIỮA KỲ 1
Quiz
•
10th Grade - University
38 questions
Engenharia de Software - Métodos tradicionais e ágeis
Quiz
•
University
48 questions
Google Docs Icebreaker
Quiz
•
University
40 questions
quiz based on web design
Quiz
•
University
40 questions
Szkolenie cz.1 Podstawy języka SQL
Quiz
•
University
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
