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
15 questions
Bài 16. Ngôn ngữ lập trình bậc cao và python

Quiz
•
10th Grade
8 questions
TRÒ CHƠI HỎI NHANH ĐÁP GỌN

Quiz
•
10th Grade
15 questions
NNLT Python - Biến và câu lệnh gán

Quiz
•
10th Grade
9 questions
TIN 10_KTTX LẦN 3_15/4/2023

Quiz
•
10th Grade
10 questions
TRẮC NGHIỆM PYTHON

Quiz
•
9th - 12th Grade
15 questions
Ôn tập Python

Quiz
•
9th - 12th Grade
10 questions
Câu hỏi về xâu trong Python

Quiz
•
10th Grade
12 questions
BAI 25_TINHOC

Quiz
•
10th Grade
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

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

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade