執行下列程式,下列結果何者正確?
Ch4迴圈-綜合演練選擇題

Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Hard
Vans Tsai
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[1, 2, 3, 4]
[1, 2, 3, 4, 5]
[0, 1, 2, 3]
[0, 1, 2, 3, 4]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
執行下列程式,下列結果何者正確?
[6, 4, 2]
[6, 0, -2]
[6, 4, 2, 0]
[6, 4, 2, 0, -2]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
執行下列程式,結束迴圈後,n 的值為多少?
1
3
5
7
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在 for 迴圈中,如果想要提前離開迴圈,應使用何種指令?
break
return
exit
pause
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
執行下列程式,下列結果何者正確?
[5, -1, -2]
[5, 4, 3, 2, 1, 0, -1]
[5, 3, 1]
[5, 3, 1, -1]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while 迴圈若一開始測試條件就不成立, 則 while 內程式區塊將會如何處理?
執行一次
一次都不執行
重複執行
編譯錯誤
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一個指令可在迴圈中跳過後面的敘述直接回到迴圈的開頭?
exit
return
pause
continue
Create a free account and access millions of resources
Similar Resources on Quizizz
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th

Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade