Python 簡單邏輯與運算符號

Python 簡單邏輯與運算符號

9th Grade

10 Qs

quiz-placeholder

Similar activities

2223_S4_ICT_T2_exam_exercise_1-10

2223_S4_ICT_T2_exam_exercise_1-10

9th - 12th Grade

10 Qs

雲端從業人員Module 3 知識點檢查

雲端從業人員Module 3 知識點檢查

9th - 12th Grade

10 Qs

113.2國三第二章網路連接(2)

113.2國三第二章網路連接(2)

9th Grade

10 Qs

運算思維

運算思維

8th - 9th Grade

10 Qs

資安檢測_7

資安檢測_7

7th Grade - University

12 Qs

運算思維三

運算思維三

7th - 9th Grade

10 Qs

第六章储存装置PART 1

第六章储存装置PART 1

9th - 12th Grade

12 Qs

Python 簡單邏輯與運算符號

Python 簡單邏輯與運算符號

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Teacher Chu

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

如何在 Python 中使用運算符號 '*' 進行乘法?

使用 '+' 運算符進行加法,例如 a + b。

使用 '/' 運算符進行除法,例如 a / b。

使用 '*' 運算符進行乘法,例如 a * b。

使用 '-' 運算符進行減法,例如 a - b。

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python 中的運算符號 '/' 會返回什麼類型的結果?

整數

浮點數

字串

布林值

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 Python 中,運算符號 '==' 用於比較什麼?

比較兩個對象的地址是否相等

比較兩個對象的長度是否相等

比較兩個對象的值是否相等

比較兩個對象的類型是否相等

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 Python 中,運算符號 '>' 和 '<' 的用途是什麼?

'>' 用於檢查大於,'<' 用於檢查小於。

'>' 和 '<' 用於檢查相等。

'>' 用於檢查小於,'<' 用於檢查大於。

'>' 用於檢查等於,'<' 用於檢查不等於。

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

如何使用運算符號 'and' 來進行邏輯運算?

使用 'and' 進行運算時,所有條件必須為假。

使用 'and' 進行邏輯運算時,所有條件必須同時為真。

使用 'and' 進行運算時,至少有一個條件必須為真。

使用 'and' 只需一個條件為真即可。

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 Python 中,運算符號 'or' 的功能是什麼?

'or' 運算符用於邏輯運算,表示至少一個條件為真。

'or' 運算符用於位元運算,表示兩個位元相乘。

'or' 運算符用於比較運算,表示兩個值相等。

'or' 運算符用於數學運算,表示兩個數字相加。

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

運算符號 'not' 在 Python 中如何使用?

'not' 用於創建列表。

'not' 用於計算數字。

'not' 用於反轉布林值。

'not' 用於比較字符串。

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?