
Kiểm tra bài cũ

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
chuyen le
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng...?
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Để khởi tạo 1 xâu rỗng S ta viết như thế nào?
A. S= ''
B. S= 0
C. S= ""
D. S = [0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3; Để thay thế kí tự ‘a’ trong xâu s bằng một xâu mới rỗng ta dùng lệnh:
A. s=s.replace(‘a’,’’)
B. s=s.replace(‘a’)
C. s=replace(a,’’)
D. s=s.replace()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Cho xâu s1=’ab’, xâu s2=’a’ với cú pháp: s2 in s1 cho kết quả là:
A. true
B. True
C. False
D. false
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Định nghĩa hàm có cú pháp như sau:
A. def <tên hàm>([danh sách tham số]) :
[return <dãy giá trị trả về>]
B. def<tên hàm>([ ([danh sách tham số]) :
[<dãy các lệnh>]
C. def <tên hàm>([danh sách tham số]) :
[<dãy các lệnh>]
[return <dãy giá trị trả về>]
D. def <tên hàm> :
[<dãy các lệnh>]
[return <dãy giá trị trả về>]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Dòng đầu tiên của định nghĩa hàm là:
A. Khai báo biến.
B. Khai báo hằng.
C. Nhập dữ liệu.
D. Tên hàm và tham số hình thức.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7: Phương thức nào trong Python dùng để cắt xâu thành một danh sách các chuỗi con?
A. split ()
B. join ()
C. count ()
D. replace ()
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
BAI 24_LỚP 10

Quiz
•
10th Grade
10 questions
BAI 25_10_BAITAP

Quiz
•
10th Grade
10 questions
Xâu_danhsach

Quiz
•
11th Grade
5 questions
TRÒ CHƠI KHỞI ĐỘNG

Quiz
•
11th Grade
10 questions
Câu hỏi kiến thức bài 9_rẻ nhánh

Quiz
•
KG - 12th Grade
10 questions
Đề 1

Quiz
•
9th - 12th Grade
6 questions
tin học

Quiz
•
10th Grade
10 questions
KIỂU DỮ LIỆU CÓ CẤU TRÚC

Quiz
•
11th Grade - 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade