
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
Pop Culture Quiz 2023
Quiz
•
9th - 12th Grade
11 questions
Present Simple Verb to be and other verbs
Quiz
•
1st Grade - Professio...
10 questions
luyện tập for
Quiz
•
KG - Professional Dev...
15 questions
Teknologi Perkantoran
Quiz
•
10th Grade
12 questions
Success Profiler Skills & Dimensions
Quiz
•
9th - 12th Grade
10 questions
Bandsaw Safety Test
Quiz
•
6th - 12th Grade
14 questions
Accounting Chapter 5
Quiz
•
9th - 12th Grade
15 questions
prévention des risques professionnels
Quiz
•
7th - 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Professional Development
50 questions
Workplace Readiness Skills Quiz _ 50 Questions
Quiz
•
9th - 12th Grade
13 questions
NRF Customer Service & Sales: "Build a Continuing Relationship"
Quiz
•
9th - 12th Grade
24 questions
Job Interview Skills Review
Quiz
•
9th - 12th Grade
20 questions
MATH 103 Skills Check 2 Review
Quiz
•
10th Grade