
python2-lesson08
Quiz
•
Computers
•
2nd - 12th Grade
•
Practice Problem
•
Medium
hang zheng
Used 85+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在字典中,每个键的值都是唯一的,不可能有重复的键
True
False
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在字典中,每个值都是唯一的,不可能具有相同的值
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
运行上图中的代码,最后的输出结果是?
102:小明的家
小明的家
102:小红的家
小红的家
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a={108:“小明的家”,126:“小红的家"},现在想将键为108的值修改为烈烈的家,下列代码正确的是?
a[126]="烈烈的家"
a[108]="烈烈的家"
a="烈烈的家"
a["烈烈的家"]=108
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
b={1,2,4,5,6},变量b是一个?
元组
列表
字典
集合
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a={1,1,2,2,3,4}
print(a)
最后输出的结果是?
{1,2,3,4}
{1,1,2,2,3,4}
1,2,3,4
1,1,2,2,3,4
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
已知a是一个字典,现在想要清空a中的所有元素,下列代码正确的是?
a.pop()
a.clear()
a.clean()
a.remove()
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
14 questions
3年級-電腦小天才
Quiz
•
3rd Grade
9 questions
【教科書210-211】著作権など
Quiz
•
6th - 8th Grade
10 questions
6年级信息与通讯技能
Quiz
•
6th Grade
10 questions
第1章(翰林七上)
Quiz
•
7th Grade
15 questions
网络与通讯
Quiz
•
12th Grade
10 questions
資訊安全_如何分辨網路訊息真偽
Quiz
•
7th - 8th Grade
10 questions
NKNUBLOCK 流程圖教學進階版
Quiz
•
5th Grade
10 questions
112-2 一下 第三章 個資法與著作權
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
45 questions
Cybersecurity Quiz
Quiz
•
12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
20 questions
logo quiz
Quiz
•
3rd Grade
