Python_elif_AND_OR_NOT

Python_elif_AND_OR_NOT

8th Grade

5 Qs

quiz-placeholder

Similar activities

micro:bit聲音及蜂鳴器

micro:bit聲音及蜂鳴器

7th - 8th Grade

5 Qs

演算法

演算法

7th - 9th Grade

10 Qs

3C班2分鐘快速小測

3C班2分鐘快速小測

1st - 12th Grade

6 Qs

Python_elif_流程圖

Python_elif_流程圖

8th Grade

9 Qs

EV3 基本常識測驗(一)

EV3 基本常識測驗(一)

5th Grade - University

10 Qs

114 3-2 數位身分大祕寶

114 3-2 數位身分大祕寶

5th Grade - University

10 Qs

全華一年級3-1繪圖

全華一年級3-1繪圖

6th - 8th Grade

9 Qs

8-2 多重三角形

8-2 多重三角形

7th - 9th Grade

1 Qs

Python_elif_AND_OR_NOT

Python_elif_AND_OR_NOT

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Lam Ken

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

圖中程式碼的輸出結果是什麼?

天氣很熱

天氣適中

天氣有點冷

天氣很冷

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

圖中程式碼的輸出結果是什麼?

優秀

良好

需要努力

無輸出

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

請填空完成程式,使其符合題意:
如果 age 小於 12 或大於等於 60,輸出 "票價為 10 元",否則輸出 "票價為 20 元"。

age >= 12 and age < 60

age < 12 or age >= 60

age > 12 or age < 60

age < 60 and age > 12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

請填空完成以下程式,使其符合題意:
如果 is_student 為 True 且 has_card 為 True,輸出 "優惠票";否則輸出 "普通票"。

is_student or has_card

is_student and not has_card

is_student and has_card

not is_student and has_card

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

圖中程式碼的輸出結果是什麼?

條件成立

部分成立

條件不成立

無輸出