Font size
WorksheetsMidterm Review
Total questions: 48
Worksheet time: 39mins
What is the output of print(5 + 3 * 2)?
print(5 + 3 * 2)的输出结果是什么?
16
11
13
Error
What does the range(1,5) function generate?
range(1,5) 函数生成什么?
[1, 2, 3, 4, 5]
[1, 2, 3, 4]
[0, 1, 2, 3, 4]
[5, 4, 3, 2, 1]
Which loop is best when the number of iterations is known?
当循环次数已知时,最好使用哪种循环?
while loop
for loop
if-else
repeat-until
What is the correct way to check if x is equal to 10?
如何正确检查 x 是否等于10?
if x = 10:
if x == 10:
if x === 10:
if x != 10:
Which operator is used for exponentiation (power)?
哪个运算符用于幂运算?
^
**
//
%%
What will print(type(3.14)) output?
print(type(3.14)) 输出什么?
<class 'int'>
<class 'float'>
<class 'str'>
<class 'bool'>
What will print(type(3.14)) output?
print(type(3.14)) 输出什么?
<class 'int'>
<class 'float'>
<class 'str'>
<class 'bool'>
下列哪一条Python语句可以获取用户输入的名字?
Which of the following Python statements gets the user's name?
print("name")
input("What is your name?")
if name == "Tom"
for name in list
下列哪种数据类型是字符串类型?
Which of the following is a string type?
23
True
"Hello"
3.14
如果要根据温度决定是否开启风扇,以下语句正确的是?
If you want to turn on a fan based on temperature, which is correct?
if fan = "on":
if temp > 30:
print("fan off")
for temp in fan:
下面哪个选项是一个合法的变量名?
Which of the following is a valid variable name in Python?
3number
my-name
my_name
以下哪个运算符表示“等于”?
Which of the following represents "equal to"?
=
==
!=
>=
以下代码的输出结果是?
What will be the output of this code?
2 3 4 5
2 3 4 5 6
1 2 3 4 5
3 4 5 6
如果一个while循环没有正确的终止条件,会导致什么?
What happens if a while loop has no proper exit condition?
程序更快运行 Program runs faster
出现无限循环 Infinite loop
自动停止 Auto自动停止 Auto stop stop
下列哪个语句可以将整数5转换为字符串类型?
Which statement converts integer 5 to a string?
int("5")
str(5)
5 + "5"
"5" - 5
什么是IoT系统中“处理器”的作用?
What is the role of a "processor" in an IoT system?
发送网络信号 Send internet signal
显示界面 Display screen
控制和分析数据 Control and analyze data
提供电源 Provide power
下列哪个语句最有可能用于控制一个LED灯?
Which line of code most likely controls an LED?
在IoT系统中,数据通常被发送到哪?
In IoT systems, where is data usually sent?
音箱 Speaker
云端 Cloud
本地文件夹 Local folder
打印机 Printer
哪项Python语句最有可能用于读取传感器的数据?
Which Python code likely reads sensor data?
当光线变暗时,自动开灯属于哪种物联网功能?
Turning on lights automatically when it's dark is what IoT function?
Artificial Intellegence
Data Visualization
Automation
Cloud storage
What does IoT stand for?
IoT 代表什么?
Internet of Things
Input of Technology
Internet of Tech
Integrated Online Tech
Which protocol is commonly used in IoT for lightweight communication?
物联网中常用于轻量级通信的协议是什么?
HTTP
MQTT
FTP
TCP
What is the main purpose of a breadboard in circuits?
面包板在电路中的主要作用是什么?
To store data
To connect components without soldering
To measure voltage
To program microcontrollers
What is the purpose of an algorithm?
算法的作用是什么?
To write code directly
To provide a step-by-step solution to a problem
To draw flowcharts
To debug programs
Which symbol represents input/output in a flowchart?
流程图中表示输入/输出的符号是?
Rectangle
Parallelogram
Diamond
Oval
What will be the output of print(10//3)?
print(10//3)的输出是什么?
3
3.333
4
1
Which Python keyword is used to stop a loop early?
Python中用于提前终止循环的关键字是?
exit
stop
break
return
What does the % operator do in Python?
Python中%运算符的作用是?
Division
Multiplication
Remainder
Power
Which data type would you use to store student names?
存储学生姓名应该使用什么数据类型?
int
float
str
bool
What is missing in this code: if x > 5 print("Big")?
这段代码缺少什么:if x > 5 print("Big")?
Parentheses
Colon
Quotation marks
Nothing
What is the correct way to write a comment in Python?
Python中正确的注释写法是?
// This is a comment
/* This is a comment */
# This is a comment
<!-- This is a comment -->
Which function converts a string to an integer?
哪个函数将字符串转换为整数?
str()
int()
float()
chr()
What is the output of print(3 > 5 or 2 < 4)?
print(3 > 5 or 2 < 4)的输出是什么?
True
False
None
Error
An algorithm must be written in a programming language.
算法必须用编程语言编写。
Ture
False
for i in range(5): will loop 5 times.
for i in range(5):会循环5次。
True
False
x = "5" + 3 will result in 8.
x = "5" + 3的结果是8
True
False
A flowchart uses diamonds to represent processes.
流程图中用菱形表示处理过程。
True
False
The elif statement is mandatory after if.
if语句后必须使用elif
True
False
print(len("hello")) outputs 5.
print(len("hello"))输出5。
True
False
Lists are immutable in Python.
Python中列表是不可变的。
True
False
以下哪项是物联网项目的三个基本要素?
What are 3 key components of an IoT project?
Coding, network, robot
Sensor, processor, communication module
Screen, LED, battery
Mouse, keyboard, monitor
1. 请举出一个你生活中可能用到物联网技术的例子,并简要说明它是如何运作的。
Give an example of how IoT (Internet of Things) might be used in your daily life. Briefly explain how it works.
📝 示例答案(供参考) Sample Answer:
“智能冰箱可以自动检测哪些食物快过期,并通过网络发送提醒到我的手机。这是通过内部的传感器和Wi-Fi模块实现的。”
A smart fridge can detect which food is going to expire and send a reminder to my phone. It uses sensors and Wi-Fi to do that.
2. 假如你可以让学校的某个设备变“聪明”,你会选择哪一个?它应该具备什么功能?
If you could make one device in your school “smart,” what would it be and what features should it have?
✅ 示例 Sample:
“我想让书包变聪明!它能提醒我今天要带的书,甚至自动记录有没有带错作业。”
I want to make my backpack smart! It would remind me what to bring today and check if I forgot my homework.
3. 如果你编写了一个程序可以改变世界,你希望它能做什么?
If you could write a program to change the world, what would it do?
示例 Sample:
“我会写一个程序帮助清理海洋塑料垃圾,通过卫星图像识别垃圾区域并派出清洁机器人。”
I’d create a program that helps clean ocean plastic, using satellite images to locate trash and send cleaning robots.
【投票Poll】你认为以下哪项技术对未来的影响最大?请投票。
"Which technology do you think will have the biggest impact on the future? Vote and briefly explain your choice."
人工智能 (Artificial Intelligence)
物联网 (Internet of Things, IoT)
区块链 (Blockchain)
5G/6G通信技术 (5G/6G Communication)
提到‘未来科技’,你最先想到哪1-2个关键词?全班将共同生成文字云!
What 1-2 keywords come to mind when you think of 'future technology'? Let's create a class word cloud!
请用 1-2 个词来形容你这段时间的ICT学习体验。
Use 1–2 words to describe your ICT learning experience recently.
📌 词语可以是感受、学到的知识、你喜欢的活动、形容课程的形容词等。
Your words can be feelings, topics you’ve learned, favorite activities, or any adjectives that describe the class.
✍️ 请写在下方答题区域,所有同学的回答将被生成一张“文字云”。
Write your words below — we’ll generate a word cloud!
✏️ 超简单画画题 · Simple Drawing Task
请用鼠标画一台你上课常用的设备,比如:电脑、鼠标、键盘或micro:bit主板。
Use your mouse to draw one device you often use in class, such as a computer, mouse, keyboard, or micro:bit board.
🖼️ 要求 Requirements:
鼠标手绘,越简单越好(比如矩形加标签)
Draw with your mouse — simple shapes and labels are enough.请在图上加一个标签写出设备名称(如:“电脑” / "Computer")
Add a label with the device name (e.g., “Computer”).不计分,只为趣味与表达!
This is just for fun — no score involved!
💡 举个例子 Example:
一个大长方形代表显示器,下面画一个小方块代表主机,写上“电脑 Computer”
一个小长方形,加上几颗点点,写“micro:bit主板 micro:bit”

