📚 Year 9 Edexcel Computer Science: Interdisciplinary Integrated Problem-Solving Practice | 跨学科综合题型训练
In Edexcel Year 9 Computer Science, you often meet questions that combine computing concepts with other subjects like maths, science or geography. This article presents a set of cross-curricular practice problems designed to strengthen your computational thinking and problem-solving skills across disciplines. Each section gives you a typical exam-style task followed by a clear explanation.
在Edexcel九年级计算机科学课程中,你经常会遇到将计算概念与数学、科学或地理等其他学科相结合的题目。本文提供一系列跨学科练习题,旨在锻炼你的计算思维和跨领域解决问题的能力。每个部分都会给出典型的考试风格任务,并附上清晰的解释。
1. Mathematics and Binary Equations | 数学与二进制方程
Binary-to-denary conversion is a core skill. A classic interdisciplinary question links this with solving simple equations. For example: 'If x in denary is equal to the binary number 1101₂, work out the value of 2x - 3.'
二进制转十进制是一项核心技能。一个经典的跨学科问题就是将其与解简单方程联系起来。例如:“如果十进制数x等于二进制数1101₂,计算2x - 3的值。”
²) + (0×2¹) + (1×2⁰) = 8 + 4 + 0 + 1 = 13. So x = 13. Then compute 2×13 - 3 = 26 - 3 = 23.
首先转换1101₂:(1×2³) + (1×2²) + (0×2¹) + (1×2⁰) = 8 + 4 + 0 + 1 = 13。因此x = 13。然后计算 2×13 - 3 = 26 - 3 = 23。
y = 45, then write y as an 8-bit binary number. y = 9, and 9 in 8-bit binary is 00001001₂.
另一个任务可能让你求方程解的二进制表示。解 5y = 45,然后将y写成8位二进制数。y = 9,9的8位二进制是00001001₂。
2. Physics Simulation: Constant Velocity | 物理模拟:匀速运动
Algorithms help model simple physics. A common question provides pseudocode that calculates the position of a moving object. Study this pseudocode:
算法有助于模拟简单的物理过程。一个常见题目是提供计算运动物体位置的伪代码。请研究以下伪代码:
position ← 0
velocity ← 5
FOR time ← 1 TO 4
position ← position + velocity
ENDFOR
OUTPUT position
osition = 20. This reinforces variable assignment and loop behaviour in a physics context.
你需要跟踪循环并预测最终位置。每次迭代给position加5。4次迭代后,position = 20。这在物理情境中强化了变量赋值和循环行为。
Extension: The object starts with initial velocity 2 m/s and accelerates by 1 m/s each second. Adapt the pseudocode using a loop to update velocity and position. This blends kinematic equations with algorithmic design.
扩展:物体初速度为2 m/s,每秒加速1 m/s。修改伪代码,用循环更新速度和位置。这样把运动学方程与算法设计结合了起来。
3. Biology Classification Using Decision Trees | 生物分类使用决策树
Classification keys are similar to decision tree algorithms. A question may give you a set of animal features and ask you to construct a decision tree to identify each species. For instance, features include: has fur, lays eggs, can fly, lives in water.
分类检索表类似于决策树算法。题目可能给出一组动物特征,让你构造一棵决策树来识别每个物种。例如,特征包括:有皮毛、产卵、会飞、生活在水中。
You can design a tree: first node asks 'Lays eggs?'. If yes, next node 'Can fly?' leads to bird or insect. If no, node 'Has fur?' splits into mammal or reptile. This exercise builds logical thinking used in nested IF statements.
你可以设计一棵树:第一个节点问“产卵吗?”。如果是,下一个节点“会飞吗?”导向鸟或昆虫。如果否,节点“有皮毛吗?”分出哺乳动物或爬行动物。这个练习培养了嵌套IF语句所需的逻辑思维。
Write the tree as pseudocode:
IF laysEggs = True THEN
IF canFly = True THEN OUTPUT "Bird"
ELSE OUTPUT "Insect"
ELSE IF hasFur = True THEN OUTPUT "Mammal"
ELSE OUTPUT "Reptile"
4. Chemistry: Atomic Number Lookup with Lists | 化学:用列表进行原子序数查询
Data structures like arrays allow storage of information. You might be asked to write a program that, given an element symbol, returns its atomic number using two parallel lists. This mimics a simple database query.
数组等数据结构可以存储信息。你可能会被要求写一个程序,输入元素符号,使用两个平行列表返回其原子序数。这模拟了简单的数据库查询。
Example lists: symbols = ['H', 'He', 'Li', 'Be' rint the corresponding atomic number. This merges chemistry knowledge with list traversal.
示例列表:symbols = ['H', 'He', 'Li', 'Be'],numbers = [1, 2, 3, 4]。一个Python函数可以遍历symbols列表,当输入匹配时,打印对应的原子序数。这结合了化学知识与列表遍历。
Extension: order the elements by atomic number and implement binary search for faster lookup, a typical Year 9 algorithm challenge.
扩展:将元素按原子序数排序,并实现二分查找以加快查询,这是典型的九年级算法挑战。
5. Geography: Calculating Average Rainfall from Data | 地理:从数据计算平均降雨量
Processing real-world data is a vital skill. A question may give you a CSV dataset of monthly rainfall in a location and ask you to calculate the total and average rainfall using a program. You might write a loop to sum the values and divide by 12.
处理真实数据是重要的技能。题目可能给出某地月降雨量的CSV数据集,要求用程序计算总降雨量和平均降雨量。你可以写一个循环对数值求和,再除以12。
Pseudocode:
total ← 0
FOR each month IN [78, 65, 89, 110, 95, 60, 45, 70, 85, 120, 105, 90]
total ← total + month
ENDFOR
average ← total / 12
OUTPUT average
Here the student connects climate data analysis with accumulation algorithms. You could also identify the maximum and minimum values, reinforcing conditional checks.
学生在这里将气候数据分析与累加算法联系起来。你还可以找出最大值和最小值,强化条件判断。
6. History: Caesar Cipher Encryption | 历史:凯撒密码加密
Encryption has roots in ancient history. The Caesar cipher shifts each letter by a fixed amount. A cross-curricular task asks you to encrypt a plaintext message like 'VENI VIDI VICI' with a shift of 3. You need to understand character manipulation and ASCII values.
加密技术起源于古代历史。凯撒密码将每个字母移动固定位数。一个跨学科任务要求你用移位3加密明文消息“VENI VIDI VICI”。你需要理解字符操作和ASCII值。
tters, wrapping around the alphabet. For shift 3, V → Y, E → H, N → Q, I → L, etc. Result: 'YHQL YLGL YLFL'. This combines history with string processing.
在Python中,你可以使用ord()和chr()来移动字母并回绕字母表。移位3后,V变Y,E变H,N变Q,I变L等等。结果:“YHQL YLGL YLFL”。这样把历史与字符串处理结合起来。
Decrypting a message with a known shift uses reverse shift, a nice exercise in modular arithmetic within computer science.
用已知移位解密消息需要使用反向移位,这是计算机科学中模运算的很好练习。
7. Financial Literacy: Compound Interest Algorithm | 金融素养:复利算法
Computing compound interest is a perfect application of loops. A problem states: 'Invest £500 at 4% annual interest compounded yearly. How much is in the account after 5 years?' You can model this with a FOR loop.
计算复利是循环的绝佳应用。题目说:“投资500英镑,年利率4%,每年复利一次。5年后账户有多少钱?”你可以用FOR循环来建模。
500. Each year, balance = balance × 1.04. After 5 iterations, output the final balance (≈ £ sk supports financial education and reinforces floating-point arithmetic and loop control.
算法:初始余额balance = 500。每年,balance = balance × 1.04。5次迭代后输出最终余额(约608.33英镑)。这道题支持金融教育,并强化了浮点运算和循环控制。
ach month balance = balance + 50, then apply monthly interest. This requires nested loops.
为了更真实,可加入每月供款:每月balance = balance + 50,然后按月计算利息。这需要嵌套循环。
8. Music: Generating Note Frequencies | 音乐:生成音符频率
Sound frequencies follow mathematical patterns. A cross-curricular question might ask you to generate the frequency of an A note (440 Hz) and then compute frequencies for subsequent octaves using programming. Frequencies double each octave: 440, 880, 1760 Hz.
声音频率遵循数学规律。一个跨学科问题可能要求你生成A音频率(440 Hz)并利用编程计算后续八度的频率。每个八度频率翻倍:440、880、1760 Hz。
05946) to get each semitone. This links music theory with iterative calculation in a list.
你还可以生成平均律音阶:乘以2的12次方根(约1.05946)得到每个半音。这通过列表中的迭代计算把音乐理论与计算联系起来。
ting from A₄ = 440 Hz. This develops array handling and precise floating-point operations.
写出伪代码,从A₄=440 Hz开始,用12个半音频率填充一个数组。这训练了数组处理和精确的浮点运算。
9. Art and Design: ASCII Patterns with Loops | 艺术与设计:用循环生成ASCII图案
Nested loops are powerful for creating text-based graphics. An integrated task may ask you to use Python to draw a triangle of stars. For example, a right-angled triangle with 5 rows:
嵌套循环功能强大,可用于创建基于文本的图形。综合任务可能要求你用Python绘制星号三角形。例如,5行直角三角形:
*
**
***
****
*****
The code uses an outer loop for rows and an inner loop for printing multiple stars. This combines artistic pattern design with control structures.
代码使用外循环控制行,内循环打印多个星号。这结合了艺术图案设计和控制结构。
Challenge: create a symmetric pyramid. You need to print spaces before stars. This adds spatial reasoning and careful counting of iterations, linking geometry with programming.
挑战:创建对称金字塔。你需要在星号前打印空格。这增加了空间推理和仔细计算迭代次数,将几何与编程联系起来。
10. Technology: Logic Gates for Simple Circuit | 技术:简单电路的逻辑门
Boolean logic underpins computer hardware. An interdisciplinary problem may describe a real-world system: a greenhouse fan turns on if it is hot AND humid, or if the manual switch is ON. Write the Boolean expression and truth table.
布尔逻辑是计算机硬件的基础。一个跨学科问题可能描述一个真实系统:温室风扇在温度高且湿度大,或手动开关打开时启动。写出布尔表达式和真值表。
th table with 8 rows and observe when output is 1. This merges technology design with logical reasoning.
设A=热,B=潮湿,C=手动开关。风扇 = (A AND B) OR C。构建8行真值表,观察输出为1的情况。这结合了技术设计与逻辑推理。
You could also draw the logic gate diagram using the standard symbols for AND and OR gates. This is typical in an Edexcel exam on computer systems.
你还可以用标准的与门和或门符号绘制逻辑门图。这在Edexcel计算机系统考试中很典型。
11. Physical Education: Recording and Sorting Sprint Times | 体育:记录并排序短跑时间
Sports analytics often uses sorting. A PE-related question might give you a list of 100-metre sprint times in seconds: [12.4, 11.2, 13.1, 10.9, 11.7] and ask you to sort them using bubble sort and find the fastest three runners.
体育分析经常使用排序。一个与体育相关的问题可能给出100米短跑时间(秒):[12.4, 11.2, 13.1, 10.9, 11.7],并要求你用冒泡排序进行排序,找出最快的三名选手。
Implementing bubble sort involves comparing adjacent elements and swapping if they are out of order. This programming task links with physical education data and emphasises algorithmic efficiency evaluation.
实现冒泡排序涉及比较相邻元素,如果顺序错误就交换。这个编程任务与体育数据关联,并强调算法效率评估。
After sorting in ascending order (fastest first), you can simply output the first three values. This is a great way to practice list sorting algorithms in a motivating context.
按升序排序(最快在前)后,你可以直接输出前三个值。这是在激励性语境中练习列表排序算法的好方法。
12. Cross-Curricular Project: Smart Greenhouse Monitoring | 跨学科项目:智能温室监控
A capstone task might integrate sensors, data logging and automation. Describe how a Raspberry Pi system reads temperature, humidity and soil moisture sensors every 10 minutes and logs the data to a CSV file. Then write a program to analyse this data and decide when to water the plants.
一个综合性任务可能集成传感器、数据记录和自动化。描述一个树莓派系统如何每10分钟读取温度、湿度和土壤湿度传感器,并将数据记录到CSV文件中。然后写一个程序分析这些数据并决定何时给植物浇水。
The decision rule: if soil moisture < 30% AND temperature > 25°C, then activate water pump for 5 seconds. You need to design the algorithm using IF statements and file reading loops. This blends biology, computing and electronic control.
决策规则:如果土壤湿度 < 30% 且温度 > 25°C,则启动水泵5秒。你需要使用IF语句和文件读取循环设计算法。这融合了生物、计算和电子控制。
Such a project encourages you to think like a systems engineer, combining multiple subjects into one working solution, which is at the heart of computer science education.
这样的项目鼓励你像系统工程师一样思考,将多个学科结合成一个可行的解决方案,这正是计算机科学教育的核心。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

或截图后用「扫一扫 → 相册」选择本图