
ÔN TẬP CÂU LỆNH LẶP FOR VÀ WHILE
Authored by Tài văn
Science
10th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Biến chạy trong vòng lặp for i in range(<giá trị cuối>) tăng lên mấy đơn vị sau mỗi lần lặp?
1
2
0
Tất cả đều sai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cho các câu lệnh sau, hãy chỉ ra câu lệnh đúng:
x = 0
for i in range(10): x = x + 1
x = 0
for i in range(10): x:= x + 1
x = 0
for i in range(10) x = x + 1
x:= 0
for i in range(10): x = x + 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Trong Python, câu lệnh nào dưới đây được viết đúng?
for i in range(10): prin(“A”).
for i in range(10): print(“A”).
for i in range(10): print(A).
for i in range(10) print(“A”).
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Trong câu lệnh lặp:
j=0
for j in range(10):
j = j + 2
print(j)
Khi kết thúc câu lệnh trên, câu lệnh print(j) được thực hiện bao nhiêu lần?
10 lần.
1 lần.
5 lần.
Không thực hiện.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Trong Python, đâu là cú pháp của câu lệnh lặp "for" ?
for i in range(10):
for i = 1 to 10:
loop i from 1 to 10:
foreach i in range(10):
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Hàm range() trong câu lệnh lặp "for" được sử dụng để làm gì?
Tạo một chuỗi số nguyên
Tạo một chuỗi ký tự
Kiểm tra điều kiện
Tạo điều kiện
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Trong lập trình, điều gì là quan trọng khi sử dụng câu lệnh lặp "for"?
Thứ tự của các lệnh
Số lần lặp
Điều kiện kết thúc
Tất cả đều đúng
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
15 questions
Bai 22
Quiz
•
10th Grade
20 questions
ÔN TẬP SINH HỌC 10 - HK2
Quiz
•
10th Grade
18 questions
HDDL nhóm 4
Quiz
•
1st Grade - University
20 questions
Câu hỏi linh tinh về vũ trụ
Quiz
•
1st Grade - Professio...
15 questions
KIỂM TRA 15 LẦN 1 HK2
Quiz
•
10th Grade
20 questions
Bài tập ÔN TẬP CHỦ ĐỀ 7- KHTN 6
Quiz
•
6th Grade - University
22 questions
Ôn tập môn Khoa học cuối HKI_V5.1
Quiz
•
5th Grade - University
20 questions
Kiểm tra lấy điểm KTTX (15 phút)
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Science
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
10 questions
Exploring Mendelian Genetics and Punnett Squares
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
35 questions
DNA Structure and Replication
Quiz
•
10th Grade
10 questions
Distinguishing Natural Hazards from Disasters
Interactive video
•
6th - 10th Grade
89 questions
Unit 1 (Ch 2 & 3) Test Review - Water/Ocean Currents
Quiz
•
9th - 12th Grade
48 questions
Review for Homeostasis & Interacting Systems Test
Quiz
•
9th - 12th Grade
10 questions
Exploring Protein Synthesis: Transcription and Translation
Interactive video
•
10th Grade