📚 Interdisciplinary Integrated Question Practice for Year 8 AQA Computer Science | 跨学科综合题型训练(Year 8 AQA 计算机)
This article bridges computer science with mathematics, science, geography, music, economics and ethics through a series of integrated practice questions designed for Year 8 students following the AQA curriculum. Each section presents a real‑world scenario that tests your ability to apply computational thinking across subjects, accompanied by step‑by‑step explanations. Working through these problems will strengthen your problem‑solving skills and deepen your understanding of how computing connects to other disciplines.
本文通过一系列针对 AQA Year 8 课程设计的综合练习题,将计算机科学与数学、科学、地理、音乐、经济学和伦理学联系起来。每个小节都呈现一个真实场景,检验你跨学科运用计算思维的能力,并配有逐步讲解。通过这些题目,你将提升解决问题的能力,加深对计算如何与其他学科相互关联的理解。
1. Binary Numbers and Mathematical Patterns | 二进制数与数学规律
Question: A digital thermometer records temperatures as 8‑bit binary integers. On a winter morning, the sensor reads 11110110₂. Assuming the system uses two’s complement to represent negative values, what is the temperature in degrees Celsius? Explain how you can verify your answer by converting back to binary.
题目:一个数字温度计以 8 位二进制整数记录温度。某个冬晨传感器读数为 11110110₂。假设系统采用补码表示负数,摄氏温度是多少?解释如何通过转换回二进制来验证答案。
all bits (00001001) and add 1: 00001001 + 1 = 00001010₂, which is 10 in decimal. Therefore, the original value is –10 °C. Verification: –10 in two’s complement 8‑ ading. This exercise links binary arithmetic with negative numbers studied in mathematics.
解答:在补码中,最高位指示符号。此处最高位为 1,因此数字为负数。求其绝对值:将所有位取反(00001001)再加 1:00001001 + 1 = 00001010₂,即十进制 10。因此原值为 –10 °C。验证:–10 的 8 位补码通过正数 10 (00001010) 取反 (11110101) 再加 1 得到 → 11110110,与读数一致。该练习将二进制算术与数学中的负数知识结合起来。
Two’s complement: –N = flip all bits of N, then add 1
补码:–N = 将 N 的所有位取反,再加 1
2. Algorithms and Sequences in Nature | 算法与自然数列
A sunflower’s seeds follow the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13… Write a pseudocode algorithm that outputs the first 15 terms of the Fibonacci sequence. Then, modify it to stop when a term exceeds 1000. Explain how this algorithm relates to mathematical sequences and iteration.
向日葵的种子排列遵循斐波那契数列:1, 1, 2, 3, 5, 8, 13… 编写一个伪代码算法,输出斐波那契数列的前 15 项。然后修改它,使得当某项超过 1000 时停止。解释该算法与数学中的数列和迭代有何关联。
Pseudocode example:
伪代码示例:
Set a ← 1, b ← 1
Print a, b
Repeat 13 times:
c ← a + b
Print c
a ← b
b ← c
stop when a term > 1000, replace the fixed loop with a while construct: while b ≤ 1000 do … This demonstrates iteration, variable updates and sequences — us mathematical pattern helps you see computing as a tool for exploring scientific models.
要当某项超过 1000 时停止,可以用当型循环代替固定循环:while b ≤ 1000 do … 这展示了迭代、变量更新和数列——这些都是计算和数学共有的核心思想。理解算法如何生成著名的数学模式,有助于你将计算视为探索科学模型的工具。
3. Logic Gates and Simple Circuits | 逻辑门与简单电路
In a home alarm system, the siren sounds when either a door sensor OR a window sensor is active AND the system is armed. Draw the logic circuit for this scenario using AND and OR gates, and complete a truth table for inputs Door (D), Window (W) and Armed (A). Relate this to electric circuits you study in science: a switch in series corresponds to an AND, while parallel switches model an OR.
在一个家庭报警系统中,当门传感器或窗传感器被触发且系统处于布防状态时,警笛响起。使用与门和或门画出该场景的逻辑电路,并完成输入门 (D)、窗 (W) 和布防 (A) 的真值表。联系科学课中的电路知识:串联开关对应与门,并联开关对应或门。
of D or W is 1. By linking logic gates to physical switches, you can see how computing principles describe real electrical behaviour. This cross‑curricular connection reinforces both Boolean logic and circuit analysis.
布尔表达式为 警笛 = (D OR W) AND A。真值表显示只有当 A=1 且 D 或 W 至少有一个为 1 时,警笛才为 1。通过将逻辑门与物理开关联系起来,你会发现计算原理能够描述真实的电气行为。这种跨学科联系同时强化了布尔逻辑和电路分析。
4. Representing Data in Science Experiments | 科学实验中的数据表示
A biology student measures the growth of a plant over 10 days, recording heights in mm: 12, 18, 25, 30, 38, 45, 50, 55, 62, 70. She stores the data in a 1‑D array. Write an algorithm that calculates the average growth per day. Discuss how data representation in a list relates to scientific data logging, and why using a computer instead of manual calculation reduces errors in large datasets.
一位生物科学生测量了植物 10 天的生长高度(毫米):12, 18, 25, 30, 38, 45, 50, 55, 62, 70。她将数据存储在一维数组中。编写一个计算日均生长量的算法。讨论列表这种数据表示如何与科学数据记录相联系,以及为什么使用计算机而非人工计算可以减少大数据集的错误。
Algorithm: total ← 0, then for each height in array, total ← total + height. After the loop, average growth per day = (last element – l results in spreadsheets. Computers automate repetitive calculations, minimising human error and allowing scientists to focus on interpretation rather than arithmetic.
算法:total ← 0,然后对数组中的每个高度,total ← total + height。循环结束后,日均生长量 = (最后一个元素 – 第一个元素) ÷ 9。或者迭代累加差值。结构化数据类型的使用反映了科学家如何在电子表格中组织实验结果。计算机自动执行重复计算,将人为错误降至最低,使科学家能专注于数据解读而非算术。
5. Cybersecurity and Human Behaviour | 网络安全与人类行为
Phishing emails often use psychological tricks to urge victims to click links. Given a dataset of 200 simulated emails labelled 'genuine' or 'phishing', explain how a simple machine learning model might be trained to detect phishing. Link this to your PSHE lessons on online safety and the psychology of persuasion, such as scarcity or authority.
钓鱼邮件常利用心理技巧催促受害者点击链接。给定一个包含 200 封标记为“真实”或“钓鱼”的模拟邮件数据集,解释如何训练一个简单的机器学习模型来检测钓鱼。将此与你 PSHE 课程中关于网络安全和说服心理学(如稀缺感或权威性)的知识联系起来。
A detection model would extract features: presence of urgent language, misspellings, suspicious links. Supervised learning would find patterns linking these features to the 'phishing' label. The same patterns are discussed in PSHE: attackers create a sense of urgency to bypass rational thinking. Computer science gives you tools to automate defence, but understanding human behaviour makes those tools much more effective.
检测模型会提取特征:是否存在紧急措辞、拼写错误、可疑链接。监督学习会找出这些特征与“钓鱼”标签之间的模式。PSHE 中讨论了相同的模式:攻击者制造紧迫感以绕过理性思考。计算机科学为你提供了自动防御的工具,但理解人类行为使这些工具更加有效。
6. Programming Music with Python | 用 Python 编程音乐
Sound waves can be represented digitally as sequences of samples. Using Python, you can generate a beep of a given frequency and duration. Write a short program that plays a simple melody (e.g., C4, D4, E4, F4, G4) using the winsound or similar library. Explain the link between musical notes, frequency and digital sampling – topics covered in both music and physics.
声波可以数字化表示为样本序列。使用 Python,你可以生成给定频率和时长的蜂鸣声。编写一个简短程序,使用 winsound 或类似库播放一段简单旋律(如 C4, D4, E4, F4, G4)。解释音符、频率和数字采样之间的联系——这些是音乐与物理课共同涵盖的主题。
iterate through it, calling winsound.Beep(freq, duration). This task unites music notation, physics of sound waves, and programming constructs such as lists and loops. It shows how computers store and reproduce real‑world analogue phenomena through digital representation.
代码框架:定义频率列表(C4=262 赫兹,D4=294 赫兹等),遍历列表并调用 winsound.Beep(频率, 时长)。该任务融合了音乐记谱、声波物理以及列表和循环等编程结构。它展示了计算机如何通过数字表示来存储和再现真实世界的模拟现象。
7. Networks and Geography | 网络与地理
The internet relies on undersea cables that connect continents. Research the locations of major fibre‑optic cable landing points and explain how network topology (e.g., mesh vs star) affects internet reliability when a cable is cut. Link your answer to geography case studies of natural disasters disrupting communications, and discuss how redundancy in network design can mitigate these risks.
互联网依赖连接大陆的海底光缆。研究主要光缆登陆点的位置,并解释网络拓扑(如网状与星型)在光缆被切断时如何影响互联网可靠性。将你的答案与自然灾害干扰通信的地理案例研究联系起来,并讨论网络设计中的冗余如何缓解这些风险。
Mesh networks provide multiple paths between nodes, so if one cable fails, data can reroute — much like how a road network offers detours when a bridge collapses. Star topologies have a single point of failure. Geography teaches us where physical risks exist (earthquake zones, volcanic regions). By combining network theory with geographical knowledge, engineers plan cable routes that avoid hazards and build redundant links, ensuring global connectivity remains robust.
网状网络在节点间提供多条路径,因此一条光缆故障时数据可重新路由——就像道路网络在桥梁倒塌时提供绕行路线一样。星型拓扑存在单点故障。地理学告诉我们物理风险所在(地震带、火山地区)。通过将网络理论与地理知识相结合,工程师规划避开危险的布线路径并建立冗余链路,确保全球连接保持稳健。
8. Computer Hardware and Economic Decisions | 计算机硬件与经济决策
Imagine your school has a budget of £3000 to upgrade its IT suite. You must choose between buying 30 mid‑range laptops (£200 each) or 20 high‑performance desktops (£350 each, plus £50 per display). Use a spreadsheet model to compare total costs and justify a recommendation based on educational needs. Incorporate economic concepts like opportunity cost and cost‑effectiveness from your business studies or economics lessons.
假设学校有 3000 英镑预算用于升级 IT 套件。你需要选择购买 30 台中端笔记本电脑(每台 200 英镑)或 20 台高性能台式机(每台 350 英镑,另加显示器每台 50 英镑)。使用电子表格模型比较总成本,并根据教育需求提出建议。融入商业或经济学课中的机会成本和成本效益等经济概念。
formulas: total Laptop = 30 × 200; total Desktop = 20 × (350+50). The laptop option costs £6000, exceeding the budget, so only £3000 would buy 15 laptops. The desktop option totals £8000; £ and vice versa. This exercise demonstrates how computational models aid financial decision‑making and how constraints shape resource allocation.
电子表格公式:笔记本总费用 = 30 × 200;台式机总费用 = 20 × (350+50)。笔记本方案花费 6000 英镑,超出预算,因此 3000 只能买 15 台。台式机方案总价 8000 英镑,3000 大约可买 7 台。两个方案都无法完全满足预算。选择笔记本的机会成本是放弃的台式机数量,反之亦然。该练习展示了计算模型如何辅助财务决策,以及约束如何塑造资源分配。
9. Ethical Dilemmas in Computing | 计算机伦理困境
A social media platform wants to use artificial intelligence to scan users’ posts and flag those indicating self‑harm. Discuss the conflict between user privacy and the duty of care, referencing both the Computer Misuse Act and principles from religious studies or philosophy (e.g., sanctity of life, utilitarianism). Propose a technical solution that balances these concerns using encryption or anonymised scanning.
某社交媒体平台想使用人工智能扫描用户帖子,并标记那些表示自我伤害的内容。讨论用户隐私与注意义务之间的冲突,引用《计算机滥用法》以及宗教研究或哲学中的原则(如生命神圣性、功利主义)。提出一种使用加密或匿名扫描来平衡这些关切的技术解决方案。
On one hand, scanning content invades privacy and could be seen as unauthorised access under the Computer Misuse Act if done without consent. On the other hand, protecting vulnerable users aligns with the ethical principle of preserving life. A compromise might involve on‑device scanning where the client app flags risky content before it is sent, or using differential privacy to detect patterns without reading individual messages. This blend of computing, law and ethics forces you to think beyond code.
一方面,扫描内容侵犯隐私,若未经同意可能被视为违反《计算机滥用法》的未授权访问。另一方面,保护弱势用户符合维护生命的伦理原则。一种折中方案可能是在设备端进行扫描,由客户端应用在内容发送前标记风险,或使用差分隐私在不读取个体消息的情况下检测模式。这种计算、法律与伦理的融合迫使你超越代码进行思考。
10. Flowcharts in Chemistry and Process Control | 化学与过程控制中的流程图
In chemistry, you learn about the Haber process for manufacturing ammonia. The reaction involves a loop where unreacted gases are recycled. Draw a flowchart that represents the process, including decision points for temperature and pressure. Explain how computerised control systems use sensor input and output to maintain optimal conditions, linking to your understanding of condition‑controlled loops in programming.
在化学中,你学习了制造氨的哈伯法。该反应涉及一个循环,未反应的气体被回收。绘制一个表示该过程的流程图,包括温度和压力的决策点。解释计算机控制系统如何使用传感器输入和输出来维持最佳条件,并联系你对编程中条件控制循环的理解。
Flowchart starts with 'Introduce N₂ and H₂', then 'Heat to 450°C, pressure 200 atm', then 'React in catalyst chamber'. A decision diamond asks 'Has yield reached target?'. If no, gases are recycled back. This mirrors a programming while loop or conditional statement. In industry, a computer monitors sensors and adjusts valves in real time, demonstrating how process control integrates computer hardware, software and scientific principles.
流程图起始于“引入 N₂ 和 H₂”,接着“加热至 450°C,加压 200 大气压”,然后“在催化室中反应”。决策菱形判断“产量是否达到目标?”。若否,气体被回收。这与编程中的当循环或条件语句相似。在工业中,计算机监控传感器并实时调节阀门,展示了过程控制如何整合计算机硬件、软件与科学原理。
11. Data Compression and Art | 数据压缩与艺术
formats (e.g., JPEG). Using a 4×4 pixel grid of colours as an example, demonstrate how run‑length encoding (RLE) compresses data. Discuss the trade‑ ic quality, and relate this to the pixel art you might create in an art and design lesson.
数字图像可以用无损(如 PNG)或有损格式(如 JPEG)存储。以一个 4×4 像素颜色网格为例,演示行程长度编码(RLE)如何压缩数据。讨论文件大小与艺术质量之间的权衡,并联系你在艺术与设计课上可能创作的像素画。
Imagine a row: red, red, red, blue. RLE stores this as (3, red), (1, blue) instead of four separate values, saving space. A complex painting with many colour changes compresses poorly with RLE, which is an example of how the content affects compression. In art, choosing a compressed format may blur fine details; understanding compression algorithms helps you make informed choices between sharpness and storage, blending computer science with visual creativity.
假设一行:红, 红, 红, 蓝。RLE 将其存储为 (3, 红), (1, 蓝) 而非四个单独的值,从而节省空间。一幅颜色变化丰富的复杂画作用 RLE 压缩效果不佳,这说明了内容如何影响压缩。在艺术中,选择压缩格式可能会模糊精细细节;理解压缩算法有助于你在清晰度与存储之间做出明智选择,将计算机科学与视觉创意融为一体。
12. Integrated Challenge: Smart Greenhouse | 综合挑战:智能温室
Design a computer‑controlled greenhouse that grows tomatoes. Your system must monitor temperature, soil moisture and light using sensors, and control a heater, irrigation valve and LED lamps. Draw a block diagram showing inputs, outputs and processing. Write pseudocode for the control logic that keeps temperature between 18°C and 25°C, moisture above 40%, and light on for 14 hours per day. Finally, reflect on how this project combines biology, environmental science and computing, and how it could help address food shortages in geography case studies.
设计一个计算机控制的温室来种植番茄。系统必须使用传感器监测温度、土壤湿度和光照,并控制加热器、灌溉阀门和 LED 灯。绘制显示输入、输出和处理的方块图。编写控制逻辑的伪代码,使温度保持在 18°C 至 25°C,湿度高于 40%,且每天光照 14 小时。最后,思考该项目如何综合生物、环境科学和计算,以及它如何帮助解决地理案例研究中的粮食短缺问题。
LDR) → Microcontroller → Actuators (heater relay, solenoid valve, LED driver). Pseudocode:
方块图:传感器(温度、湿度、光敏电阻)→ 微控制器 → 执行器(加热继电器、电磁阀、LED 驱动器)。伪代码:
while True:
read temperature
if temperature < 18: turn heater on
else if temperature > 25: turn heater off
read moisture
if moisture < 40%: open valve for 5 seconds
read light sensor, check clock
if daylight hours < 14 and light level low: turn LEDs on
wait 1 minute
This challenge encapsulates computational thinking, plant biology and climate control. In geography, you might study how automated greenhouses in arid regions boost crop yields using minimal water — a perfect example of technology solving real‑world interdisciplinary problems.
这项挑战融合了计算思维、植物生物学和气候控制。在地理中,你可能研究干旱地区的自动化温室如何用最少的水提高作物产量——这正是技术解决现实世界跨学科问题的完美范例。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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