
Củng cố cấu trúc lặp
Authored by Bùi 2
Computers
9th - 12th Grade
Used 7+ 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
10 sec • 1 pt
Trong Python có mấy loại cấu trúc lặp?
4
3
2
1
Answer explanation
Trong Python có hai loại cấu trúc lặp là: Lặp với số lần biết trước và lặp với số lần không biết trước
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Hoạt động nào sau đây lặp với số lần chưa biết trước?
Ngày tắm hai lần
Học bài cho đến khi thuộc bài
Mỗi tuần đi nhà sách một lần
Ngày đánh răng hai lần
Answer explanation
Đáp án đúng là B:
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Cấu trúc lặp với số lần biết trước là:
for in range(m,n)
for i in range(m,n):
while <Điều kiện>:
for in range(m,n):
Answer explanation
Cấu trúc lặp với số lần biết trước là: B. for i in range(m,n):
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho câu lệnh trên. Theo em, i nhận lần lượt các giá trị nào?
0 1 2 3 4 5
0 1 2 3 4 5
1 2 3 4 5
1 2 3 4
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho đoạn chương trình sau:
s=0
for i in range(6):
s=s+i
Vòng lặp thực hiện mấy lần?
6
5
4
3
Answer explanation
range(6) sẽ khởi tạo dãy số nguyên: 0 1 2 3 4 5
Vậy vòng lặp sẽ thực hiện 6 lần với i lần lượt nhận các giá trị từ 0 đến 5
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Tính tống S = 1 + 2 + 3 + … + n + … cho đến khi S>109. Cần sử dụng cấu trúc nào để viết chương trình cho bài toán này
For
If
While
break
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cấu trúc lặp với số lần biết trước có dạng:
for <biến đếm> in range(m,n):
for <biến đếm> of range(m,n):
for <biến đếm> in range(m,n)
for <biến đếm> in ragne(m,n):
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
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
10 questions
Python- Operators
Quiz
•
12th Grade
10 questions
TIN 12 - Bài 6. Giao tiếp và ứng xử trong không gian mạng
Quiz
•
12th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
11 questions
Câu hỏi ôn tập HKII_Tin học 6
Quiz
•
8th Grade - Professio...
10 questions
Tin học 9 Bài 7: Phần mềm trình chiếu
Quiz
•
9th Grade
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 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
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade