
Bài 24: Xâu kí tự
Quiz
•
Science
•
10th Grade
•
Practice Problem
•
Easy
dong bui
Used 1+ times
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu "1234%^^%TFRESDRG" có độ dài bằng bao nhiêu?
16
17
18
15
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện lệnh sau, biến s2 sẽ có kết quả là: s1 ="3986443" s2 = "" for ch in s1: if int(ch) % 2 == 0: s2 = s2 + ch print(s2)
A. 3986443.
B. 8644.
C. 39864.
D. 443.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau nếu s = "python1221" là gì? s = input("Nhập xâu kí tự bất kì:") kq = False for i in range(len(s)-1): if s[i] == "2" and s[i+1] == "1": kq = True break print(kq)
A. True.
B. False.
C. Chương trình bị lỗi.
D. Vòng lặp vô hạn.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu? name = "Codelearn" print(name[0])
A. “C”.
B. “o”.
C. “c”.
D. Câu lệnh bị lỗi.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu? >>> s = "0123145" >>> s[0] = '8' >>> print(s[0])
A. ‘8’.
B. ‘0’.
C. ‘1’.
D. Chương trình bị lỗi.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu? >>> s = "abcdefg" >>> print(s[2])
A. ‘c’.
B. ‘b’.
C. ‘a’.
D. ‘d’
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình trên giải quyết bài toán gì? s = "" for i in range(10): s = s + str(i) print(s)
A. In một chuỗi kí tự từ 0 tới 10.
B. In một chuỗi kí tự từ 0 tới 9.
C. In một chuỗi kí tự từ 1 tới 10.
D. In một chuỗi kí tự từ 1 đến 9.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Weathering, Erosion, & Deposition
Quiz
•
9th - 12th Grade
30 questions
Đề ôn Chương 1: Cấu tạo nguyên tử - Đề 1
Quiz
•
10th Grade
23 questions
RUNG CHUÔNG VÀNG
Quiz
•
9th - 12th Grade
23 questions
Practice Test FOR PHYSICS
Quiz
•
9th - 12th Grade
25 questions
KIỂM TRA KIẾN THỨC BÀI 33 – KHTN 9
Quiz
•
9th Grade - University
24 questions
Light Dependent and Independent Reactions
Quiz
•
10th - 12th Grade
25 questions
Electromagnetism
Quiz
•
9th - 12th Grade
25 questions
11 - Renewable Resources
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
70 questions
Advanced Biology Semester Review
Quiz
•
9th - 12th Grade
19 questions
ionic vs covalent
Quiz
•
9th - 12th Grade
27 questions
Macromolecules and Cellular Processes Quiz
Quiz
•
10th Grade
20 questions
UNIT 3 CFA
Quiz
•
10th Grade
64 questions
Honors December Holiday Break Assignment 2025
Quiz
•
10th Grade
10 questions
Comparing Light Waves and Sound Waves
Interactive video
•
6th - 10th Grade
10 questions
Claim Evidence Reasoning (CER) Essentials
Interactive video
•
6th - 10th Grade
