
Kiểm tra kiến thức Python
Authored by Nguyễn Nhi
Biology
10th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Muốn lấy giá trị của biến được lưu lại từ kết quả trong chương trình con thì biến cần được khai báo sau từ khóa nào?
global
real
value
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Kết quả của chương trình sau là:
def PhepNhan(x):
return x * 10
print(PhepNhan(5))
10
Chương trình bị lỗi.
50
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Hoàn thành chương trình kiểm tra một số có là số lẻ không:
def chan(n):
if …..: return True
else: return ……
n/2==0, True
n%2==1, False
n%2!=1, False
n%2==0, False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
for i in Range(10): print(i)
SyntaxError
TypeError
NameError
ValueError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả nào được in ra khi thực hiện các câu lệnh sau:
>>>Def f(x, y):
Global a
a = x + y
print(a + n)
>>>n = 5
>>>f(4, 3)
7
10
Chương trình bị lỗi.
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Giá trị của x là bao nhiêu sau khi biết kết quả là 0:
def tinh(a, b, c):
if(b != 0):
return a+b + c*2
else: return 0
s = tinh(1, x, 8)
print(s)
1
0
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
: Điền vào '...' hoàn thành phát biểu sau: 'Chương trình chạy không lỗi ngoại lệ nhưng kết quả đưa ra ... Đây là lỗi ... bên trong chương trình.'
sai, lôgic
đúng, Syntax Error
sai, ngoại lệ
đúng, lôgic
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
65 questions
Chapter 8 Cell Structure Test
Quiz
•
9th - 10th Grade
71 questions
Human Reproduction
Quiz
•
10th - 12th Grade
73 questions
K11_ÔN TẬP KTGK2
Quiz
•
10th Grade
72 questions
GCSE Biology Dual Higher paper 1
Quiz
•
9th - 11th Grade
70 questions
SINH
Quiz
•
10th Grade
68 questions
sinh
Quiz
•
10th Grade
68 questions
Tổng hợp chương 4
Quiz
•
9th - 12th Grade
68 questions
Grams Photosynthesis
Quiz
•
9th - 12th 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
Discover more resources for Biology
20 questions
Cell Organelles
Quiz
•
10th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
Comparing Mitosis and Meiosis: Key Differences and Stages
Interactive video
•
6th - 10th Grade
5 questions
Sex Linked Traits
Interactive video
•
10th Grade
30 questions
Evolution and Taxonomy Review
Quiz
•
10th Grade
10 questions
Cell Structure and Function Concepts
Interactive video
•
6th - 10th Grade
10 questions
Quick 10Q: DNA Replication
Quiz
•
9th - 12th Grade
51 questions
2026 Evolution 2 REVIEW
Quiz
•
10th Grade