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

Year 7 WJEC Computer Science: In-Depth Analysis of Past Papers | Year 7 WJEC 计算机:历年真题深度解析

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

📚 Year 7 WJEC Computer Science: In-Depth Analysis of Past Papers | Year 7 WJEC 计算机:历年真题深度解析

WJEC's Year 7 Computer Science curriculum introduces foundational concepts that build the bedrock for future study. This article dissects typical past paper questions, revealing common pitfalls and effective strategies. By working through real exam-style problems, students gain not only knowledge but also the analytical skills required to excel.

WJEC 七年级计算机科学课程介绍了为未来学习奠定基础的基本概念。本文剖析典型的历年真题,揭示常见陷阱和高效解题策略。通过练习真实的考试风格问题,学生不仅能获得知识,还能培养取得优异成绩所需的分析能力。

1. Binary Basics: Crack the Code | 二进制基础:破解代码

A typical WJEC question asks: "Convert the denary number 29 into an 8-bit binary number." r has exactly 8 digits. Here, 29 = 16 + 8 + 4 + 1, so bits at positions 128,64,32 are 0; 16,8,4,1 are 1; position 2 is 0. Result: 00011101.

一道典型的 WJEC 题目是:"将十进制数 29 转换为 8 位二进制数。"许多学生急于作答而忘记用前导零填充。正确的方法是找到最大的适配 2 的幂,填位,并确保答案恰好有 8 位数字。此处 29 = 16 + 8 + 4 + 1,所以 128、64、32 位为 0;16、8、4、1 位为 1;2 位为 0。结果是 00011101。

The reverse conversion is equally tested: "What denary number does 01011010 represent?" 4 + 0*32 + 1*16 + 1*8 + 0*4 + 1*2 + 0*1 = 64+16+8+2 = 90. Never add the zero-place values.

逆向转换同样会被考到:"二进制数 01011010 代表什么十进制数?"将每一位乘以其位值相加:0*128 + 1*64 + 0*32 + 1*16 + 1*8 + 0*4 + 1*2 + 0*1 = 64+16+8+2 = 90。千万不要加上零位值的部分。

Bit position1286432168421
Binary01011010
Value0640168020

Denary sum: 64+16+8+2 = 90. Keep a clear conversion table during revision.

十进制总和:64+16+8+2 = 90。复习时保持清晰的转换表。


2. Flowchart Traps: Following the Logic | 流程图陷阱:遵循逻辑

cludes a flowchart with decision diamonds and process rectangles. A classic past question: "A program counts from 1 to 10, adding only odd numbers. Draw and trace the flowchart." tart with a start terminal, then initialise count=1, total=0. The decision: is count <= 10? If yes, another decision: is count odd? otal = total + count. Then increment count by 1 and loop back. If count >10, output total.

WJEC 常常会出包含判断菱形和处理矩形的流程图题。一道经典的历年题目是:"一个程序从 1 数到 10,只加奇数。绘制并追踪该流程图。"许多学生忘记初始化总和变量或弄错循环条件。从开始终端开始,然后初始化 count=1,total=0。判断:count <= 10 吗?如果是,再判断:count 是奇数吗?如果是,total = total + count。然后 count 增加 1 并循环回去。如果 count >10,输出 total。

; count=8 skip; count=9 total=25; count=10 skip. Then count=11 exits loop, output 25. The sum of odd numbers 1+3+5+7+9 = 25. Always show your tracing table in the answer.

追踪运行:count=1(奇)total=1;count=2(偶)跳过;count=3 total=4;count=4 跳过;count=5 total=9;count=6 跳过;count=7 total=16;count=8 跳过;count=9 total=25;count=10 跳过。然后 count=11 退出循环,输出 25。奇数之和 1+3+5+7+9 = 25。回答时务必展示你的追踪表。

StepCountTotal beforeOdd?Total after
110Yes1
221No1
331Yes4
...............
101016No16
Exit1116-Output 25

3. Input-Process-Output: The IPO Model | 输入-处理-输出:IPO 模型

like a cinema ticket system and asks for the inputs, processes, and outputs. For example, "A program calculates the cost of tickets: adult £10, child £5. It asks for the number of adults and children." Output: display total. Many students fail to distinguish between data used internally and what the user types.

考试中常见的任务是给出一个电影院售票系统的场景,要求指出输入、处理和输出。例如,"一个程序计算票价:成人 10 英镑,儿童 5 英镑。它要求输入成人和儿童的数量。" 输入是两个数字。处理:total = (adults × 10) + (children × 5)。输出:显示 total。许多学生未能区分内部使用的数据和用户输入的内容。

numAdults * 10 + numChildren * 5. OUTPUT total. The exam might also ask you to identify constant values (ticket prices) and variables (quantities, total). Always underline constants in your answer.

另一个陷阱:忘记将输入存储到变量中。在伪代码中必须写出:INPUT numAdults, INPUT numChildren。处理:set total = numAdults × 10 + numChildren × 5。输出 total。考试还可能会要求你识别常数值(票价)和变量(数量、总计)。回答时要给常量加下划线。


4. Sequencing, Selection, Iteration: The Three Amigos | 顺序、选择、迭代:三个火枪手

WJEC past papers love to test differentiation between these three programming constructs. A question might say: "Explain why a traffic light system uses both selection and iteration." Selection is used to decide which light to turn on (if condition then ...), while iteration repeats the sequence infinitely (while true do ...). Many pupils confuse selection (if-else) with iteration (loops) because both involve decision-making, but selection does not repeat by default.

WJEC 历年真题喜欢测试这三种编程结构的区别。题目可能会说:"解释为什么交通灯系统同时使用了选择和迭代。"选择用于决定开启哪盏灯(如果满足条件则...),而迭代则无限重复该序列(当 true 循环)。许多学生因两者都涉及决策而混淆选择(if-else)与迭代(循环),但选择默认不重复。

A classic follow-up: "Write pseudocode for a light that stays green for 30 seconds during daylight but 60 seconds at night." This requires a selection inside an infinite loop: while true do if isDaylight then set green for 30 else set green for 60. The sequence runs forever. Always check your loop condition: a missing exit can cause an endless loop, which is sometimes intentional but must be stated clearly in your answer.

经典的后续题:"编写伪代码,使一盏灯在白天保持绿灯 30 秒,夜间保持 60 秒。"这需要在无限循环中嵌入选择:while true do if isDaylight then 绿灯 30 秒 else 绿灯 60 秒。该序列永远运行。务必检查循环条件:缺少退出条件会导致无限循环,这有时是故意的,但必须在答案中明确说明。


5. Data Types and Variables: The Right Container | 数据类型与变量:合适的容器

Past questions require you to choose suitable data types for given scenarios. For example, "Which data type would you use to store a person's age?" Integer, not string or float, because age is a whole number. But for a phone number, even though it's made of digits, you use string because it might start with a 0 and no arithmetic is done on it. Common mistake: using integer for a postcode or a product code, which loses leading zeros.

历年真题要求你为给定场景选择合适的数据类型。例如,"你会使用哪种数据类型来存储人的年龄?"整型,不是字符串或浮点型,因为年龄是整数。但对于电话号码,虽然由数字组成,你仍要使用字符串,因为它可能以 0 开头且不对其进行算术运算。常见错误:对邮政编码或产品代码使用整型,导致丢失前导零。

Another favourite: real numbers vs. integer. A temperature reading can be decimal, so a float (real) is needed. Boolean stores true/false, ideal for "Has the user logged in?" An exam might give a table and ask you to tick the correct data type for each field. Practice matching context to data type.

另一个常考点:实数与整型。温度读数可以是小数,所以需要浮点型(实数)。布尔型存储真/假,非常适合"用户登录了吗?"。考试可能会给出一张表,要求你为每个字段勾选正确的数据类型。练习将上下文与数据类型匹配起来。

Data ItemSuitable TypeReason
Number of studentsIntegerWhole numbers only
Email addressStringContains letters and symbols
Price in poundsReal/FloatCan have pence (decimal)
Is a member?BooleanTrue or false only

广告 / Sponsored

6. Hardware: Naming and Function | 硬件:命名与功能

A typical WJEC question: "Kyle wants to scan a photograph into his computer. Name the device he needs and state whether it is an input, output, or storage device." Answer: scanner, input device. Many students mix up a printer (output) with a scanner, or call it a "photocopier". The exam expects precise technical names: "scanner" not "copy machine".

一道典型的 WJEC 题:"Kyle 想把一张照片扫描到他的电脑里。请说出他需要的设备,并说明它是输入设备、输出设备还是存储设备。"答案:扫描仪,输入设备。许多学生把打印机(输出)和扫描仪搞混,或者称之为"复印机"。考试期望的是精确的技术名称:"扫描仪"而不是"复印机"。

Another classic: "Which storage device would be best for transferring a 2GB video file between home and school?" Although USB flash drives are common, the question might want "USB memory stick" or "external hard drive". Beware of units: 2GB is too large for a CD (700MB) or older floppy disks. Emphasise portable, rewritable storage.

另一个经典题:"哪种存储设备最适合在家与学校之间传输一个 2GB 的视频文件?"虽然 USB 闪存盘很常见,但题目可能想要"USB 记忆棒"或"外接硬盘"。注意单位:2GB 对于 CD(700MB)或旧式软盘来说太大了。强调便携、可重写存储。

DeviceCategoryTypical Use
MonitorOutputDisplay visual information
MicrophoneInputCapture live audio
SSD (Solid State Drive)StorageFast internal storage

7. Networks: The Internet vs the Web | 网络:互联网与万维网

Past papers often test the distinction between the Internet and the World Wide Web. The Internet is the global network of connected computers (hardware and cables), while the Web is a collection of web pages accessed via the Internet using HTTP. A favourite question: "Explain why you cannot access the Web if your Internet connection is down." Because the Web relies on the Internet to transmit data; without the Internet, browsers cannot request pages.

历年真题经常测试互联网与万维网的区别。互联网是连接计算机的全球网络(硬件和线缆),而万维网是通过互联网并利用 HTTP 访问的网页集合。常考题:"解释为什么如果你的互联网连接断开了,你就无法访问万维网。"因为万维网依赖互联网来传输数据;没有互联网,浏览器就无法请求网页。

Students also need to define terms like ISP, router, and Wi-Fi. An ISP (Internet Service Provider) gives you access to the Internet. A router directs data packets between your home network and the ISP. Wi-Fi is a wireless networking technology, not the Internet itself. A common error is saying "Wi-Fi is the Internet." Remind pupils: Wi-Fi is just a way to connect without wires.

学生还需要定义诸如 ISP、路由器和 Wi-Fi 这样的术语。ISP(互联网服务提供商)为你提供互联网接入。路由器在你的家庭网络和 ISP 之间引导数据包。Wi-Fi 是一种无线网络技术,而非互联网本身。常见错误是说"Wi-Fi 就是互联网"。提醒学生:Wi-Fi 只是一种无需线缆的连接方式。


8. E-Safety: Spotting Phishing and Strong Passwords | 网络安全:识别网络钓鱼与强密码

A WJEC e-safety scenario usually involves a suspicious email. "You receive an email from your 'bank' asking for your password. Give two features that suggest it is a scam." Answers could include: generic greeting ("Dear Customer"), urgent language, spelling mistakes, and a request for personal details. The correct action is to delete the email and not click any links. Many pupils think replying to ask if it is genuine is safe – it is not.

WJEC 的网络安全情景题通常涉及可疑的电子邮件。"你收到一封来自你的'银行'的电子邮件,要求你提供密码。给出两个表明它是骗局的迹象。"答案可能包括:通用问候语("尊敬的客户")、紧急措辞、拼写错误以及索要个人信息。正确的做法是删除邮件,不要点击任何链接。许多学生认为回复询问是否真实是安全的——其实并不安全。

Strong passwords are another exam staple. A strong password has a mix of uppercase, lowercase, numbers, and symbols, and is at least 8 characters long. Avoid dictionary words, pet names, or birthdays. A WJEC question might ask: "Explain why 'Password123' is a weak password." Because it contains a common word and a predictable sequence of numbers; it would be easy to guess or crack with a dictionary attack.

强密码是另一个考试必备知识。强密码包含大小写字母、数字和符号的混合,且长度至少为 8 个字符。避免使用字典单词、宠物名字或生日。WJEC 的题目可能会问:"解释为什么 'Password123' 是一个弱密码。"因为它包含了一个常见单词和可预测的数字序列;用字典攻击很容易猜出或破解。


9. Databases: Records, Fields, and Searching | 数据库:记录、字段与搜索

based database question shows a table of students with fields: ID, Name, Class, and Score. "How many records are there?" counts the rows excluding the header. "Write a query to find all students in Class 7A with a Score above 80." The solution: SELECT * FROM Students WHERE Class = '7A' > 80. Many Year 7s forget the proper SQL structure or miss quote marks around text values.

典型的纸质数据库题会展示一个包含学生信息的表格,字段有:ID、姓名、班级和分数。"有多少条记录?"要数除表头外的行数。"编写查询语句,查找所有分数超过 80 分的 7A 班学生。"解法:SELECT * FROM Students WHERE Class = '7A' AND Score > 80。许多七年级学生会忘记正确的 SQL 结构或在文本值两边漏加引号。

They might also ask about primary keys. In the table, ID uniquely identifies each record, so it is the primary key. A common mistake is to suggest Name as the key, but names can be duplicated. Always pick a field that is guaranteed unique and unchanging.

还可能会问到主键。在表中,ID 唯一标识每条记录,因此它是主键。常见错误是建议将姓名作为主键,但姓名可能重复。始终选择保证唯一且不变的字段。


10. Computational Thinking: Decomposition and Abstraction | 计算思维:分解与抽象

A scenario such as "organising a school sports day" requires computational thinking. WJEC might ask: "Explain how decomposition could help you plan this event." Decomposition means breaking the complex problem into smaller, manageable tasks: booking the venue, arranging equipment, scheduling events, sending invitations. By tackling each part separately, the whole project becomes easier. Many pupils give vague answers; they must list specific subtasks to gain marks.

像"组织学校运动会"这样的场景需要计算思维。WJEC 可能会问:"解释分解如何帮助你规划这个活动。"分解是指将复杂问题拆分成更小、可管理的任务:预订场地、安排器材、排定赛事日程、发送邀请。通过单独处理每个部分,整个项目变得更容易。许多学生给出模糊的答案;他们必须列出具体的子任务才能拿分。

Abstraction is often confused with decomposition. Abstraction focuses on the essential details and hides unnecessary information. In the sports day example, abstraction would ignore the colour of the trophies and concentrate solely on who competes and the scores. A good answer: "Abstraction allows you to create a model of the event that only includes events, participants, and times, ignoring irrelevant details like weather forecasts."

抽象经常与分解混淆。抽象关注的是基本细节,忽略不必要的信息。在运动会例子中,抽象会忽略奖杯的颜色,只关注参赛者和分数。一个好的答案是:"抽象让你能够创建一个仅包含赛事、参赛者和时间的活动模型,忽略像天气预报这样的无关细节。"


11. Compression: Why Shrink Files? | 压缩:为何要缩小文件?

WJEC introduces lossless and lossy compression at a basic level. A question: "A photographer wants to email 20 high-quality images. Explain why she should compress them." Compression reduces file size, so the email will send faster and not exceed attachment size limits. Lossy compression (like JPEG) would reduce quality slightly but dramatically shrink size, which is acceptable for web use. Lossless (like PNG) preserves all data but reduces size less. Pupils often say "to make it smaller" without linking to practical benefits like faster transfer or less storage use.

WJEC 在基础层面介绍了无损和有损压缩。题目:"一位摄影师想通过电子邮件发送 20 张高质量图片。解释她为什么应该压缩它们。"压缩能减小文件大小,因此电子邮件发送更快,且不会超出附件大小限制。有损压缩(如 JPEG)会略微降低质量但能大幅缩小尺寸,这对网络使用是可接受的。无损压缩(如 PNG)保留所有数据,但缩小的幅度较小。学生通常只说"为了让文件更小",而没有联系到实际的好处,比如更快的传输速度或更少的存储空间占用。

A common error is thinking that compression always loses data. Make clear that "lossless" means no quality is sacrificed. The exam may give a table of file types and ask which uses lossy compression. JPEG, MP3 are lossy; PNG, ZIP are lossless.

一个常见的错误是认为压缩总是会丢失数据。要明确"无损"意味着没有质量损失。考试可能会给出一张文件类型表,询问哪种使用了有损压缩。JPEG、MP3 是有损的;PNG、ZIP 是无损的。


12. Tying It All Together: Mixed Question Strategy | 综合运用:混合题策略

Many past papers end with a multi-part scenario that combines several topics. For example, "Design a program for a library: books have ISBN, title, author, and loan status. Create a flowchart for checking out a book." You must identify inputs (ISBN), processes (check if book is available, update status to 'on loan'), outputs (confirmation message). Use a decision: if status is 'available' then update, else display 'unavailable'. Such questions test systematic thinking; they reward clear labelling and step-by-step logic. Always annotate your flowchart with comments. In pseudocode, use meaningful variable names like bookStatus, not just x. Revise by covering each topic then attempting one full mixed paper under timed conditions.

很多历年真题以融合多个主题的多部分情景题结束。例如,"为一个图书馆设计程序:图书有 ISBN、书名、作者和借阅状态。为借出图书创建一个流程图。"你必须识别输入(ISBN)、处理(检查图书是否可借,将状态更新为'已借出')、输出(确认信息)。使用判断:如果状态是'可借'则更新,否则显示'不可借'。这类问题考查系统性思维;清晰的标注和分步逻辑会得到加分。务必在流程图上添加注释。在伪代码中,使用有意义的变量名如 bookStatus,而不是仅用 x。复习时应覆盖每个主题,然后限时完成一套完整的混合卷。

Finally, remember that Year 7 WJEC exams are as much about problem-solving as they are about facts. Practice reading questions twice, highlighting command words like "state", "explain", "draw", and "compare". Each command word requires a different depth of answer. "State" wants a short point, "explain" requires reasoning. Good luck!

最后,请记住,七年级 WJEC 考试既考查知识也考查解决问题的能力。练习时阅读题目两次,圈出指令词如"陈述"、"解释"、"绘制"和"比较"。每个指令词要求不同深度的回答。"陈述"需要简短的要点,"解释"则需要推理。祝好运!

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

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

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

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