Kiểu dữ liệu danh sách - Xâu kí tự

Kiểu dữ liệu danh sách - Xâu kí tự

10th Grade

10 Qs

quiz-placeholder

Similar activities

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

procesos y tipos de imágen

procesos y tipos de imágen

10th Grade

14 Qs

Imagen GIMP

Imagen GIMP

9th - 12th Grade

15 Qs

Impresa e siti web

Impresa e siti web

8th - 12th Grade

10 Qs

CLASSROOM

CLASSROOM

10th Grade

10 Qs

Một số khái niệm về lập trình và ngôn ngữ lập trình

Một số khái niệm về lập trình và ngôn ngữ lập trình

KG - 12th Grade

15 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Kiểu dữ liệu danh sách - Xâu kí tự

Kiểu dữ liệu danh sách - Xâu kí tự

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Kiều Nguyễn

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Lệnh xóa một phần tử của danh sách A có chỉ số i là:

list.Del(i)

A.Del(i)

Del A[i]

A.Del[i]

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

........ trong một danh sách được bắt đầu từ 0.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh để thêm một phần tử vào danh sách A là:

A.append(element)

add(A, element)

A.addElement(element)

append(A, element)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, lệnh nào được sử dụng để tính độ dài của một danh sách?

size(A)

length(A)

len(A)

count(A)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu s = "Đảng CS Việt Nam". Hãy cho biết độ dài của xâu s?

13

14

15

16

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phát biểu nào sau đây là sai?

Có thể truy cập từng kí tự của xâu thông qua chỉ số

Chỉ số bắt đầu từ 0

Có thể thay đổi từng kí tự của một xâu

Python không có kiểu dữ liệu kí tự

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chương trình sau cho kết quả là bao nhiêu?

name="codename"

print(name[0])

"C"

"o"

"c"

Chương trình bị lỗi

Create a free account and access millions of resources

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?