
Tổ chức dạy học
Authored by Linh Nguyễn
Education
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Cách kiểm tra xâu con và tìm kiếm vị trí xâu con trong xâu kí tự là gì?
Dùng toán tử in
Dùng lệnh find()
Dùng toán tử in và lệnh find()
Dùng toán tử on
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền đáp án đúng vào chỗ chấm (…) hoàn thành phát biểu đúng sau:
“Python có các … để xử lí xâu là … dùng để tách câu thành một danh sách và lệnh join() dùng để … các xâu thành một xâu”
câu lệnh, split(), nối
câu lệnh đặc biệt, split(), tách xâu
câu lệnh đặc biệt, copy(), nối danh sách
câu lệnh đặc biệt, split(), nối danh sách
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức logic sau là đúng hay sai
“000” in “0011100”
Đúng
Sai
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
“ab – cd – ef – gh”.find(“cd”)
5
2
3
4
5.
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’.
6.
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()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là đúng khi nói về các phương thức trong python?
Python có một lệnh đặc biệt dành riêng cho xâu kí tự
Cú pháp của lệnh find là: <xâu mẹ>. Find(<xâu con>)
Lệnh find sẽ tìm vị trí đầu tiên của xâu con trong xâu mẹ
Câu lệnh find có một cú pháp duy nhất
Access all questions and much more by creating a free account
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
15 questions
Wawasan Kebangsaan
Quiz
•
1st Grade - Professio...
10 questions
Pop Quiz Mechanical - Battle of the Brains (Matematik & Sains)
Quiz
•
University
10 questions
Deklarasi Benturan Kepentingan KMK 475 2023
Quiz
•
University
10 questions
Đoàn thanh niên 26/3
Quiz
•
University
10 questions
Thông cáo báo chí
Quiz
•
University
10 questions
Công dân với các quyền tự do cơ bản
Quiz
•
1st Grade - University
15 questions
Ôn tập thao tác Tinkdercad
Quiz
•
10th Grade - University
15 questions
Kiểm tra bài cũ
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Education
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University