
tin 28 27
Authored by 9a10-Phạm Thành Thái undefined
Other
10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python biến được khai báo và sử dụng bên trong một hàm được gọi là gì?
Biến địa phương
Biến riêng
Biến tổng thể
Biến thông thường
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu?
def msg():
a=10
print("Gia tri cua a la",a)
return msg()
print (a)
3
4
5
Không có lỗi
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của a, b là bao nhiêu khi thực hiện lệnh f(2, 5)
>>> a, b = 0, 1
>>> def f(a, b):
a = a * b
b = b // 2
return a + b
10, 2
10, 1
2, 5
0, 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu muốn biến bên ngoài vẫn có tác dụng bên trong hàm thì cần khai báo lại biến này bên trong hàm với từ khoá nào?
global
def
Không thể thực hiện
all
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu?
>>>def f(a,b):
return a + b + N
>>> N = 5
>>>f(3, 3)
5
6
11
Chương trình bị lỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
: Kết quả của chương trình sau là bao nhiêu?
def kq(name):
s = "Tôi tên là: "
s = s+ name
return s
print(kq("Xuân"))
"Tôi tên là: ".
"Xuân"
"Tôi tên là: Xuân"
Chương trình bị lỗi
7.
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):
a = x + y
print(a + n)
>>>n = 5
>>>f(2, 3)
5
10
2
Chương trình bị lỗi.
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
24 questions
Hypothesis Testing--Review #1
Quiz
•
10th - 12th Grade
25 questions
Chemical Reactions and Balancing Equations
Quiz
•
9th - 11th Grade
25 questions
SB 10.000Km
Quiz
•
10th Grade
25 questions
Opening Week IB Academic Policy Quiz
Quiz
•
9th - 12th Grade
25 questions
Latihan
Quiz
•
10th Grade
28 questions
Horses/Horseback Riding
Quiz
•
KG - Professional Dev...
29 questions
ÔN TẬP KIỂM TRA GIỮA KỲ 2
Quiz
•
1st - 12th Grade
30 questions
Latihan Soal Ilmu Ekonomi
Quiz
•
10th 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 Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade