
Kiểm tra 15 phút - Lập trình python
Authored by Hothanh Tuan
Computers
10th Grade
Used 2+ times

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
Trong Python, để in ra màn hình dòng chữ 'Hello World!', ta sử dụng lệnh nào?
print('Hello')
show('Hello World!')
display('Hello World!')
print('Hello World!')
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo một biến có giá trị là 5, ta sử dụng cú pháp nào?
variable_name = 5
variable_name: 5
5 = variable_name
variable_name == 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để lấy độ dài của một chuỗi 'Hello', ta sử dụng hàm nào?
len()
count()
size()
length()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để kiểm tra xem một số có phải là số nguyên tố hay không, ta sử dụng hàm nào?
isPrime()
isprime()
check_prime()
is_prime()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để tạo một vòng lặp for chạy từ 0 đến 9, ta sử dụng cú pháp nào?
for i in range(10)
for i in range(0, 10, 1)
for i in range(9)
for i in range(1, 10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để tạo một hàm có tên là 'double' nhận vào một số và trả về số đó nhân đôi, ta sử dụng từ khóa nào?
def
loop
return
function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để kiểm tra xem một phần tử có tồn tại trong một list hay không, ta sử dụng toán tử nào?
on
in
not
for
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
14 questions
Kiểm tra kiến thức tìm kiếm thông tin
Quiz
•
5th Grade - University
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
Podstawy Pythona
Quiz
•
9th - 12th Grade
12 questions
Excel VBA
Quiz
•
10th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
TIN HỌC 10 - BÀI 20
Quiz
•
10th Grade
10 questions
Tin10CĐA Bài2: Sự ưu việt của m.tính và những th.tựu của tin học
Quiz
•
10th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - 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