Xâu, mảng trong Python

Xâu, mảng trong Python

University

43 Qs

quiz-placeholder

Similar activities

UAS Ceritanya

UAS Ceritanya

University

40 Qs

Technical MCQ

Technical MCQ

University

45 Qs

Chủ đề 1

Chủ đề 1

4th Grade - University

38 Qs

AH&DTDM

AH&DTDM

University

40 Qs

Data Structures Quiz

Data Structures Quiz

University

44 Qs

Ôn Tập Kiểm Tra KHTN 7

Ôn Tập Kiểm Tra KHTN 7

1st Grade - University

43 Qs

C++ Internal Assessment

C++ Internal Assessment

University

40 Qs

PSTS KELAS 11 SMT GANJIL 2025

PSTS KELAS 11 SMT GANJIL 2025

10th Grade - University

40 Qs

Xâu, mảng trong Python

Xâu, mảng trong Python

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Lương Thị Thế Trân THPT Trảng Bàng

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers