Kiểm tra 15 phút - Lập trình python
Quiz
•
Computers
•
10th Grade
•
Medium
Hothanh Tuan
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Bài 16. Ngôn ngữ lập trình bậc cao và python
Quiz
•
10th Grade
10 questions
TRẮC NGHIỆM PYTHON
Quiz
•
9th - 12th Grade
9 questions
TIN 10_KTTX LẦN 3_15/4/2023
Quiz
•
10th Grade
11 questions
MẠNG MÁY TÍNH VÀ INTERNET
Quiz
•
10th Grade
15 questions
NNLT Python - Biến và câu lệnh gán
Quiz
•
10th Grade
8 questions
TRÒ CHƠI HỎI NHANH ĐÁP GỌN
Quiz
•
10th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
Học mà chơi
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade