
while 迴圈基礎測驗
Authored by 玉曄 陳
Computers
8th Grade
Used 5+ 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
下列哪一個是 Python 中 while 迴圈的正確基本語法?
while (條件) {程式碼}
while 條件: 程式碼
while 條件 {程式碼}
while: 條件 程式碼
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
執行下列程式碼會印出幾次 "Hello"?
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
這個流程圖應該是什麼語法?
if...
Do ...while
For...
while ...Loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一個 while 迴圈條件會使迴圈永遠不執行?
while True:
while 1 > 0:
while 0 > 1:
while 5 == 5:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一個 while 迴圈條件會使程式碼至少執行一次?
while False:
while 0:
while 1:
while None:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
i = i + 1
i += 2
i = i - 2
i -= 2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一個 while 迴圈會印出什麼?
1,2,3,4,5
1,2,3,4
1,2,3,4,5,6
0,1,2,3,4
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
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
Computer-Its Components
Quiz
•
5th - 9th Grade
13 questions
about ppt
Quiz
•
3rd - 9th Grade
10 questions
演算法
Quiz
•
7th - 9th Grade
11 questions
Computer Privacy and security
Quiz
•
6th - 8th Grade
15 questions
coding
Quiz
•
KG - Professional Dev...
10 questions
07. Technology in Agriculture
Quiz
•
7th - 8th Grade
11 questions
ALGORITMA TINGKATAN 2
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
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
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade