
C++ while 迴圈與程式設計
Quiz
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Hard
1131資訊科實習老師王婷誼 1131資訊科實習老師王婷誼
FREE Resource
Enhance your content in a minute
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 迴圈不允許使用條件判斷
Create a free account and access millions of resources
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
18 questions
三年级华文 月亮渴了(课文理解)
Quiz
•
1st - 12th Grade
20 questions
ทดสอบก่อนเรียน บทที่ 7 เรื่องกีฬา
Quiz
•
11th Grade
11 questions
Fun game
Quiz
•
5th - 9th Grade
20 questions
แก้ข้อสอบ 是....的 也/都
Quiz
•
10th Grade
10 questions
泊船瓜洲
Quiz
•
1st - 12th Grade
10 questions
107國中自然3下_2-2
Quiz
•
7th - 9th Grade
10 questions
今天的天气怎么样?
Quiz
•
1st - 12th Grade
20 questions
「いき」の美学クイズ
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
