← 返回资讯屏轩教育 · 行业资讯

Year 9 WJEC Computer Science: Interdisciplinary Problem-Solving Practice | 九年级 WJEC 计算机:跨学科综合题型训练

2026-07-19 01:01 · 本文部分内容由AI辅助创作

📚 Year 9 WJEC Computer Science: Interdisciplinary Problem-Solving Practice | 九年级 WJEC 计算机:跨学科综合题型训练

Computing does not exist in isolation. In the WJEC Year 9 curriculum, learners are expected to apply computational thinking and coding skills across subjects such as mathematics, science, geography, and design. This article presents a series of integrated exercises designed to strengthen your ability to solve real-world problems by blending programming with other disciplines. By working through these examples, you will build confidence in tackling the extended response and project-style questions common in assessments.

计算机并不是一门孤立的学科。在 WJEC 九年级课程中,学生需要将计算思维和编程技能应用到数学、科学、地理和设计等学科中。本文提供了一系列综合性练习,旨在通过将编程与其他学科结合,提升你解决实际问题的能力。通过完成这些示例,你将更有信心应对评估中常见的扩展回答和项目式问题。

1. Mathematics: Simulating Probability with Python | 数学:用 Python 模拟概率

Probability experiments can be slow to perform by hand. Write a Python program that simulates rolling two dice 10,000 times and calculates the experimental probability of rolling a double. Compare the result with the theoretical probability of 1/6. This task requires you to use the random module, loops, and counters, reinforcing both your coding and your understanding of relative frequency from maths lessons.

手动进行概率实验可能很耗时。编写一个 Python 程序,模拟投掷两个骰子 10,000 次,并计算出掷出双数的实验概率。将结果与理论概率 1/6 进行比较。这个任务需要你使用 random 模块、循环和计数器,同时巩固编程技能和数学课上学到的相对频率知识。


2. Mathematics: Graphing Linear Equations with Turtle | 数学:用 Turtle 绘制线性方程图像

1 by using the Turtle graphics library. Set up a coordinate system, loop through x values from -200 to 200, and plot each point. This exercise not only practices sequences and loops in programming but also deepens your understanding of gradient and intercept. Adjust the gradient variable and observe how the line changes—exactly the kind of exploration WJEC encourages.

你可以使用 Turtle 图形库将方程 y = 2x + 1 可视化。设定一个坐标系,让 x 值从 -200 循环到 200,并绘制每个点。这个练习不仅练习了编程中的顺序结构与循环,还加深了你对斜率和截距的理解。调整斜率变量的值并观察直线的变化——这正是 WJEC 鼓励的探索方式。


3. Science: Modelling Population Growth | 科学:模拟人口增长

In biology, you study how populations grow under ideal conditions. Write a program that starts with a population of 100 bacteria, which doubles every hour. Use a loop to display the population size for 24 hours. Then extend the model: introduce a carrying capacity so that growth slows as the population approaches 10,000. This models a logistic growth pattern and requires conditional statements and realistic constraints, tying together computer science and ecology.

在生物学中,你学习了理想条件下种群如何增长。编写一个程序,初始细菌数量为 100,每小时翻倍。使用循环显示 24 小时内每小时的种群数量。然后扩展模型:引入环境承载量,当种群接近 10,000 时增长速度减慢。这模拟了逻辑斯蒂增长模式,需要使用条件语句和现实的约束条件,将计算机科学与生态学联系起来。


4. Science: Periodic Table Element Lookup | 科学:元素周期表查找器

Create a dictionary-based lookup tool for the first 20 elements of the periodic table. The user enters an atomic number, and the program returns the element name, symbol, and atomic mass rounded to one decimal place. This task integrates data structures with chemical knowledge. You need to store the data accurately and format the output clearly, much like a scientific reference application.

创建一个基于字典的查找工具,用于查询前 20 号元素。用户输入原子序数,程序返回元素名称、符号以及四舍五入到一位小数的原子质量。这个任务将数据结构与化学知识相结合。你需要准确存储数据并清晰地格式化输出,就像一款科学参考应用一样。


5. Science: Motion with Constant Acceleration | 科学:匀加速运动计算

eturns the displacement. Then call this function in a loop to generate a table of displacements for times 0 to 10 seconds, with u = 5 m/s and a = 2 m/s². The use of functions and formatted output connects algorithmic thinking to the structured nature of physics problems.

来自物理学,方程 s = ut + ½at² 用于计算位移。编写一个函数,接受初速度 u、加速度 a 和时间 t,返回位移值。然后在循环中调用该函数,生成时间从 0 到 10 秒的位移表格,设 u = 5 m/s,a = 2 m/s²。函数的使用和格式化输出将算法思维与物理问题的结构化特性联系起来。


6. Geography: Flood Risk Calculator | 地理:洪水风险计算器

Given the annual rainfall in millimetres and the river's current water level as a percentage of bankfull, design a program that classifies flood risk as 'Low', 'Moderate', or 'High'. For instance, if rainfall exceeds 200 mm and the water level is above 80%, the risk is 'High'. This decision-making exercise mimics the logic used in environmental modelling and requires compound conditions, reflecting WJEC's emphasis on practical logic building.

给定年降雨量(以毫米计)和河流当前水位(以满水位百分比计),设计一个程序将洪水风险分为“低”、“中”或“高”。例如,如果降雨量超过 200 毫米且水位超过 80%,风险为“高”。这个决策练习模拟了环境建模中使用的逻辑,并需要使用复合条件,体现了 WJEC 对实用逻辑构建的重视。


广告 / Sponsored

7. Geography: World Population Data Analysis | 地理:世界人口数据分析

Read a CSV file containing country names and populations for 2023. Write a program to output the top 5 most populous countries and the total world population. This task combines file handling with lists and sorting algorithms. You learn how programming can process large datasets, just as geographers analyse demographic trends. Make sure you handle the file-not-found error gracefully to meet WJEC assessment criteria.

读取一个包含 2023 年国家名称和人口的 CSV 文件。编写程序输出人口最多的 5 个国家以及世界总人口。这个任务将文件处理与列表和排序算法相结合。你将了解编程如何处理大型数据集,正如地理学家分析人口趋势一样。确保你要优雅地处理“文件未找到”错误,以符合 WJEC 评估标准。


8. Art & Design: Random Geometric Art Generator | 艺术与设计:随机几何艺术生成器

Using the Turtle library, create an algorithm that draws a pattern of random coloured squares, circles, and triangles at random positions on the canvas. Each shape should have a randomly selected colour from a predefined palette. This merges creativity with procedural generation, encouraging you to think about how artists and designers use code. The WJEC specification values an understanding of computing's role in creative industries.

使用 Turtle 库,创建一个算法,在画布上的随机位置绘制由随机彩色正方形、圆形和三角形组成的图案。每个形状应从预定义的调色板中随机选择颜色。这将创意与程序化生成相结合,促使你思考艺术家和设计师如何使用代码。WJEC 大纲重视理解计算在创意产业中的作用。


9. Design & Technology: Material Cost Calculator | 设计技术:材料成本计算器

Design a program that calculates the total cost of plywood sheets needed to build a set of shelves. The user enters the number of shelves, the dimensions of one shelf, and the sheet size. The program should work out how many sheets to buy and apply a 10% wastage allowance. This real-world application links programming to product design and requires integer division and rounding up, a common challenge in cross-curricular projects.

设计一个程序,计算制作一组书架所需胶合板的总成本。用户输入书架数量、单个书架的尺寸以及板材尺寸。程序应计算出需要购买多少张板,并计入 10% 的损耗余量。这个真实世界的应用将编程与产品设计联系起来,需要用到整除和向上取整,这是跨学科项目中常见的挑战。


10. Music: Note Frequency and Melody | 音乐:音符频率与旋律生成

Musical notes correspond to specific frequencies; for example, middle A is 440 Hz. Create a program that plays a simple melody using the winsound module (or playsound on other platforms) and a list of frequencies. Then allow the user to input a sequence of note names (like C, D, E) and hear it played back. This exercise links computing with music theory, providing a hands-on demonstration of how digital audio works, a topic that bridges WJEC IT and creative media.

音符对应特定的频率;例如,中央 A 是 440 Hz。创建一个程序,使用 winsound 模块(或其他平台上的 playsound)和频率列表来播放一段简单的旋律。然后允许用户输入一串音符名称(如 C、D、E)并收听回放。这个练习将计算机科学与音乐理论联系起来,提供了数字音频工作原理的动手演示,这也是连接 WJEC 信息技术与创意媒体的话题。


11. Languages: Vocabulary Quiz with Scoring | 语言:带评分的词汇测验

Build a bilingual vocabulary quiz that stores word pairs in a dictionary. The program randomly selects a word from one language and asks the user to type the translation. Keep score and give a percentage at the end. To make it more robust, accept variations in case and whitespace. This type of string handling and data storage mirrors the pattern you might use for a modern languages revision tool, aligning with WJEC’s focus on user-centred design.

构建一个双语词汇测验,将词对存储在字典中。程序从一种语言中随机选择一个单词,并要求用户输入翻译。记录得分并在结束时给出正确率百分比。为了使程序更健壮,接受大小写和空格的变化。这种字符串处理和数据存储方式映照了你为现代语言复习工具可能使用的模式,符合 WJEC 对以用户为中心的设计的关注。


12. Cross-Curricular Project: Smart Home Energy Monitor | 跨学科项目:智能家居能源监测器

Combine skills from all areas into one final challenge. Design a text-based simulation that records daily electricity usage for a week. Based on the data, calculate the average, identify the highest usage day, and suggest an energy-saving tip if usage exceeds a threshold. Use lists, loops, and conditional logic. This project mirrors the sort of integrated task you might see in a WJEC NEA (Non-Exam Assessment) and demonstrates how computing can solve sustainability problems drawn from geography and science.

将所有领域的技能整合到一个终极挑战中。设计一个基于文本的模拟,记录一周内每日的用电量。根据数据计算平均值,找出用电量最高的一天,并在用电量超过阈值时给出节能建议。使用列表、循环和条件逻辑。这个项目模仿了你可能在 WJEC NEA(非考试评估)中看到的综合性任务,展示了计算机如何解决源自地理和科学的可持续发展问题。


Published by TutorHao | WJEC Computer Science Revision Series | aleveler.com

广告 / Sponsored
Linux高级程序设计(高等院校计算机技术十二五规划教材)/刘加海/季江民/浙江大学出版社
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥55.6

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao