Câu hỏi về Python

Câu hỏi về Python

University

20 Qs

quiz-placeholder

Similar activities

Lập trình trực quan

Lập trình trực quan

University

15 Qs

Computación 1ro y 2do básico

Computación 1ro y 2do básico

1st Grade - University

20 Qs

Repaso U1

Repaso U1

University

16 Qs

Memorias y el procesador

Memorias y el procesador

University

18 Qs

quizz tkinter

quizz tkinter

11th Grade - University

20 Qs

Algoritma dan Pemrograman Bab 1

Algoritma dan Pemrograman Bab 1

University

15 Qs

Terminos ITGS x

Terminos ITGS x

8th Grade - University

20 Qs

Partes de una PC

Partes de una PC

7th Grade - University

15 Qs

Câu hỏi về Python

Câu hỏi về Python

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Nga Thanh

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Trong Python, một chuỗi có thể được bao quanh bởi cái gì?

Những dấu ngoặc kép ("...")

Những dấu ngoặc đơn ('...')

Cả dấu ngoặc đơn và dấu ngoặc kép

Các dấu ngoặc vuông ([...])

2.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Trong Python, chỉ số đầu tiên của một ký tự trong chuỗi là gì?

1

0

-1

2

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Hàm nào trong Python được sử dụng để đếm số ký tự trong một chuỗi, bao gồm cả khoảng trắng?

count()

len()

length()

size()

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Kết quả của len("Python") là gì?

5

6

7

8

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Trong Python, toán tử nào được sử dụng để nối hai chuỗi?

-

*

/

+

6.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Biểu thức "Hello" + "World" trong Python sẽ cho kết quả gì?

"Hello" "World"

"HelloWorld"

"Hello+World"

Lỗi chương trình

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Hàm nào được sử dụng để đếm số lần xuất hiện của một chuỗi con trong một chuỗi khác?

find()

count()

replace()

len()

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