Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

Quiz
•
Computers
•
10th Grade
•
Medium
Trịnh CT)
Used 15+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, một xâu kí tự có thể được đặt trong cặp dấu nào?
Nháy kép (“…”)
Nháy đơn (‘…’)
Cả nháy đơn và nháy kép
Dấu ngoặc vuông ([…])
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, chỉ số đầu tiên của một kí tự trong xâu bắt đầu từ số nào?
1
0
-1
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trong Python dùng để đếm số kí tự trong một xâu, bao gồm cả dấu cách?
count()
len()
length()
size()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của len("Python") là bao nhiêu?
5
6
7
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, phép toán nào được sử dụng để ghép hai xâu kí tự?
-
*
/
+
6.
MULTIPLE CHOICE QUESTION
30 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
30 sec • 1 pt
Hàm nào dùng để đếm số lần xuất hiện của một xâu con trong một xâu khác?
find()
count()
replace()
len()
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
ÔN TẬP GK2 TIN10

Quiz
•
10th Grade
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
20 questions
Ôn tập Microsoft Word

Quiz
•
10th Grade
24 questions
tin học

Quiz
•
10th Grade - University
20 questions
BÀI 6 ĐỊNH DẠNG TRANG TÍNH

Quiz
•
1st - 12th Grade
19 questions
BÀI TẬP HĐH

Quiz
•
10th Grade
20 questions
Tin 10 - Tệp và thư mục

Quiz
•
10th Grade
22 questions
Tin học - Bài 25

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade