
B25.1-Tin10

Quiz
•
Instructional Technology
•
12th Grade
•
Hard
TRUC Ng
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm nào sau đây?
lower()
len()
upper()
srt()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để tách xâu
split()
join()
remove()
copy()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào chưa chính xác khi nói về toán tử in?
Biểu thức kiểm tra xâu 1 nằm trong xâu 2 là:
Toán tử in trả về giá trị True nếu xâu 1 nằm trong xâu 2.
Toán tử in trả về giá trị False nếu xâu 1 không nằm trong xâu 2.
Toán tử in là toán tử duy nhất giải quyết được bài toán kiểm tra xâu có nằm trong xâu không.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì? "0123456789".find("012abc")
-1.
0.
1.
Báo lỗi.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = "1, 2, 3, 4, 5". Muốn xoá bỏ kí tự "," và thay thế bằng dấu " " ta sử dụng lần lượt những câu lệnh nào?
remove() và join().
del() và replace().
split() và join().
split() và replace().
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
>> "abcdabcd". find("cd")
>> "abcdabcd". find("cd", 4)
2, 6.
3, 3.
2, 2.
2, 7.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì?
>>> s = "Một năm có bốn mùa"
>>> s.split()
>>> st = "a, b, c, d, e, f, g, h"
>>> st.split()
'Một năm có bốn mùa', ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'].
['Một', 'năm', 'có', 'bốn', 'mùa'], ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'].
'Một năm có bốn mùa', 'abcdefgh'
['Một', 'năm', 'có', 'bốn', 'mùa'], 'abcdefgh'.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
B28.3-Tin10

Quiz
•
12th Grade
10 questions
Test Formatif AC

Quiz
•
12th Grade
10 questions
B24.1-Tin10

Quiz
•
12th Grade
15 questions
Machine Learning Beginner Set - 2

Quiz
•
12th Grade - University
15 questions
วิทยาการคำนวณ ม.3

Quiz
•
12th Grade
7 questions
Ôn tập - Bài 23 Một số lệnh làm việc với kiểu dữ liệu danh sách

Quiz
•
9th - 12th Grade
10 questions
Hoạt động luyện tập

Quiz
•
12th Grade
14 questions
Linux

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade