
Python基礎課程 - 第4課 Python 自動化程式(二)

Quiz
•
Computers
•
9th Grade
•
Hard
Cheung 張祺豐老師
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
5.
MATCH QUESTION
1 min • 1 pt
把以下 Python 的 for 循環指令中不同部分的意思配對起來。
for var in range(1, 8, 2):
print(var)
變數的終止值
1
重複執行的指令
var
變數名稱
print(var)
變數的間隔值
8
變數的起始值
2
6.
MATCH QUESTION
1 min • 1 pt
執行以下的 Python 程式,把 for 循環中不同迭代的輸出配對起來。
start = 12
stop = start + 24
step = 4
for n in range(start, stop, step):
print(n)
32
第二次迭代時
12
第一次迭代時
16
最後一次迭代時
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在 Python 中,for 循環可用於無限次地重複執行指令。
對
錯
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
這一個 Python 程式以 while 循環寫成。
i = 0
while i < 10:
print(i)
i = i + 1
for i in range(0, 10):
print(i)
for i in range(0, 11):
print(i)
for i in range(1, 10):
print(i)
for i in range(1, 11):
print(i)
9.
FILL IN THE BLANK QUESTION
1 min • 1 pt
執行以下的 Python 程式,電腦屏幕會顯示多少次「Hello」?
for index in range(0, 7, 2):
print("Hello")
Similar Resources on Wayground
10 questions
Списки Python

Quiz
•
9th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
14 questions
ABC in python

Quiz
•
9th Grade
10 questions
Python Selection

Quiz
•
9th - 10th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
12 questions
PYTHON 21

Quiz
•
9th Grade
9 questions
9класс python

Quiz
•
9th - 10th Grade
10 questions
Python ismétlés

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade