
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
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
Operating System
Quiz
•
5th - 9th Grade
10 questions
Назад в 90-е
Quiz
•
5th - 11th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
13 questions
KSSM-Konsep Asas Pemikiran Komputasional (Tingkatan 1)
Quiz
•
7th - 9th Grade
14 questions
Pre-test: On Online searching by Innovative Teaching Ideas)
Quiz
•
6th - 12th Grade
10 questions
TIN8-HK1-KTTX1
Quiz
•
8th Grade
15 questions
Review Komputer Mid SMP (1)
Quiz
•
8th 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