📚 Year 8 WJEC Computer Science: In-Depth Analysis of Past Papers | 八年级 WJEC 计算机科学:历年真题深度解析
Past papers are one of the most powerful tools for mastering WJEC Year 8 Computer Science. They reveal recurring question styles, key command words, and the depth of explanation examiners expect. This in-depth analysis walks you through real exam-style questions, breaking down the core concepts behind binary, algorithms, hardware, networks, and more. By understanding exactly what the paper is testing, you can turn a tricky question into an easy mark.
历年真题是掌握 WJEC 八年级计算机科学的最有力工具之一。它们揭示了反复出现的题型、关键的指令词以及考官期望的解释深度。这篇深度解析将带你逐一剖析真实的考试题目,深入讲解二进制、算法、硬件、网络等核心概念。只有真正理解每道题的考查意图,你才能把难题变成送分题。
1. Understanding Binary and Denary Numbers | 理解二进制与十进制数字
A typical past paper question asks: “Convert the binary number 1011 to denary.” To solve this, label the columns from right to left with powers of 2: 8, 4, 2, 1 (2³, 2², 2¹, 2⁰). Then multiply each bit by its column value and add the results. For 1011, the calculation is (1×8) + (0×4) + (1×2) + (1×1) = 8+0+2+1 = 11. Many students lose marks by labelling the columns in the wrong order, so always write down the place values 8-4-2-1 above every binary digit.
常见的真题会要求:“将二进制数 1011 转换为十进制。”解题时,从右到左用 2 的幂次标注数位:8, 4, 2, 1(即 2³, 2², 2¹, 2⁰)。然后把每个比特乘以所在数位的值再相加。对于 1011,计算过程为 (1×8)+(0×4)+(1×2)+(1×1)=8+0+2+1=11。很多同学因为数位顺序标反而丢分,所以务必在每一个二进制数字上方标注 8-4-2-1 的位置值。
Denary to binary conversion often appears as a table completion task. For example, convert 14 to an 8-bit binary number. Draw eight columns (128, 64, 32, 16, 8, 4, 2, 1). Place a 1 under each value that fits into 14: you can use 8+4+2, so bits under 8, 4 and 2 become 1, others are 0, giving 00001110. Always show leading zeros if the question asks for 8 bits, as omitting them may not gain full credit.
十进制转二进制经常以填表题出现。比如,把 14 转换为 8 位二进制数。画出八个竖列(128, 64, 32, 16, 8, 4, 2, 1)。在能凑出 14 的数值下方写 1:可以用 8+4+2,因此 8、4、2 下的比特为 1,其余为 0,得到 00001110。如果题目要求 8 位,一定要写出前导零,省略可能导致无法拿到全部分数。
2. Converting Between Number Bases | 数制之间的转换
WJEC Year 8 papers also feature conversions to hexadecimal. A common question asks: “Convert the binary number 1101 0110 into hexadecimal.” Split the binary into nibbles (groups of 4): 1101 and 0110. 1101 equals 13 in denary, which is D in hex; 0110 equals 6. Therefore the answer is D6. Always work from right to left when grouping, and add extra zeros on the left if the number of bits is not a multiple of four.
WJEC 八年级试卷也会考查十六进制转换。常见题目如:“将二进制数 1101 0110 转换为十六进制。”将二进制数分成半字节(4 位一组):1101 和 0110。1101 等于十进制 13,在十六进制中为 D;0110 等于 6。因此答案是 D6。分组时一定要从右往左,如果位数不是 4 的倍数,在最左侧补零即可。
You may also be asked to convert denary directly to hex. A quick method is to convert the denary number to binary first, then to hex. For example, 47 in denary → binary 0010 1111 (32+15). Grouped as 0010=2, 1111=F, giving 2F. Examiner reports show students confuse hex letters above 9; memorise that 10=A, 11=B, 12=C, 13=D, 14=E, 15=F. Use the mnemonic A Big Cat Dances Every Friday if it helps.
你还可能遇到将十进制直接转换为十六进制的题目。快捷方法是先把十进制转为二进制,再转为十六进制。例如,十进制 47 → 二进制 0010 1111(32+15)。分组为 0010=2,1111=F,得到 2F。考官报告指出,学生经常混淆超过 9 的十六进制字母;请牢记 10=A、11=B、12=C、13=D、14=E、15=F。可以用“A Big Cat Dances Every Friday”来助记。
3. Logic Gates and Truth Tables | 逻辑门与真值表
Past papers frequently include a logic gate question such as: “Complete the truth table for the gate shown.” You must recognise the symbols for AND, OR and NOT. AND outputs 1 only when both inputs are 1. OR outputs 1 when at least one input is 1. NOT takes a single input and inverts it. A standard two-input AND truth table looks like this:
真题经常包含逻辑门题目,例如:“补全所示门的真值表。”你必须能识别 AND、OR 和 NOT 的符号。AND 门仅当两个输入均为 1 时输出 1。OR 门至少有一个输入为 1 时输出 1。NOT 门只有一个输入并将其取反。标准的二输入 AND 真值表如下:
| A | B | A AND B |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
When faced with a combination of gates, break the circuit into stages. Label the output of each gate as an intermediate variable (e.g. P = A AND B), then feed that into the next gate. Exam tips: check whether the question expects you to write the Boolean expression (e.g. Q = (A AND B) OR C) or just the final truth table. Drawing a quick sketch next to the truth table helps avoid mistakes.
当面对多个门组合时,要把电路分成阶段。将每个门的输出标注为中间变量(例如 P = A AND B),再将其输入下一个门。考试建议:确认题目是要求写布尔表达式(例如 Q = (A AND B) OR C),还是仅补全真值表。在真值表旁边快速画一画草图有助于避免错误。
4. Algorithms and Flowcharts | 算法与流程图
A favourite exam task is to trace a flowchart to determine the output. A simple algorithm might: set total = 0, then for count from 1 to 5, add count to total. The output is total = 1+2+3+4+5 = 15. Students lose marks by forgetting the initial value or by misreading the loop condition. Underline the decision diamond and check whether the loop uses ≤ or < carefully.
考试中常见的一项任务是追踪流程图以确定输出。一个简单的算法可能是:设 total = 0,然后让 count 从 1 到 5,将 count 加到 total。输出 total = 1+2+3+4+5 = 15。学生常因忘记初始值或误读循环条件而丢分。在判断菱形下划线,仔细检查循环条件使用的是 ≤ 还是 <。
You may also need to identify flowchart symbols. The oval represents Start/End, the rectangle is a process (e.g. count ← count + 1), the parallelogram is input/output, and the diamond is a decision. Past papers often give a jumbled set of symbols and ask you to draw the correct flowchart for a given scenario, such as adding numbers until a zero is entered. Always use a loop and remember to place the decision before the process that relies on the condition.
你可能还需要识别流程图符号。椭圆形表示开始/结束,矩形表示处理步骤(如 count ← count + 1),平行四边形表示输入/输出,菱形表示判断。历年真题经常给出一组打乱的符号,要求你为特定场景画出正确的流程图,比如不断累加输入的数字直到输入 0 为止。务必使用循环,并记得把判断放在依赖该条件的处理步骤之前。
5. Programming Constructs in Python / Scratch | Python / Scratch 中的编程结构
Real exam questions ask you to spot errors in code or predict the output. A typical Python snippet might contain if x = 5: — this uses an assignment operator (=) instead of comparison (==). The correct line is if x == 5:. Another common mistake is forgetting a colon at the end of if, for or while statements. Practice reading error messages: ‘SyntaxError’ usually points to such slips.
真实的考试题目会要求你找出代码中的错误或预测输出。典型的 Python 代码片段可能包含 if x = 5: — 这里误用了赋值运算符 (=) 而非比较运算符 (==)。正确的写法是 if x == 5:。另一个常见错误是忘记在 if、for 或 while 语句末尾写冒号。学会阅读错误提示:‘SyntaxError’ 通常就是指这类笔误。
For Scratch-based questions, examiners often show a script and ask what the sprite will say. Watch out for the difference between “say for 2 secs” and “think”, and trace variable changes properly. A question might set “score” to 5, then increase by 2 inside a repeat 3 loop, giving score = 5 + 2×3 = 11. Write down the value after each iteration to avoid off-by-one errors. This systematic approach turns a daunting trace into straightforward bookkeeping.
对于基于 Scratch 的题目,考官常常展示一段脚本,询问角色会说出什么。要注意 “说 … 2 秒” 和 “思考” 的区别,并正确追踪变量的变化。题目可能会设置 “score” 为 5,然后在重复 3 次的循环内每次增加 2,最终 score = 5 + 2×3 = 11。每轮迭代后都把值写下来,避免差一错误。这种系统化方法能把令人畏惧的追踪变成简单的记录工作。
6. Computer Hardware Components | 计算机硬件组件
WJEC Year 8 papers frequently ask: “Name two input devices” or “Describe the purpose of the CPU.” Input devices include keyboard, mouse, microphone, and scanner. Output devices include monitor, speakers, printer. For full marks in a ‘describe’ question, you must state what the CPU does: it processes instructions by carrying out the fetch-decode-execute cycle. Using the term ‘brain of the computer’ may only earn partial credit without further detail.
WJEC 八年级试卷经常问:“说出两种输入设备” 或 “描述 CPU 的用途”。输入设备包括键盘、鼠标、麦克风和扫描仪。输出设备包括显示器、音箱、打印机。要在“描述”类题目中拿满分,你必须说明 CPU 的作用:它通过执行取指-译码-执行周期来处理指令。仅使用“计算机的大脑”这样的表述而缺乏细节,通常只能拿到部分分数。
Some questions present an image of the internal components and require labelling: usually motherboard, RAM sticks, hard disk drive (or SSD), CPU with heat sink, and power supply. A top mark answer will also explain that RAM is volatile memory used for temporary data storage while programs are running, whereas the hard drive provides permanent storage. Connecting function to names is a pattern examiners reward heavily.
有些题目会展示内部组件的图片并要求标注:通常是主板、内存条、硬盘(或固态硬盘)、带散热片的 CPU 以及电源。高分答案还会解释:RAM 是易失性存储器,用于在程序运行时临时存储数据;而硬盘提供永久存储。将功能与名称关联起来是考官高度赞赏的答题模式。
7. Data Storage Units and File Sizes | 数据存储单位与文件大小
A straightforward calculation often pops up: “How many kilobytes are in 2.5 MB?” Remember the conversion factors: 1 byte = 8 bits, 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB. So 2.5 MB = 2.5 × 1024 = 2560 KB. Some papers accept using 1000 as the multiplier, but check the front of the exam paper; usually computing contexts imply the binary 1024. When in doubt, show your working clearly.
直接的换算题常常出现:“2.5 MB 中有多少 KB?”牢记转换系数:1 字节 = 8 比特,1 KB = 1024 字节,1 MB = 1024 KB,1 GB = 1024 MB。因此 2.5 MB = 2.5 × 1024 = 2560 KB。有些试卷接受使用 1000 作为乘数,但请查看试卷首页说明;在计算机语境下通常指二进制的 1024。若有疑问,清晰展示计算过程即可。
You may be asked to pick the most suitable unit for a file: e.g. a short text document → KB; a high-definition film → GB; a single character → byte. Also, be able to order sizes from smallest to largest: bit, byte, KB, MB, GB, TB. A classic trick is to mix bit and byte – 8 Megabits (Mb) is equal to 1 Megabyte (MB). Always check for capitalisation: MB = megabyte, Mb = megabit.
题目可能会要求你选择最适合某文件的单位:例如,一个短文本文件 → KB;一部高清电影 → GB;一个字符 → 字节。同时要能够将大小从小到大排序:bit、byte、KB、MB、GB、TB。一个经典陷阱是混淆 bit 和 byte——8 兆比特 (Mb) 等于 1 兆字节 (MB)。一定要留意大写:MB = 兆字节,Mb = 兆比特。
8. Networks and the Internet | 网络与互联网
Typical past-paper questions: “Explain the difference between a LAN and a WAN.” A LAN (Local Area Network) covers a small geographical area, like a school, and usually offers high speed via Ethernet or Wi-Fi. A WAN (Wide Area Network) connects networks across cities or countries; the Internet is the largest WAN. You’ll score higher if you mention that WANs often use leased telecommunication lines and may have higher latency.
典型的真题:“解释 LAN 和 WAN 的区别。”LAN(局域网)覆盖小范围地理区域,比如一所学校,通常通过以太网或 Wi-Fi 提供高速连接。WAN(广域网)跨城市或国家连接网络;互联网就是最大的 WAN。如果你能提到 WAN 通常使用租用的电信线路且可能有更高延迟,将获得更高分数。
You may be shown a diagram of a home network and asked to name devices. Common answers: router (connects to the ISP and shares the internet), switch (connects wired devices), and wireless access point (provides Wi-Fi). A combined device often acts as all three. Top marks go to answers explaining that the router assigns IP addresses using DHCP and directs data packets to the correct destination.
你可能会看到一幅家庭网络图并被要求说出设备名称。常见答案:路由器(连接 ISP 并共享互联网)、交换机(连接有线设备)和无线接入点(提供 Wi-Fi)。集成的设备往往兼具三者功能。高分答案需要解释路由器使用 DHCP 分配 IP 地址,并将数据包发往正确的目的地。
9. Cybersecurity Basics | 网络安全基础
WJEC papers consistently include a cyber safety question: “Give two ways to protect your personal data online.” Acceptable answers: use strong passwords (mix of uppercase, lowercase, numbers, symbols), don’t share personal details on social media, enable two-factor authentication, keep software updated, and be wary of phishing emails. To push into top bands, add a brief justification: “Strong passwords make brute-force attacks harder.”
WJEC 试卷总是包含网络安全问题:“给出两种保护个人数据的方式。”可接受的答案:使用强密码(大小写字母、数字、符号混合),不在社交媒体分享个人详细信息,开启双因素认证,保持软件更新,警惕钓鱼邮件。若要冲刺高分,可简要说明理由:“强密码让暴力破解更困难。”
Another recurring theme is malware: viruses, worms, trojans, and ransomware. Often, a table asks you to match the type to its description. A virus attaches to a file and spreads when opened; a worm replicates across networks without needing a host; a trojan disguises itself as legitimate software; ransomware encrypts files and demands payment. Create a one-sentence definition for each to easily remember them.
另一个反复出现的主题是恶意软件:病毒、蠕虫、木马和勒索软件。常以表格形式要求你将类型与描述配对。病毒附着在文件上,打开时传播;蠕虫无需宿主就能通过网络自我复制;木马伪装成合法软件;勒索软件加密文件并要求付款。为每种类型准备一句话的定义,就可以轻松记住。
10. Database and Data Handling | 数据库与数据处理
Data handling questions often present a simple table about students, books, or films. A typical task: “Identify the fields in the database table.” Fields are the column headings, e.g. StudentID, Name, YearGroup. Then you might be asked how many records are shown – that is the number of rows excluding the heading. Watch out for phrasing: “Which field would be suitable as the primary key?” – the primary key must be unique, such as StudentID.
数据处理题通常会给出一个关于学生、书籍或电影的简单表格。常见任务:“指出数据库表中的字段。”字段就是列标题,例如学号、姓名、年级组。然后可能会问你显示了有多少条记录——即除标题行之外的行数。注意措辞:“哪个字段适合作为主键?”——主键必须唯一,比如学号。
Sometimes you need to suggest a data type for a field: Text/String for names, Integer for age, Date for date of birth, Boolean for Yes/No. More challenging papers may ask you to query the data: “Which student is in Year 8 and has a score above 80?” You must mentally filter the rows. This is the foundation of SQL and logical thinking, so practice with mock tables.
有时你需要为某个字段建议数据类型:姓名用文本/字符串,年龄用整数,出生日期用日期型,是/否用布尔型。更具挑战性的试卷可能会要求你查询数据:“哪位学生是 8 年级且分数超过 80?”你需要在脑海中进行筛选。这是 SQL 和逻辑思维的基础,因此请用模拟表格多做练习。
11. Error Spotting in Code | 代码中的错误识别
This exam skill appears in questions like “Find the error in this pseudocode that calculates the average of three numbers.” If the code is average = num1 + num2 + num3 / 3, the error is the order of operations: division happens before addition due to BIDMAS. The corrected version is average = (num1 + num2 + num3) / 3. Always check if brackets are missing around the sum.
这项考试技能出现在如“找出此计算三个数平均值的伪代码中的错误”这类题目中。如果代码写成 average = num1 + num2 + num3 / 3,错误在于运算顺序:根据 BIDMAS 规则,除法先于加法。正确的版本是 average = (num1 + num2 + num3) / 3。务必检查求和部分是否缺失括号。
Logic errors are trickier: a program loops while score < 10 but never updates score, causing an infinite loop. In WJEC, you may be asked to correct the algorithm so it works. Always check loop variables: are they initialised? Is the condition achievable? Is the variable incremented? Teaching yourself to perform a quick dry-run on paper can reveal these bugs instantly and secure full marks on debugging questions.
逻辑错误更棘手:程序在 score < 10 时循环,但从未更新 score,导致死循环。在 WJEC 考试中,你可能会被要求更正算法使其正常工作。始终检查循环变量:是否初始化?条件是否可以达成?变量是否递增?学会在纸上快速进行走查演练,可以立刻暴露这些漏洞,确保在调试题目上获得满分。
12. Exam Technique and Command Words | 考试技巧与指令词
Command words dictate how you should answer. ‘State’ requires a brief fact: “State one input device.” Answer: Keyboard. ‘Describe’ needs more detail: “Describe the function of a router” asks for what it does and perhaps how. ‘Explain’ goes further: you must give reasons or causes. Underline the command word and structure your answer to reflect its demand. A useful habit is to turn the command word into a question word: Explain → Why/How?
指令词决定了你该如何作答。‘State’ 要求简短的事实:“说出一种输入设备。”答:键盘。‘Describe’ 需要更多细节:“描述路由器的功能”要说明它做什么,也许还要说明如何做。‘Explain’ 则更进一步:你必须给出原因或因果。在指令词下划线,并据此组织答案结构。一个有用的习惯是把指令词转化为疑问词:Explain → 为什么/如何?
Time management in the computer science paper is crucial. Quickly scan the marks per question; a 1-mark question deserves about one minute, while a 6-mark algorithm trace might deserve 8-10 minutes. Never leave a question blank – a sensible guess can pick up partial credit. Also, remember to check the back of the paper for questions hidden on the final page! Many students lose easy marks simply because they didn’t turn over.
计算机科学试卷的时间管理至关重要。快速浏览每道题的分值;1 分的题目大约用 1 分钟,而一道 6 分的算法追踪题可能需要 8-10 分钟。千万不要空题——合理的猜测也能拿到部分分数。此外,记得查看试卷背面,有时最后一页隐藏着题目!很多同学只因没有翻页而痛失简单的分数。
Published by TutorHao | WJEC Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导