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

Year 11 WJEC Computer Science Unit Test Mock Paper Walkthrough | WJEC 计算机单元测试模拟卷解析

2026-07-21 14:55 · 本文部分内容由AI辅助创作

📚 Year 11 WJEC Computer Science Unit Test Mock Paper Walkthrough | WJEC 计算机单元测试模拟卷解析

Welcome to this detailed walkthrough of a Year 11 WJEC Computer Science unit test mock paper. This article breaks down typical exam-style questions, explains the key concepts behind each answer, and highlights common pitfalls. Use this walkthrough to refine your revision, master mark schemes, and build the confidence needed for the actual GCSE assessment.

欢迎阅读这份针对 Year 11 WJEC 计算机科学单元测试模拟卷的详细解析。本文将拆解典型的考试题型,讲解每个答案背后的核心概念,并指出常见的失分点。通过这份解析,你可以完善复习计划,掌握评分标准,并为真正的 GCSE 考试建立信心。


1. Data Representation and Binary Conversion | 数据表示与二进制转换

Mock question: Convert the denary number 202 into an 8-bit binary number and then into its hexadecimal equivalent. Show all working.

模拟题:将十进制数 202 转换为 8 位二进制数,再转换为等值的十六进制数。要求展示计算过程。

; 6 ÷ 2 = 3 r 0; 3 ÷ 2 = 1 r 1; 1 ÷ 2 = 0 r 1. Reading remainders from bottom to top gives 11001010₂ e binary into nibbles: 1100 1010. 1100₂ = 12 in denary = C₁₆; 1010₂ = 10 = A₁₆. So 202₁₀ = CA₁₆.

答案:将 202 转为二进制,我们反复除以 2 并记录余数:202 ÷ 2 = 101 余 0;101 ÷ 2 = 50 余 1;50 ÷ 2 = 25 余 0;25 ÷ 2 = 12 余 1;12 ÷ 2 = 6 余 0;6 ÷ 2 = 3 余 0;3 ÷ 2 = 1 余 1;1 ÷ 2 = 0 余 1。从下往上读余数得到 11001010₂。要转为十六进制,将二进制拆分为半字节:1100 1010。1100₂ = 十进制 12 = C₁₆;1010₂ = 10 = A₁₆。所以 202₁₀ = CA₁₆。

Secondary question: Perform the binary addition of 01101010₂ and 00110111₂, and comment on overflow.

附加题:计算二进制加法 01101010₂ + 00110111₂,并讨论溢出情况。

y 1, 0+1+carry=0 carry 1, 1+1+carry=1 carry 1, 1+0+carry=0 carry 1, 0+0+carry=1. Result is 10100001₂. The addition produced a carry into the 8th bit, but since both operands were positive and the result's most significant bit is 1, this indicates a carry into bit 8. In 8-bit two’s complement, if both numbers are positive and the result appears negative, overflow occurs. However, treating them as unsigned, the result is valid; overflow is only flagged in signed representation.

解答:从右向左逐位相加:0+1=1,1+1=0 进 1,0+1+进位=0 进 1,1+0+进位=0 进 1,0+1+进位=0 进 1,1+1+进位=1 进 1,1+0+进位=0 进 1,0+0+进位=1。结果为 10100001₂。加法在第 8 位产生了进位,但因为两个操作数都是正数且结果的最高位是 1,对于 8 位补码表示,两个正数相加却得到“负数”的形态,意味着发生了溢出。若采用无符号解释,结果有效;仅在带符号表示中需标记溢出。

Key revision table:

DenaryBinaryHexadecimal
101010₂A₁₆
151111₂F₁₆
20211001010₂CA₁₆

This table reinforces the quick link between nibbles and hex digits, which is frequently examined in WJEC unit tests.

这张表强化了半字节与十六进制数字之间的快速转换关系,这在 WJEC 单元测试中经常考查。


2. Logic Gates and Boolean Algebra | 逻辑门与布尔代数

gic circuit described by Q = (A AND B) OR (NOT C). Identify the output when A=1, B=0, C=1.

模拟题:画出逻辑表达式 Q = (A AND B) OR (NOT C) 的真值表,并找出当 A=1, B=0, C=1 时的输出。

= 0. The full table shows the circuit acting as an OR of the AND gate output and inverted C.

答案:构建包含 A、B、C、A AND B、NOT C、Q 列的真值表,共 2³ = 8 行。当 A=1, B=0, C=1 时:A AND B = 1 AND 0 = 0;NOT C = NOT 1 = 0;Q = 0 OR 0 = 0。完整的真值表展示出该电路实现的是与门输出和 C 的非之间的或运算。

Common pitfall: Students often confuse the order of operations; AND is evaluated before OR unless parentheses indicate otherwise. In WJEC mark schemes, plotting Q correctly for all input combinations is essential for full marks.

常见易错点:学生经常混淆运算次序;除非括号另有规定,否则与运算优先于或运算。在 WJEC 评分方案中,正确描写所有输入组合下的 Q 值是获得满分的关键。

Extension: Convert the expression into a circuit diagram using standard gate symbols. For the given input (1,0,1), trace the signals to verify output 0.

扩展:使用标准的门电路符号将表达式转换为电路图。针对给定输入 (1,0,1),追踪信号以验证输出为 0。


3. System Architecture and the CPU | 系统架构与中央处理器

Mock question: Explain the fetch–decode–execute cycle and describe the role of the Program Counter (PC), Memory Address Register (MAR), and Memory Data Register (MDR) in the Von Neumann architecture.

模拟题:解释取指–译码–执行周期,并描述程序计数器 (PC)、内存地址寄存器 (MAR) 和内存数据寄存器 (MDR) 在冯·诺依曼架构中的作用。

Answer: In the fetch stage, the address in PC is copied to MAR; the PC is then incremented. The control unit sends a read signal, and the instruction from that memory location is placed into MDR. During decode, the instruction in MDR is split into opcode and operand; the control unit decodes the opcode. In the execute stage, the necessary data is fetched, the ALU performs the operation, and the result may be stored back. PC holds the address of the next instruction. MAR holds the address of the memory location being read/written. MDR holds the actual data or instruction transferred between memory and CPU.

答案:在取指阶段,PC 中的地址被复制到 MAR;然后 PC 自增。控制单元发送读信号,对应内存单元的指令被放入 MDR。在译码阶段,MDR 中的指令被分成操作码和操作数;控制单元对操作码进行译码。在执行阶段,取出所需数据,ALU 执行运算,结果可能写回。PC 存放下一条指令的地址。MAR 存放正在被读/写的内存地址。MDR 存放内存与 CPU 之间传输的实际数据或指令。

WJEC tip: When describing the cycle, always emphasise that the PC increments during the fetch stage, *before* the instruction is executed. Stating "the instruction is then executed" without detailing the role of these registers loses marks.

WJEC 提示:在描述该周期时,务必强调 PC 是在取指阶段自增,且发生在执行指令之前。如果只说“然后指令被执行”而未详述这些寄存器的作用,就会失分。

Further analysis: The Von Neumann bottleneck refers to the shared bus for data and instructions, causing latency. Modern systems use cache to mitigate this.

深入分析:冯·诺依曼瓶颈指的是数据和指令共用总线而导致的延迟。现代系统通过使用高速缓存来缓解这一问题。


4. Primary Memory and Secondary Storage | 主存与辅助存储

Mock question: Compare RAM and ROM in terms of volatility, purpose, and typical usage. Then explain how virtual memory allows a computer to run more programs than physical RAM can hold.

模拟题:从易失性、用途和典型用法方面比较 RAM 和 ROM。然后解释虚拟内存如何让计算机运行超出物理 RAM 容量的程序。

Answer: RAM (Random Access Memory) is volatile – it loses data when power is off. It stores the operating system, applications, and data currently in use, providing fast read/write access. ROM (Read Only Memory) is non-volatile, retaining data without power. It typically stores the BIOS/boot firmware and cannot be easily modified. Virtual memory uses a portion of secondary storage (e.g., HDD/SSD) as an extension of RAM. When RAM is full, inactive pages are moved to virtual memory, freeing space for active processes. This swapping slows performance due to slower disk speeds.

答案:RAM (随机存取存储器) 是易失性的——断电后数据丢失。它存储当前使用的操作系统、应用程序和数据,提供快速读写。ROM (只读存储器) 是非易失性的,断电后保留数据,通常存储 BIOS/启动固件且不易被修改。虚拟内存将辅助存储 (如硬盘/固态盘) 的一部分作为 RAM 的扩展。当 RAM 已满时,不活动的页面被移至虚拟内存,为活动进程腾出空间。由于磁盘速度较慢,这种交换会降低性能。

Marks are awarded for correctly linking ROM to firmware and for using the term "swap file" or "paging". Avoid saying ROM is "permanent RAM" – they are distinct technologies.

得分点在于将 ROM 与固件正确关联,以及使用“交换文件”或“分页”等术语。避免说 ROM 是“永久性的 RAM”——它们是不同的技术。


广告 / Sponsored

5. Computer Networks Basics | 计算机网络基础

Mock question: Compare the star and mesh network topologies, giving two advantages of each. Also explain why a large organisation might choose a star topology for its local area network (LAN).

模拟题:比较星形和网状网络拓扑,各给出两个优点。并解释为何大型组织可能为其局域网 (LAN) 选择星形拓扑。

Answer: Star topology: All nodes connect to a central switch/server. Advantages: if one cable fails, only that node is affected; easy to add new devices without disrupting the network. Mesh topology: Every node is connected to every other (full mesh) or at least multiple others (partial). Advantages: high fault tolerance – no single point of failure; data can take multiple paths, improving reliability. Large organisations prefer star topology because it is cost-effective (less cabling than mesh), centralised management simplifies network administration, and maintenance is less complex.

答案:星形拓扑:所有节点连接到中央交换机/服务器。优点:如果某条线缆故障,仅该节点受影响;添加新设备简单且不中断网络。网状拓扑:每个节点与其他所有节点相连 (全网状) 或至少多个其他节点 (部分网状)。优点:高容错性——无单点故障;数据可经多条路径传输,提高可靠性。大型组织选择星形拓扑是因为它经济高效 (线缆少于网状)、集中管理简化了网络管理,且维护不那么复杂。

Network protocol context: WJEC often asks about TCP/IP layers. Relate topology choice to the network layer: star topologies work well with switches operating at the data link layer.

网络协议上下文:WJEC 常考 TCP/IP 分层。将拓扑选择与网络层关联:星形拓扑与数据链路层的交换机配合良好。


6. Network Security and Encryption | 网络安全与加密

Mock question: Describe the function of a firewall and explain how symmetric encryption protects data during transmission. Include an example of a simple cipher.

模拟题:描述防火墙的功能,并解释对称加密如何在传输过程中保护数据。包含一个简单密码的示例。

Answer: A firewall monitors incoming and outgoing network traffic based on predetermined security rules. It blocks unauthorised access while permitting legitimate communication. Symmetric encryption uses a single shared key to encrypt and decrypt data. For example, a Caesar cipher shifts each letter by a fixed number: with a shift of 3, 'A' becomes 'D', 'B' becomes 'E'. In modern systems, algorithms like AES encrypt data blocks; the same key must be securely shared between sender and receiver. Without the key, intercepted ciphertext cannot be read.

答案:防火墙根据预设的安全规则监控进出网络流量。它阻止未授权访问,同时允许合法通信。对称加密使用单一的共享密钥对数据加解密。例如,凯撒密码将每个字母移动固定位数:移动 3 位时,"A" 变为 "D","B" 变为 "E"。在现代系统中,AES 等算法加密数据块;发送方和接收方必须安全地共享同一密钥。没有密钥,截获的密文将无法读取。

A common exam requirement is to differentiate between symmetric and asymmetric encryption; asymmetric uses a public/private key pair. Emphasise that symmetric encryption is faster but key distribution is a challenge.

常见考试要求是区分对称与非对称加密;非对称使用公钥/私钥对。需强调对称加密更快,但密钥分发是一个挑战。


7. Programming Concepts and Pseudocode | 编程概念与伪代码

Mock question: Write pseudocode to find and output the maximum value in an array of integers named 'scores' of length n. Use a FOR loop and an IF statement.

模拟题:编写伪代码,找出名为 "scores" 的长度为 n 的整数数组中的最大值并输出。使用 FOR 循环和 IF 语句。

Answer:

max ← scores[0]
FOR i ← 1 TO n-1
   IF scores[i] > max THEN
     max ← scores[i]
   ENDIF
ENDFOR
OUTPUT max

Explanation: We initialise 'max' with the first element. Then we iterate from index 1 to n-1, comparing each element with 'max'. Whenever a larger value is found, we update 'max'. After the loop, we output the maximum. This algorithm demonstrates array traversal, assignment, and conditional selection – key programming constructs on the WJEC syllabus.

答案:我们将 "max" 初始化为第一个元素。随后从左向右遍历索引 1 至 n-1,逐个与 "max" 比较。一旦发现更大的值,便更新 "max"。循环结束后,输出最大值。该算法展示了数组遍历、赋值和条件选择——WJEC 大纲中的关键编程结构。

WJEC pseudocode style does not require strict syntax; clarity and logical consistency are paramount. Always initialise variables and include ENDIF/ENDFOR markers.

WJEC 伪代码风格并不要求严格语法;清晰性和逻辑一致性至关重要。务必初始化变量并包含 ENDIF/ENDFOR 标记。


8. Algorithms: Searching and Sorting | 算法:搜索与排序

Mock question: Describe the steps of a bubble sort algorithm on the list [9, 4, 7, 2, 1]. Explain how many comparisons and swaps are performed in the first pass.

模拟题:描述对列表 [9, 4, 7, 2, 1] 进行冒泡排序的步骤。解释第一趟中进行多少次比较和交换。

re 9 and 4 → swap → [4,9,7,2,1]; compare 9 and 7 → swap → [4,7,9,2,1]; compare 9 and 2 → swap → [4,7,2,9,1]; compare 9 and 1 → swap → [4,7,2,1,9]. Four comparisons and four swaps are performed in the first pass. The largest element 'bubbles' to the end. Subsequent passes sort the remaining unsorted portion until no swaps occur.

答案:冒泡排序反复遍历列表,比较相邻元素,若顺序错误则交换。第一趟:比较 9 和 4 → 交换 → [4,9,7,2,1];比较 9 和 7 → 交换 → [4,7,9,2,1];比较 9 和 2 → 交换 → [4,7,2,9,1];比较 9 和 1 → 交换 → [4,7,2,1,9]。第一趟进行了四次比较和四次交换。最大元素“冒泡”到末尾。后续趟对剩余未排序部分继续排序,直到没有交换发生。

In a WJEC test, you may be asked to identify whether bubble sort is an efficient algorithm: its worst-case time complexity is O(n²). Mention that it is suitable only for small data sets.

在 WJEC 测试中,可能会问冒泡排序是否高效:其最坏时间复杂度为 O(n²)。需要指出它仅适用于小规模数据集。


9. Legal, Ethical and Environmental Issues | 法律、道德与环境影响

Mock question: Discuss how the Data Protection Act (DPA) 2018 affects the way organisations handle personal data. Provide two ethical concerns related to the use of artificial intelligence in profiling.

模拟题:讨论《2018 年数据保护法》(DPA) 如何影响组织处理个人数据的方式。提出与使用人工智能进行用户画像相关的两个道德问题。

Answer: The DPA 2018 (UK GDPR) requires that personal data be processed lawfully, fairly, and transparently; collected for specified purposes; and kept accurate and secure. Organisations must appoint a data protection officer in certain cases, report breaches, and respect individuals' rights to access and erase their data. Ethical concerns with AI profiling include algorithmic bias – where models inherit prejudices from training data, leading to discrimination. Secondly, lack of explainability: many AI systems act as "black boxes", making it difficult for individuals to understand decisions that affect them, undermining accountability.

答案:《2018 年数据保护法》(英国 GDPR) 要求个人数据的处理必须合法、公平、透明;为特定目的收集;保持准确和安全。组织在某些情况下须任命数据保护官,报告泄露事件,并尊重个人访问和删除数据的权利。AI 用户画像的道德问题包括:算法偏见——模型从训练数据中继承偏见,导致歧视。其次,缺乏可解释性:许多 AI 系统如同“黑箱”,个体难以理解决策依据,从而削弱了问责制度。

WJEC often links these topics to environmental impacts, e.g., data centres' energy consumption. Always provide a balanced view with stakeholder perspectives.

WJEC 常将这些主题与环境影响关联,如数据中心的能耗。作答时需提供平衡分析,兼顾利益相关者视角。


10. Integrated Challenge and Exam Technique | 综合挑战与考试技巧

Mock question: A school library system uses a barcode scanner to log book loans. Students scan their ID card and the book. The system updates a database, and if the student has an overdue book, a warning is displayed. Using your knowledge of input devices, databases, and programming, outline how this system works and write a brief pseudocode segment for the warning check.

模拟题:某学校图书馆系统通过条码扫描器记录借书。学生刷卡并扫描图书。系统更新数据库,若学生有逾期未还的图书,则显示警告。运用你对输入设备、数据库和编程的理解,简要说明该系统的工作原理,并编写一段用于检查警告的伪代码。

Answer: The barcode scanner is an automatic input device that converts the barcode pattern into digital data. It reads the student ID and book ISBN. The system queries a relational database containing tables for Students, Books, and Loans. It checks the Loans table for any record where the student ID matches and the return date is past the due date without an actual return timestamp. Pseudocode for the warning:

FUNCTION checkOverdue(studentID)
   overdueCount ← 0
   FOR each loan IN loanTable
F loan.studentID = studentID AND loan.dueDate < currentDate AND loan.returned = FALSE THEN
       overdueCount ← overdueCount + 1
     ENDIF
   ENDFOR
   IF overdueCount > 0 THEN
     OUTPUT "Warning: You have " + overdueCount + " overdue book(s)."
   ELSE
     OUTPUT "No overdue items."
   ENDIF
Published by TutorHao | Year 11 Computer Science Revision Series | aleveler.com

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

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

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