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
Similar Resources on Wayground
10 questions
Học mà chơi

Quiz
•
10th - 12th Grade
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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade