
Tin 10 bài 26
Authored by Tình Hồng
Professional Development
10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là:
def Kieu(Number):
return type(Number);
print(Kieu (5.0))
A. 5.
B. float.
C. Chương trình bị lỗi.
D. int.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm sau có chức năng gì?
def sum(a, b):
print("sum = " + str(a + b))
A. Trả về tổng của hai số a và b được truyền vào.
B. Trả về hai giá trị a và b.
C. Tính tổng hai số a và b.
D. Tính tổng hai số a và b và hiển thị ra màn hình.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào (…) để tìm ra số lớn nhất trong 3 số nhập vào:
def find_max(a, b, c):
max = a
if (…): max = b
if (…): max = c
return max
A. max < b, max < c.
B. max <= b, max < c.
C. max < b, max <= c.
D. max <= b, max <= c.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau ra kết quả bao nhiêu?
def get_sum(num):
tmp = 0
for i in num:
tmp += i
return tmp
result = get_sum(1, 2, 3, 4, 5)
print(result)
12
13
14
15
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu?
a = "Hello Guy!"
def say(i):
return a + i
say(3)
print(a)
4
2
3
Không có lênh lệnh lỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phát biểu sai trong các phát biểu sau:
A. Lệnh print() thực hiện việc in ra màn hình.
D. Lệnh str() chuyển đối tượng đã cho thành chuỗi.
C. Lệnh type() trả lại kiểu dữ liệu của biểu thức trong ngoặc.
B. Lệnh input() thực hiện yêu cầu nhập vào một biểu thức, số hay một xâu bất kì.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số phát biểu đúng trong số phát biểu sau:
1) Python cung cấp sẵn nhiều hàm thực hiện những công việc khác nhau cho người dùng tuỳ ý sử dụng.
2) Lệnh float() chuyển đối tượng đã cho thành kiểu số thực.
3) Lệnh int trả về số nguyên từ số hoặc chuỗi biểu thức.
4) Trong python, người dùng chỉ được sử dụng các hàm có sẵn được xây dựng.
5) Người dùng có thể xây dựng thêm một số hàm mới.
1
2
3
4
Answer explanation
1 2 3 5
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
10 questions
TOEFL Structure (Problems with Passive Verbs)
Quiz
•
9th Grade - Professio...
10 questions
PLAN DE EMERGENCIAS
Quiz
•
1st - 12th Grade
10 questions
Marketing Mix
Quiz
•
10th Grade
13 questions
C1_TA_Perkembangan AKt dan Peran
Quiz
•
1st Grade - Professio...
10 questions
Workplace Readiness Skills (B)
Quiz
•
9th - 12th Grade
15 questions
NRF Customer Service & Sales: "Go the Extra Mile"
Quiz
•
9th - 12th Grade
15 questions
Assessment 4K+Shitsuke
Quiz
•
KG - 12th Grade
10 questions
Resilencia
Quiz
•
10th Grade - University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Professional Development
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
12 questions
Equation of a Circle
Lesson
•
10th Grade
18 questions
Mendelian Genetics
Quiz
•
10th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade