
Python Programming Quiz
Authored by mai trần
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
28 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Hình vuông có cạnh a là 30(cm). Ta có thể dùng Python để viết chương trình tính diện tích hình vuông là:
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Kết quả của đoạn chương trình sau: i = 1 while i <= 0: if i % 2 == 0: print(i) i = i + 1
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Hãy cho biết giá trị của biến y sau khi thực hiện 2 lệnh sau: x = 'Hello World' y = x[3:8]
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để tìm kiếm một xâu kí tự trong một xâu kí tự khác trong Python?
Sử dụng hàm find()
Sử dụng hàm index()
Sử dụng hàm search()
Sử dụng hàm locate()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào để lấy độ dài của một xâu kí tự trong Python?
Sử dụng hàm len()
Sử dụng hàm size()
Sử dụng hàm length()
Sử dụng hàm count()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào sau đây là cách hợp lệ để bắt đầu định nghĩa hàm trong Python?
def tên_hàm()
function tên_hàm():
def tên_hàm():
function tên_hàm()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm print(a[2]) có ý nghĩa
Xuất vị trí đầu tiên trong danh sách
Xuất vị trí thứ 2 trong danh sách
Xuất vị trí thứ 3 trong danh sách
Xuất vị trí thứ 4 trong danh sách
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
23 questions
TIN HỌC 4. ÔN TẬP HỌC KỲ 2 (LẦN 1)
Quiz
•
4th Grade - University
23 questions
BÀI 8. CÔNG CỤ TÍNH TOÁN
Quiz
•
6th Grade - University
24 questions
ÔN TẬP GK 1
Quiz
•
7th Grade - University
26 questions
Ôn tập HK2
Quiz
•
10th Grade
28 questions
ÔN TẬP TIN 7 - KNTT
Quiz
•
8th Grade - University
28 questions
Câu hỏi về điện mặt trời
Quiz
•
4th Grade - University
28 questions
Ôn Tập Tin Học 7
Quiz
•
8th Grade - University
30 questions
TA4-UNIT 7-LESSON 3 (MCH)
Quiz
•
10th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade