KIỂU XÂU - PYTHON

Quiz
•
Computers
•
10th Grade
•
Hard
Minh Đỗ
Used 13+ times
FREE Resource
11 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho xâu s = 'Hello everybody'
print(x[2:5])
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x1 = 'tin'
x2 = 'học'
print(x2+x1)
tin học
tinhọc
học tin
họctin
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = 'thời khóa biểu'
print(y.count('i',4)
1
2
3
0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = 'thời khóa biểu'
print(s.find('i'))
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s1 = ' có phải em mùa thu Hà Nội'
s2 = 'là'
print(s1.replace('em','là'))
có phải em là mùa thu Hà Nội
báo lỗi
có phải là mùa thu Hà Nội
có phải là em mùa thu Hà Nội
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
chỉ số của các ký tự trong xâu được đánh bắt đầu từ
0
1
2
Không có chỉ số
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python chấp nhận dấu nháy đơn ('), dấu nháy kép (") để biểu thị chuỗi. Cú pháp Python nào sau đây KHÔNG được chấp nhận?
print('Hello World')
print("Hello World")
print('Hello World")
print(""'Hello World'"")
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Bài 25 tin 10

Quiz
•
9th Grade - University
15 questions
Ôn tập HK2 Python 10

Quiz
•
10th Grade
10 questions
ONG LẤY MẬT

Quiz
•
9th - 12th Grade
10 questions
XÂU KÍ TỰ

Quiz
•
9th - 12th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
16 questions
Python Basics

Quiz
•
KG - University
10 questions
Trac nghiem Bai 24 Xau ky tu

Quiz
•
10th Grade
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự

Quiz
•
9th - 12th 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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade