
Python Loop and Function
Authored by Lương Nguyễn
Computers
1st Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Hàm nào được sử dụng để lặp qua các phần tử của một list trong Python?
while
for
repeat
loop
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Trong vòng lặp for, hàm nào được sử dụng để lặp qua các số từ 1 đến 10?
range(10)
range(1, 10)
range(1, 11)
range(0, 10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Đoạn code dưới đây trả về kết quả bằng bao nhiêu?
19
17
13
16
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Vòng lặp while sẽ tiếp tục lặp lại cho đến khi điều kiện nào được đưa ra?
Điều kiện đúng
Điều kiện sai
Không có điều kiện
Điều kiện là số chẵn
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Đoạn code dưới đây trả về đáp án nào?
Dog 5
Dog 4
Dog 3
Dog 2
Dog 1
Dog 1
Dog 2
Dog 3
Dog 4
Dog 5
Dog 5Dog 4Dog 3Dog 2Dog 1
Dog 1Dog 2Dog 3Dog 4Dog 5
Error
6.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Hàm nào được sử dụng để kết thúc vòng lặp trong Python?
break
continue
exit
return
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Đoạn code có sử dụng vòng lặp for dưới đây trả về kết quả gì?
13
10
15
17
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
20 questions
Bài 15 Công việc được thực hiện theo điều kiện
Quiz
•
1st - 5th Grade
12 questions
BÀI 9. TRÌNH BÀY DỮ LIỆU BẰNG BIỂU ĐỒ
Quiz
•
1st - 12th Grade
15 questions
BÀI 3: VẬT LIỆU VÀ DỤNG CỤ TRỒNG HOA, CÂY CẢNH TRONG CHẬU
Quiz
•
1st - 5th Grade
15 questions
Lớp 3 CĐ3: Thiết bị nhập , xuất, lưu trữ
Quiz
•
1st - 5th Grade
10 questions
ÔN TUẦN 19
Quiz
•
1st - 5th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
20 questions
Tin học 5
Quiz
•
1st - 12th Grade
15 questions
2223-HKI-K1
Quiz
•
1st Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
13 questions
Fractions
Quiz
•
1st - 2nd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
15 questions
Place Value tens and ones
Quiz
•
1st Grade
16 questions
Money - Coins
Lesson
•
1st - 2nd Grade
20 questions
Halves and Fourths
Quiz
•
1st Grade