
C++ while 迴圈與程式設計
Authored by 1131資訊科實習老師王婷誼 1131資訊科實習老師王婷誼
Other
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C++ 的 while 迴圈是什麼?
C++ 的 while 迴圈只能執行一次。
C++ 的 while 迴圈是用於定義變數的結構。
C++ 的 while 迴圈不需要條件判斷。
C++ 的 while 迴圈是一種用於重複執行程式碼的控制結構,直到指定的條件為假。
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while 迴圈的基本語法是什麼?
while (條件) { // 執行的程式碼 }
while (條件) : 執行的程式碼
while {條件} (程式碼)
while (條件) // 執行的程式碼
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在 while 迴圈中,{} 是必須的嗎?
只有在特定情況下必須
必須
不必須
在所有情況下必須
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while 迴圈通常用於什麼情況?
用於不需要條件的情況
用於隨機執行的情況
用於需要重複執行的情況,直到條件不再滿足。
用於一次性執行的情況
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在給定的範例中,使用者輸入 -1 代表什麼?
表示暫停或等待
表示開始或有效的選擇
表示結束或無效的選擇
表示重啟程序
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在範例程式中,如何計算平均分數?
將所有分數相加後除以分數的數量。
將最高分數和最低分數相加後除以二。
隨機選擇一個分數作為平均分數。
將所有分數相乘後除以分數的數量。
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while 迴圈與 for 迴圈的主要區別是什麼?
while 迴圈只能用於已知次數的情況
while 迴圈用於不確定次數的情況,for 迴圈用於已知次數的情況。
while 迴圈和 for 迴圈是相同的
for 迴圈不允許使用條件判斷
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
20 questions
107國中社會2下4-2_人民的基本權利與義務
Quiz
•
7th - 9th Grade
10 questions
二年级体健单元九保护身体不被摸
Quiz
•
9th Grade
14 questions
五年级华文11.诗情画意的世界(课文修辞)
Quiz
•
1st - 9th Grade
15 questions
数学二年级应用题
Quiz
•
1st - 12th Grade
10 questions
国家知多少?
Quiz
•
9th Grade
15 questions
五年级 古诗 3 《六月二十七望湖楼醉书》
Quiz
•
11th - 12th Grade
15 questions
107國中社會3下2-3_戰間期到第二次世界大戰
Quiz
•
7th - 9th Grade
11 questions
四常_防治傳染病
Quiz
•
1st - 12th 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
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade