
Cấu trúc lặp
Authored by bichhuyen luu
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Trong NNLT Python, cấu trúc câu lệnh lặp nào sau đây đúng:
for <biến đếm> in range([giá trị đầu], <giá trị cuối>): <lệnh>
for <biến đếm> in ([giá trị đầu], <giá trị cuối>, [bước nhảy]): <lệnh>
for <biến đếm> in range([giá trị đầu], <giá trị cuối>, [bước nhảy])
<lệnh>
for <biến đếm> in range([giá trị đầu] to <giá trị cuối>, [bước nhảy]):
<lệnh>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cấu trúc lặp với số lần chưa biết trước có dạng:
while <điều kiện>:
<câu lệnh >
while <điều kiện>
<câu lệnh >
while <điều kiện>:
while <điều kiện> do
<câu lệnh >
3.
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
1 2 3 4 5
0 1 2 3 4
1 2 3 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, câu lệnh nào sau đây đúng khi in ra màn hình các số tự nhiên từ 0..10 trên 1 dòng?
for i in range(9): print(i,end='')
for i in range(11): print(i,end=' ')
A. for i in range(10): print(i,end=' ')
for i in range(12): print(i,end=' ')
6.
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
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
10 questions
Sistema Operativo Android
Quiz
•
9th - 12th Grade
10 questions
Үй жұмысы 10 сынып
Quiz
•
10th Grade
10 questions
Staff CPD Internet Safety and AI Quizizz
Quiz
•
10th Grade
10 questions
Operation System
Quiz
•
10th - 12th Grade
11 questions
P7 - Estructura de control decisión
Quiz
•
1st - 10th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
9 questions
Измерение информации
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade