
Python Loop and Function

Quiz
•
Computers
•
1st Grade
•
Medium
Lương Nguyễn
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Bài 14 Em thực hiện công việc như thế nào?

Quiz
•
1st - 5th Grade
12 questions
ÔN TẬP HK 2 LỚP 4

Quiz
•
1st - 5th Grade
20 questions
Bài 9 Lắp ghép mô hình robot

Quiz
•
1st - 5th Grade
10 questions
Khởi động 8

Quiz
•
1st Grade
18 questions
Bài tập lớp 0106 hp2

Quiz
•
1st - 5th Grade
20 questions
ÔN TẬP HỌC KÌ II LỚP 5

Quiz
•
1st - 10th Grade
10 questions
LVV-C4K-SB07

Quiz
•
1st - 5th Grade
14 questions
Ôn tập chương 4: Thế giới Logo lần 2

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade