
Kiểm tra kiến thức Python - Mảng (List)
Authored by Hanh Bui
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Chương trình sau thực hiện công việc gì? A=[] for i in range(1, 1001): if(i % 7 == 0) and (i % 5 !=0): A.append(str(i)) print(','.join(A))
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Tìm tất cả các số chia hết cho 7 và là bội số của 5, nằm trong đoạn 1 và 1000.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Tìm tất cả các số không chia hết cho 7 nhưng là phải bội số của 5, nằm trong đoạn 1 và 1000.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Danh sách A sẽ như thế nào sau các lệnh sau? >>> A = [2, 3, 5, 6] >>> A. append(4) >>> del (A[2])
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Kết quả của chương trình sau là gì? A = [2, 3, 5, "python", 6] A.append(4) A.append(2) A.append("x") del(A[2]) print(len(A))
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Chương trình sau thực hiện công việc gì? >>> S = 0 >>> for i in range(len(A)): if A[i] > 0: S = S + A[i] >>> print(S)
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Hoàn thiện chương trình tính tích các phần tử dương trong danh sách A. >>> S = (…) >>> for i in range(len(A)): (…) S = S * A[i] >>> print(S)
Evaluate responses using AI:
OFF
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
20 questions
TIN 10 Bài 10 CĐ F. Hàm
Quiz
•
10th Grade
20 questions
OCR J275 Hardware Part B
Quiz
•
10th Grade
15 questions
Ôn tập học kì 1 Tin học 4
Quiz
•
4th Grade - University
16 questions
LA3.C3: Variables
Quiz
•
9th Grade - University
16 questions
Python Review
Quiz
•
9th - 12th Grade
20 questions
BÀI 16. ĐỊNH DẠNG VĂN BẢN
Quiz
•
5th - 12th Grade
20 questions
Bài 5. Thao tác với bảng tính
Quiz
•
1st - 12th Grade
20 questions
Computer Hardware - Input&Output Devices for Situations
Quiz
•
1st - 12th Grade
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