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
DE 2 - ACCESS

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

Quiz
•
10th Grade
10 questions
BAI 24_LOP10_BAITAP

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

Quiz
•
10th Grade
10 questions
Kiến thức về xâu kí tự trong Python

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

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade