
Tổ chức dạy học

Quiz
•
Education
•
University
•
Hard
Linh Nguyễn
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Chức năng của hàm COUNTIFS trong Excel

Quiz
•
University
15 questions
Kiểm Tra Định Kỳ Tiếng Việt Lớp 5

Quiz
•
5th Grade - University
15 questions
Test 3 HTML A1

Quiz
•
12th Grade - University
10 questions
Bài 18: Các lệnh vào ra đơn giản

Quiz
•
University
5 questions
4Mi8

Quiz
•
University
5 questions
5KPLT2

Quiz
•
University
15 questions
penggal 1 pengajian am

Quiz
•
University
14 questions
UJI MINDA - PENGHAYATAN ETIKA DAN PERADABAN

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University