Kết quả đoạn mã sau là gì?
Xâu 3

Quiz
•
English
•
5th Grade
•
Medium
Edu TSmart
Used 33+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Có y
Không có y
Lỗi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã nào đếm số chữ thường trong chuỗi?
if c.islower(): dem += 1
if c.isupper(): dem += 1
if c.isdigit(): dem += 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã sau là?
A. abc
B. 123
C. abc123
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để kiểm tra chuỗi toàn chữ hoa?
A. isupper()
B. islower()
C. isalpha()
D. isdigit()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn mã sau là?
A. 5
B. 3
C. 6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau thực hiện điều gì?
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để duyệt qua từng ký tự trong chuỗi?
for i in range(len(s)):
for c in s:
Cả hai đều đúng
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
PHÁT ÂM -S/-ES - 12B3

Quiz
•
10th - 12th Grade
25 questions
Bài tập trắc nghiệm Python cơ bản xâu

Quiz
•
5th Grade - University
25 questions
Xâu 4

Quiz
•
5th Grade - University
20 questions
20 CÂU HỎI ÔN TẬP CUỐI KÌ II LẦN 2 ĐVL

Quiz
•
8th Grade - University
20 questions
Ôn tập tin 6

Quiz
•
6th Grade
20 questions
Trắc nghiệm bài 2 Vai trò Tb thông minh

Quiz
•
10th Grade
25 questions
Cụm từ cố định (Collocation) - Break

Quiz
•
12th Grade
20 questions
Game luyện tập tuần 4

Quiz
•
KG - Professional Dev...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade