Xâu, mảng trong Python

Quiz
•
Computers
•
University
•
Medium
Lương Thị Thế Trân THPT Trảng Bàng
Used 12+ 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
Similar Resources on Wayground
48 questions
Bài kiểm tra trắc nghiệm số 1

Quiz
•
University
44 questions
TIN HỌC ĐẠI CƯƠNG BÀI 1

Quiz
•
University
38 questions
Chương 9

Quiz
•
University
43 questions
Giao thức an toàn mạng

Quiz
•
University
45 questions
Đề 4_TN_TNC

Quiz
•
University
41 questions
MS Word and Excel Quiz

Quiz
•
University
42 questions
Bài 1: Máy tính và em

Quiz
•
1st Grade - University
43 questions
Nhập môn AI

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University