Ch6字典-綜合演練選擇題
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Medium
Vans Tsai
Used 2+ times
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
20 questions
Figurative Language Review
Quiz
•
8th Grade
10 questions
Red Ribbon Week - where did it start?
Passage
•
6th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
