
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
Similar Resources on Wayground
20 questions
Ôn Tập Buổi TH2 - CSLT

Quiz
•
University
20 questions
ITSKILL

Quiz
•
University
20 questions
PTTK1

Quiz
•
University
20 questions
Bài 6: Lưu trữ và chia sẻ tệp tin trên Internet

Quiz
•
11th Grade - University
15 questions
Quiz về Ánh Xạ và Khoảng Cách Hamming

Quiz
•
University
15 questions
Chương 3 ( 2)

Quiz
•
University
20 questions
Kỳ thi Chứng chỉ tin học 2022-2023

Quiz
•
University
18 questions
LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University