python-BTxâu

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Quyên Thị
Used 31+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
Kiểu xâu trong Python được viết như thế nào?
2.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Khi thực hiện câu lệnh gán s = ‘Tôi đi học’ thì biến s có độ dài bao nhiêu?
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong Python, cho đoạn chương trình sau:
a="Tháng 3"
k=len(a)
print(k)
cho kết quả là?
6
10
14
7
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong Python, khi muốn tách các từ trong xâu thì ta sử dụng hàm nào sau đây?
len()
find()
join()
split()
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a="Tháng"
b=" Thanh Niên"
m=a+b
print(m)
Giá trị biến m là?
''Tháng Thanh Niên''
Tháng Thanh Niên
3
12
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh sau trả lại giá trị gì?
>>> s = "0123456789"
>>> s.find("abc")
0
-1
1
Báo lỗi
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Kiến thức về xâu kí tự trong Python

Quiz
•
10th Grade - University
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
10 questions
BAI 24_LOP10_BAITAP

Quiz
•
10th Grade
10 questions
Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
10 questions
ÔN TẬP KIẾN THỨC XÂU KÍ TỰ

Quiz
•
9th - 12th Grade
10 questions
DE 2 - ACCESS

Quiz
•
9th - 12th Grade
5 questions
Tin 10_CĐ5_Bài 24. Xâu kí tự

Quiz
•
10th Grade
10 questions
Bài 16. Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade