
Câu hỏi về Python
Quiz
•
Computers
•
University
•
Hard
Nga Thanh
FREE Resource
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()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
MINIGAME CHAPTER 10
Quiz
•
University
20 questions
Câu hỏi về ngôn ngữ lập trình C
Quiz
•
University
20 questions
Câu hỏi về phần mềm Scratch
Quiz
•
11th Grade - University
20 questions
Kiểm tra thường xuyên số 1.1 lớp 12_2024
Quiz
•
12th Grade - University
20 questions
NMLT - Lab 1
Quiz
•
University
20 questions
Bài kiểm tra 15'
Quiz
•
University
20 questions
Sử dụng bảng tính Excel (1-20)
Quiz
•
University
20 questions
Sử dụng MS Excel (81-100)
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University