
BÀI TẬP VÒNG LẶP
Authored by Xuân Đặng
Computers
10th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
for i in range(5):
print(i)
Trên màn hình i có các giá trị là:
0
1
2
3
4
5
0
1
2
3
4
1
2
3
4
5
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
for i in range(1,5):
print(i)
Trên màn hình i có các giá trị là:
0
1
2
3
4
5
1
2
3
4
5
0
1
2
3
4
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range(1,10,2):
print(i)
Trên màn hình i có các giá trị là:
1
3
5
7
9
1,2,3,4,5,6,7,8,9,10
1
3
5
7
9
10
1
3
5
7
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp While kết thúc khi nào?
Khi một điều kiện cho trước được thỏa mãn
Khi đủ số vòng lặp
Khi tìm được Output
Tất cả các phương án
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho đoạn chương trình sau:
s=0
for i in range(6):
s=s+i
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
1
15
6
21
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
s=0
for i in range(1,7,2):
s=s+i
Sau khi thực hiện đoạn chương trình trên giá trị của s là:
9
15
6
21
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tính tống S = 1 + 2 + 3 + … + n + … cho đến khi S>109. Điều kiện nào sau đây cho vòng lặp while là đúng:
while S>=109:
while S =109:
while S <=109:
while S !=109:
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
22 questions
TIN HỌC 7
Quiz
•
9th Grade - University
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
20 questions
PENGENALAN MS.WORD
Quiz
•
10th Grade
20 questions
Linux Directory Structures
Quiz
•
10th Grade - University
20 questions
Structure of a Webpage
Quiz
•
10th Grade
13 questions
python A
Quiz
•
10th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
16 questions
Boolean and Search Operators
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