關於字典,下列何者敘述是錯誤的?
Ch6字典-綜合演練選擇題

Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Hard
Vans Tsai
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Quizizz
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade