📚 Year 8 SQA Computing: Unit Test Mock Paper Walkthrough | SQA 八年级计算机:单元测试模拟卷解析
This article breaks down a typical Year 8 SQA Computing unit test mock paper, covering key topics and common question types. By working through each example, you will reinforce your understanding of hardware, software, binary conversion, flowcharts, pseudocode, networks, cybersecurity, programming concepts and data representation. Every question is explained in detail to help you feel confident and prepared for your assessment.
本文详细解析了一份典型的 SQA 八年级计算机单元测试模拟卷,涵盖关键主题和常见题型。通过逐一攻克例题,你将巩固对硬件、软件、二进制转换、流程图、伪代码、网络、网络安全、编程概念和数据表示的理解。每道题都配有详解,助你自信迎考。
1. Hardware and Software Classification | 硬件与软件分类
The opening question often asks you to sort items into hardware and software. Hardware refers to the physical parts of a computer you can touch, while software is the collection of programs and instructions that tell the hardware what to do. A typical list might include: monitor, keyboard, operating system, web browser, CPU, and word processor. You would place monitor, keyboard and CPU under hardware, and operating system, web browser and word processor under software.
开卷题目常要求将物品分类为硬件和软件。硬件指计算机中可以触摸的物理部件,软件则是告诉硬件如何运作的程序和指令集合。一份常见列表可能包含:监视器、键盘、操作系统、网页浏览器、中央处理器和文字处理软件。你应该将监视器、键盘和 CPU 归入硬件,将操作系统、网页浏览器和文字处理软件归入软件。
A common pitfall is confusing the operating system with a physical chip; remember that the operating system is software, stored on a hard drive or SSD, even though it is essential for running the machine. The CPU, in contrast, is a tangible piece of silicon and metal – definitely hardware.
常见误区是把操作系统误认为物理芯片;请记住,操作系统是软件,存储在硬盘或固态硬盘上,尽管它对运行机器至关重要。而 CPU 是一块实实在在的硅和金属制品——绝对是硬件。
2. Input and Output Devices | 输入与输出设备
A classic multiple-choice question presents you with four devices and asks which one is an output device. Consider this list: A. Keyboard, B. Mouse, C. Monitor, D. Scanner. Output devices take data from the computer and present it to the user. The monitor displays visual output, making option C the correct choice. Keyboards, mice and scanners all send data into the computer, so they are input devices.
经典选择题会列出四个设备,问你哪一个是输出设备。假设选项为:A. 键盘,B. 鼠标,C. 监视器,D. 扫描仪。输出设备从计算机中取出数据并呈现给用户。监视器显示视觉输出,因此选项 C 正确。键盘、鼠标和扫描仪都是将数据送入计算机,属于输入设备。
Some devices can be both input and output, such as a touchscreen or a headset with a microphone. However, in a Year 8 test, you usually only need to identify straightforward examples. Always ask yourself: does the device send information to the computer, or does it receive information from the computer?
有些设备兼具输入和输出功能,例如触摸屏或带麦克风的耳机。但在八年级测试中,通常只需识别简单的例子。不妨问自己:该设备是向计算机发送信息,还是从计算机接收信息?
3. Binary to Denary Conversion | 二进制转十进制
eft to right: 128, 64, 32, 16, 8, 4, 2, 1. Place each binary digit under the headings: 0 under 128, 1 under 64, 1 under 32, 0 under 16, 0 under 8, 1 under 4, 0 under 2, 1 under 1. Now add the values where a 1 appears: 64 + 32 + 4 + 1 = 101. So the answer is 101.
你可能需要将一个 8 位二进制数转换为十进制。例如:将 0110 0101 转换为十进制。从左到右写下位权:128, 64, 32, 16, 8, 4, 2, 1。把每一位二进制数字放在对应位权下:128下是0,64下是1,32下是1,16下是0,8下是0,4下是1,2下是0,1下是1。然后将出现1的权值相加:64 + 32 + 4 + 1 = 101。因此答案为101。
128 64 32 16 8 4 2 1
0 1 1 0 0 1 0 1
64 + 32 + 4 + 1 = 101
This weighted-addition method always works for positive integers up to 255. Learn to double-check your arithmetic; it is easy to misread a 0 as a 1 under time pressure.
这种加权相加的方法对最大255的正整数始终有效。要学会仔细复核你的加法;在时间压力下很容易把0误看成1。
4. Denary to Binary Conversion | 十进制转二进制
wo that fits. 200 - 128 = 72, so put a 1 in the 128 column. Next, 64 fits into 72, so put 1 under 64 and subtract 64 from 72 to leave 8. 32 does not fit into 8, so 0 under 32. 16 does not fit, so 0 under 16. 8 fits exactly into 8, so 1 under 8 and remainder 0. The remaining columns 4, 2 and 1 all get 0. The binary is 1100 1000.
当把十进制转换为二进制时,考试可能给出像200这样的数字,要求用8位二进制表示。从128开始,这是能容纳的最大的2的幂。200 - 128 = 72,所以在128列写1。接着,64可以容纳进72,所以在64列写1,72减去64得8。32不能容纳进8,32列写0。16不能容纳进8,16列写0。8恰好容纳进8,8列写1,余数为0。剩下的4、2、1列全写0。于是二进制为1100 1000。
Always write the column headings if you are unsure, and fill from left to right. Reversing the process by doing a quick binary-to-denary check confirms the answer.
如果不确定,务必写出位权标题,从左到右填写。最后做一次快速的二进制转十进制检查,就能确认答案。
5. Understanding Flowcharts | 理解流程图
Flowchart questions test your ability to trace an algorithm. Suppose a flowchart starts with setting a variable total t outputs total. Tracing step by step: total=0 → +5 → 5; 5<20 → +5 → 10; 10<20 → +5 → 15; 15<20 → +5 → 20. Now 20 is not less than 20, so the loop ends and the output is 20.
流程图题考察你追踪算法的能力。假设一个流程图先将变量 total 设为0,然后进入循环:当 total 小于20时,每次都让 total 加5。判断菱形检查条件;若为真则重复循环;若为假则输出 total。逐步追踪:total=0 → +5 → 5;5<20 → +5 → 10;10<20 → +5 → 15;15<20 → +5 → 20。此时20不再小于20,因此循环结束,输出为20。
Pay attention to the shape that indicates output – often a parallelogram. Also watch for common symbols: rounded rectangles for start/end, rectangles for processes, and diamonds for decisions. Exam questions may ask you to fill in missing steps or predict the final output.
注意表示输出的形状——通常是平行四边形。还要认识常用符号:圆角矩形表示开始/结束,矩形表示处理过程,菱形表示判断。考题可能让你补全缺失步骤或预测最终输出。
6. Pseudocode and Sequence | 伪代码与顺序结构
Pseudocode tests present a short program written in plain English and ask you to work out the value of a variable. For example:
SET score TO 10 SET penalty TO 3 SET score TO score - penalty SET bonus TO score * 2 SET final TO score + bonus- 3 = 7. Then bonus = 7 * 2 = 14. Finally, final = 7 + 14 = 21. The correct answer is 21.
伪代码题会展示一段用简单英语写成的程序,要求你算出某个变量的值。例如:
SET score TO 10 SET penalty TO 3 SET score TO score - penalty SET bonus TO score * 2 SET final TO score + bonus逐行执行:score = 10, penalty = 3, score 变为 10 - 3 = 7。然后 bonus = 7 * 2 = 14。最后 final = 7 + 14 = 21。正确答案是21。
Always follow the exact order; any SET command overwrites the previous value. Even if the logic seems simple, write down each step to avoid mixing up the current value of a variable.
务必严格按照顺序执行;任何 SET 命令都会覆盖之前的值。即使逻辑看似简单,也要把每一步写下来,避免混淆变量的当前值。
7. Network Basics: LAN and WAN | 网络基础:局域网与广域网
A definition-based question might ask you to distinguish between a Local Area Network (LAN) and a Wide Area Network (WAN). A LAN covers a small geographical area, such as a school or a home, and usually uses cables or Wi-Fi owned by the organisation. A WAN connects computers over large distances, often across cities or countries, and relies on external infrastructure like telephone lines or satellites. The internet is the largest WAN.
定义类问题可能要求你区分局域网(LAN)和广域网(WAN)。局域网覆盖较小的地理区域,如学校或家庭,通常使用组织自有的电缆或 Wi-Fi。广域网则连接远距离的计算机,经常跨城市或国家,依赖电话线、卫星等外部基础设施。互联网就是最大的广域网。
Common exam traps include saying that Wi-Fi means WAN – it does not; Wi-Fi is just a wireless method for connecting devices and can be used in a LAN. Another trap is forgetting that multiple LANs can be connected together to form a larger network, but they are still considered separate LANs unless they span large distances using external links.
常见考试陷阱包括说 Wi-Fi 就是 WAN——并非如此;Wi-Fi 只是一种无线连接设备的方式,可以在局域网中使用。另一个陷阱是忘记多个局域网可以连接起来形成更大的网络,但只要它们没有使用外部链路跨越远距离,它们就仍被视为独立的局域网。
8. Cybersecurity: Passwords and Threats | 网络安全:密码与威胁
You will likely see a question about choosing a strong password. A strong password should be at least eight characters long, contain a mix of uppercase and lowercase letters, numbers, and symbols, and should not include personal information like your name or date of birth. For instance, "P@ssword123" is stronger than "password123" because it includes a symbol and an uppercase letter, although it still appears in common password lists and is not ideal. Better would be a random phrase such as "Purple!Frog42Dance".
你很可能会遇到关于选择强密码的题目。强密码应至少包含八个字符,包含大小写字母、数字和符号的混合,并且不应包含姓名或生日等个人信息。例如,"P@ssword123" 比 "password123" 强,因为它包含符号和大写字母,但它仍可能出现在常见密码表中,并非最理想。更好的选择是诸如 "Purple!Frog42Dance" 这样的随机短语。
You may also need to identify cybersecurity threats like phishing, malware and social engineering. Phishing involves fake emails or messages that trick you into revealing personal data. Malware is malicious software that damages your device or steals information. Social engineering manipulates people into breaking security procedures. Whenever a question describes a scenario, look for keywords: 'urgent email asking for password' suggests phishing.
你或许还需要识别网络安全威胁,如网络钓鱼、恶意软件和社会工程学攻击。网络钓鱼是通过伪造的电子邮件或消息诱使你泄露个人信息。恶意软件是损害设备或窃取信息的恶意程序。社会工程学则通过操纵人来破坏安全流程。每当题目描述一个场景时,寻找关键词:“要求提供密码的紧急邮件”暗示了网络钓鱼。
9. Scratch Programming: Variables | Scratch 编程:变量
Scratch-related questions often test your understanding of variables. Examine a script that says: "set [x] to 5", "repeat 3", "change [x] by 2", then "say [x]". Tracking the variable: x starts at 5. The loop runs three times – first time, x becomes 7; second time, x becomes 9; third time, x becomes 11. After the loop, the sprite says 11. Therefore, the final value is 11.
与 Scratch 相关的题目经常考察你对变量的理解。考查这样一段脚本:“将 [x] 设为 5”,“重复执行 3 次”,“将 [x] 增加 2”,然后“说 [x]”。追踪变量:x 初始值为5。循环执行三次——第一次,x 变为7;第二次,x 变为9;第三次,x 变为11。循环结束后,角色说出11。因此最终值为11。
Be careful with the order of blocks. Variables can be global (shared by all sprites) or local (only for one sprite), but in Year 8 you mainly deal with a single sprite. Also, note that the 'say' block only displays the value; it does not change it. If the question asks what is displayed, give the value at that exact moment.
注意积木块的执行顺序。变量可以是全局的(所有角色共享)或局部的(仅限一个角色),但在八年级主要处理单个角色。此外,请注意“说”积木仅显示值,并不改变它。如果题目问显示了什么,请给出那个时刻的值。
10. Data Representation: Pixels and Resolution | 数据表示:像素与分辨率
the number of pixels in an image, often given as width x height, for example 800 x 600. A higher resolution means more pixels, resulting in a sharper image but a larger file size. The mock paper might ask: 'How many pixels are there in an image with resolution 1024 x 768?' You multiply: 1024 * 768 = 786,432 pixels.
常见的最后一题会引入数字图像。像素是数字图像的最小单元,就像一个微小的彩色点。分辨率指图像中的像素总数,通常以宽 x 高的形式给出,例如800 x 600。分辨率越高意味着像素越多,图像更清晰,但文件大小也更大。模拟卷可能会问:“分辨率为1024 x 768的图像有多少像素?”用乘法:1024 * 768 = 786,432 像素。
You may also be asked about bit depth – the number of bits used to store each pixel's colour. With 1 bit per pixel, you can have 2 colours (black and white). With 2 bits per pixel, you can have 4 colours (2²). With 8 bits, 256 colours, and with 24 bits, over 16 million colours. Although specific bit-depth calculations are more advanced, understanding the idea that more bits allow more colours will help with basic questions.
你还可能被问到色彩深度——即存储每个像素颜色所用的比特数。每像素1比特可表示2种颜色(黑白);每像素2比特可表示4种颜色(2²);8比特可表示256色;24比特可表示超过1600万种颜色。尽管具体的色彩深度计算更高级,但理解“更多比特允许更多颜色”这一概念有助于基础题。
Published by TutorHao | Computing Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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