
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
70 questions
Mid Term Review
Quiz
•
9th Grade - University
74 questions
unit 2
Quiz
•
8th Grade - University
70 questions
Biology RC
Quiz
•
9th - 10th Grade
65 questions
Plant Kingdom and Photosynthesis
Quiz
•
10th Grade
65 questions
Producers Photosynthesis and Plant Parts
Quiz
•
10th Grade
70 questions
Biology Chapter 12 Review
Quiz
•
9th - 10th Grade
75 questions
Science 7 Unit a review
Quiz
•
2nd - 12th Grade
65 questions
TWHS Unit 5 review
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Biology
21 questions
Meiosis Vs Mitosis
Quiz
•
10th Grade
10 questions
Comparing Mitosis and Meiosis: Key Differences and Stages
Interactive video
•
6th - 10th Grade
20 questions
Cladogram Practice
Quiz
•
10th Grade
10 questions
Cell Structure and Function Concepts
Interactive video
•
6th - 10th Grade
20 questions
Evidence of Evolution
Quiz
•
9th - 10th Grade
16 questions
MATZKE Photosynthesis/Respiration
Quiz
•
9th - 12th Grade
40 questions
Sea Otters Quiz #2
Quiz
•
10th Grade
20 questions
Punnets and Pedigrees
Quiz
•
9th - 10th Grade