執行下列程式,下列結果何者正確?
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
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
10 questions
Identifying equations

Quiz
•
KG - University
20 questions
Adding and Subtracting Integers

Quiz
•
6th Grade
20 questions
Cross Sections of 3D Shapes

Quiz
•
7th Grade
17 questions
guess the logo

Quiz
•
8th Grade