
Quiz về Lập trình Python
Quiz
•
Mathematics
•
10th Grade
•
Practice Problem
•
Hard
Vinh Đình
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu? b = "Xin chao!" def chao(i): return b + i chao(5)
Không có dòng lệnh bị lỗi
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
a.remove(1)
del a[0]
del a[1]
a. remove(2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tổng thể có thể phân biệt lỗi chương trình Python làm mấy loại:
7
5
4
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình, hãy cho biết kết quả in ra màn hình? def tong(x,y,z,t): return x+y+z+t a,b,c,d=1,1,1,2 print(tong(a,b,c,d))
5
3
6
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm UCLN(m,n) để tính ước chung lớn nhất của 2 số nguyên không âm m và n. Trong chương trình có lệnh gọi hàm >>>UCLN(36, 12), vậy các giá trị (m,n) trong câu lệnh def UCLN(m,n) gọi là?
Hằng
Đối số
Tham số
Biến
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
clear()
del
remove()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào dưới đây về biến địa phương và biến tổng thể là sai?
Biến địa phương phải có tên khác với tên của biến tổng thể
Biến địa phương có thể có kiểu khác với kiểu của biến tổng thể có cùng tên
Biến địa phương được khai báo trong hàm
Biến tổng thể có thể được sử dụng ở trong hàm
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
28 questions
Vui học tuần 3
Quiz
•
5th Grade - University
30 questions
ÔN TẬP GHKI TOÁN 6
Quiz
•
10th Grade
30 questions
Rung Chuong Vang
Quiz
•
1st - 12th Grade
31 questions
Câu hỏi tiếng Việt
Quiz
•
1st Grade - University
23 questions
ĐỀ ÔN TẬP LỚP 2B
Quiz
•
2nd Grade - University
24 questions
ĐỀ 5 TUẦN 6,7
Quiz
•
4th Grade - University
25 questions
Ôn tập bảng nhân, chia
Quiz
•
8th - 10th Grade
25 questions
TOÁN 6
Quiz
•
6th Grade - University
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 Mathematics
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
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
16 questions
Converting Improper Fractions to Mixed Numbers
Quiz
•
4th - 10th Grade
10 questions
Simplifying Expressions by Combining Like Terms
Interactive video
•
6th - 10th Grade
10 questions
Simplifying Expressions with the Distributive Property
Interactive video
•
6th - 10th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
