初三_綜合科技應用_if判斷式_練習
Quiz
•
Computers
•
6th - 8th Grade
•
Hard
赖健明 赖健明
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python語言中使用以下哪一個符號來表示開始一個程式區塊?
:
!
#
/
Answer explanation
In Python, the symbol ':' is used to indicate the beginning of a code block. It is the correct choice for starting a program block.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
「if 條件式:」的敘述中,下列哪一項正確?
當條件式為False時,就會執行程式區塊的敘述
當條件式為True時,就會執行程式區塊的敘述
當條件式改變時,就會執行程式區塊的敘述
當發生錯誤時,就會執行程式區塊的敘述
Answer explanation
The correct answer is 'When the condition is True, the statements in the code block will be executed.'
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
「if...elif...else」條件式中,如果所有條件式都是False,則執行下列哪一程式區塊?
if
elif
else
不會執行程式區塊的敘述
Answer explanation
In the 'if...elif...else' conditional statement, if all conditions are False, the program will execute the 'else' block. It is the correct choice when none of the previous conditions are met.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
「if...else...」條件式的敘述中,下列哪一項正確?
條件式只可使用關係運算式(關係運算式即是比較運算式)
條件式只可使用邏輯運算式
當條件可以是關係運算式,也可以是邏輯運算式
以上皆不正確
Answer explanation
The 'if...else...' statement can have conditions that are either relational expressions or logical expressions. Therefore, the correct answer is 'When the condition can be either a relational expression or a logical expression'.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
變數a的值為3,執行下列程式後顯示的結果為何?
1
2
12
不顯示任何內容
Answer explanation
The value of variable a is 3. The program will display the number 2 as the result because it is the correct answer choice.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
變數a的值為5,執行下列程式後顯示的結果為何?
1
2
12
不顯示任何內容
Answer explanation
The value of variable a is 5. The program will display 1 as the result because it is the correct answer choice.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
變數a的值為4,執行下列程式後顯示的結果為何?
1
2
3
123
Answer explanation
The value of variable a is 4. The program will display the number 3 as the result because it is the correct answer choice.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
12 questions
Scratch介绍与动画基础
Quiz
•
3rd - 6th Grade
15 questions
六年级TMK 单元3 编程与测试
Quiz
•
6th Grade
10 questions
Scratch 交換
Quiz
•
8th Grade
15 questions
109 第二學期 資訊科技 3-1 (2)
Quiz
•
7th Grade
15 questions
109 第二學期 資訊科技 3-2
Quiz
•
7th Grade
8 questions
4 年级 RBT - Scratch
Quiz
•
1st - 12th Grade
10 questions
資訊科技之價值觀教育
Quiz
•
6th Grade
6 questions
minecraft程式測驗
Quiz
•
6th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
25 questions
Exploring POV and Unreliable Narrators
Quiz
•
7th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage
Quiz
•
5th - 6th Grade