Ch6字典-綜合演練選擇題

Ch6字典-綜合演練選擇題

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

網路交友分析問題

網路交友分析問題

8th Grade

10 Qs

S1 Chapter 4

S1 Chapter 4

6th Grade

10 Qs

Chapter 15 Senior 2

Chapter 15 Senior 2

6th Grade

10 Qs

Ch5串列與元組-綜合演練選擇題

Ch5串列與元組-綜合演練選擇題

6th - 8th Grade

10 Qs

8、9课回顾

8、9课回顾

6th Grade

10 Qs

单元二:机器龙来啦!

单元二:机器龙来啦!

6th Grade

8 Qs

声音识别知识挑战

声音识别知识挑战

6th Grade

15 Qs

Ch6字典-綜合演練選擇題

Ch6字典-綜合演練選擇題

Assessment

Quiz

Information Technology (IT)

6th - 8th Grade

Practice Problem

Medium

Created by

Vans Tsai

Used 5+ 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

關於字典,下列何者敘述是錯誤的?

以「鍵、值」對方式儲存

資料依序排列

可由「鍵」取得「值」

資料隨機排列

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},print(d[0]) 的結果為何?

香蕉

20

50

產生錯誤

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},print(d["香蕉"]) 的結果為何?

香蕉

20

50

產生錯誤

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},print(d.get("芒樂", 60)) 的結果為何?

20

50

60

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},程式 d["芒樂"]=60 的作用為:

新增資料

修改資料

取得資料

刪除資料

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},程式 d.clear() 的作用為:

刪除所有元素

刪除一個元素

刪除字典

以上皆非

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

d={"香蕉" : "20", "蘋果" : "50"},print("香蕉" in d) 的結果為何?

20

50

True

False

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?