Cấu trúc lặp - Python
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Phuong Vu
Used 14+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Chương trình trên in ra bao nhiêu dòng "Let's go"
6
7
8
9
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giá trị của a sau khi kết thúc vòng lặp là bao nhiêu:
a=0
for i in range(10,14): a=a+3
9
12
15
18
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cú pháp đầy đủ của hàm range()
range(start,stop,step)
range(start,step)
range(stop,step)
range(0,stop,step)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cú pháp đúng của câu lệnh lặp for
for <biến chạy> in range(start,stop,step): <Khối lệnh>
for <biến chạy> in range(start,step): <Khối lệnh>
for <biến chạy> in range(start,stop,step); <Khối lệnh>
for <biến chạy> in range(start,stop,step) <Khối lệnh>
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Vòng lặp nào trả về kết quả dưới đây?
11111
22222
33333
44444
55555
for i in range(1,6):
print(i, i, i, i, i)
for i in range(1,5):
print(str(i)*5)
for i in range(1, 6):
print(str(i) * 5)
for i in range(0, 5):
print(str(i) * 5)
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Màn hình hiển thị gì khi sau chạy đoạn chương trình trên?
5
4
3
2
1
4
3
2
1
0
5 4 3 2 1
4 3 2 1 0
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Màn hình hiển thị gì sau khi chạy đoạn chương trình trên ?
5
4
3
2
1
4
3
2
1
0
5 4 3 2 1
4 3 2 1 0
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
10 questions
Spoljna memorija - HDD
Quiz
•
9th - 11th Grade
10 questions
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
10 questions
Working with tables
Quiz
•
5th - 12th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
