Search Header Logo

認識Python中的變量

Authored by 赖健明 赖健明

Computers

6th - 8th Grade

認識Python中的變量
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

29 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

變量是什麼?

方便記憶的別名

存儲資料的容器

電腦的地址

一個複雜且隨機的數字

2.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

變量在Python中的命名規則是什麼?

只能包含字母和數字

不能以數字開頭

不能包含特殊字符

所有字母都必須小寫

3.

MULTIPLE SELECT QUESTION

3 mins • 1 pt

資料在記憶體中是如何儲存的?

以數字地址儲存

以有意義的名稱儲存

以無意義的數字地址儲存

以字母和數字組成的名稱儲存

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

在Python中,變量的數據類型是由什麼決定的?

變量名稱

變量的值

變量的地址

變量的類型

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

以下哪個是合法的變量名稱?

1student

student-name

_private_var

@name

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

變量可以同時賦值給多個變量嗎?

可以

不可以

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

在Python中,如何輸出一個變量的值?

print(variable)

output(variable)

display(variable)

show(variable)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?