📚 Year 10 SQA Computing: Common Misconceptions and Corrections | Year 10 SQA 计算机:常见误区与纠正方法
As Year 10 students prepare for SQA Computing Science, they often encounter topics that seem straightforward but hide subtle pitfalls. Many lose marks not because they lack understanding, but because they hold common misconceptions about binary arithmetic, hardware roles, network addressing, programming logic, and data representation. This article unpacks those typical errors and provides clear corrections to strengthen your revision and boost exam confidence.
对于正在备考 SQA 计算机科学的 Year 10 学生来说,许多看似简单的主题背后往往隐藏着细微的误区。不少学生丢分并非因为完全不懂,而是对二进制运算、硬件角色、网络地址、编程逻辑和数据表示抱有一些常见的错误理解。本文将逐一拆解这些典型错误,并提供清晰的纠正方法,帮助你在复习中巩固知识、提升考试信心。
1. Binary Conversions: Misunderstanding Place Values | 二进制转换:位权误解
10⁰, arriving at 1010. The correct method uses powers of two: 1 x 2³ + 0 x 2² + 1 x 2¹ + 0 x 2⁰ = 8 + 0 + 2 + 0 = 10.
一个根本性错误是把二进制数字当作十进制来处理。学生看到 1010₂ 时,可能会不自觉地按 1×10³ + 0×10² + 1×10¹ + 0×10⁰ 计算,得出 1010。正确的做法是使用 2 的幂:1×2³ + 0×2² + 1×2¹ + 0×2⁰ = 8 + 0 + 2 + 0 = 10。
Another related slip is counting place columns from left to right instead of right to left. The least significant bit (2⁰) is always on the far right. A helpful visual reminder is to write the powers above each bit: 2³ 2² 2¹ 2⁰ for a 4‑bit number. Practice distinguishing between the bit position (0–7) and its weight (2⁰–2⁷).
另一个相关错误是从左向右去数位数列,而不是从右向左。最低有效位(2⁰)始终在最右边。一个有效的视觉提示是把每一位的权重写在对应比特上方:对于 4 位数,依次标记 2³ 2² 2¹ 2⁰。注意区分比特位置(0–7)与其权重(2⁰–2⁷)。
| Misconception | Correct Approach |
|---|---|
| 1010₂ = 1010 in base 10 | 1010₂ = 10 (as 8 + 2) |
| 1101₂ = 1101 | 1101₂ = 13 (8+4+0+1) |
2. Two’s Complement: Sign Bit Confusion | 二进制补码:符号位混淆
When representing negative numbers with two’s complement, learners frequently read the 8‑ nd conclude it equals 255. In two’s complement the leftmost bit carries a negative weight: –2⁷ for an 8‑bit number. So 1111 1111₂ = –128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = –1.
在使用补码表示负数时,学生常常看着 8 位二进制模式 1111 1111₂,直接得出 255 的结论。但在补码体系中,最左位具有负权重:8 位数的负权重是 –2⁷。因此,1111 1111₂ = –128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = –1。
tting to flip bits and add one when converting a negative decimal to two’s complement. For –3, simply writing 1000 0011₂ (sign‑and‑ cceptable in SQA exams that explicitly test two’s complement representation. The correct 8‑bit two’s complement for –3 is 1111 1101₂ (invert positive 3: 0000 0011 → 1111 1100, then add 1).
另一个疏忽是,在将负十进制转换为补码时,忘记了“取反加一”的步骤。对于 –3,简单地写成 1000 0011₂(原码表示)在 SQA 考试中是不被接受的,因为考试明确考察补码表示法。–3 正确的 8 位补码是 1111 1101₂(正 3:0000 0011 → 取反 1111 1100,再加 1)。
Range of 8‑bit two’s complement: –2⁷ to 2⁷ – 1, i.e. –128 to +127
3. RAM vs ROM: Purpose and Volatility | 内存与只读存储器:用途与易失性
Many students incorrectly believe that RAM (Random Access Memory) retains data when the computer is switched off. RAM is volatile; its contents are lost on power‑off. ROM (Read‑Only Memory), on the other hand, is non‑volatile and stores the BIOS or firmware needed to boot the machine. Confusing their roles leads to wrong answers in hardware description questions.
许多学生错误地认为 RAM(随机存取存储器)在计算机关机后仍能保留数据。RAM 是易失性存储器,断电后其中的内容会全部丢失。而 ROM(只读存储器)是非易失性的,它存放着启动计算机所需的 BIOS 或固件。混淆这两者的角色会导致硬件描述题目的错误答案。
A related myth is that ROM can be freely overwritten like RAM. In reality, traditional ROM is programmed once, while modern types like EEPROM can be rewritten but only through special procedures, not by ordinary program instructions. When asked to compare them, always link volatility to RAM and fixed firmware storage to ROM.
另一个相关的误区是认为 ROM 可以像 RAM 一样被随意覆盖。实际上,传统 ROM 只能被编程一次,而现代的类型如 EEPROM 虽然可重写,但也必须通过特殊的流程,并不是普通程序指令可以直接更改的。在需要比较二者时,一定要把易失性关联到 RAM,把固定固件存储关联到 ROM。
4. Network Addresses: IP Address vs MAC Address | 网络地址:IP 地址与 MAC 地址的区别
A pervasive misconception is that the MAC address is used to route data across the internet. The IP address is the logical address that routers use to forward packets between networks. The MAC (Media Access Control) address is a hardware identifier used only within a local network segment. Exams often ask which address changes as a packet crosses a router; the correct answer is the source and destination MAC addresses, while IP addresses remain the same (unless NAT is involved).
一个很普遍的误解是认为 MAC 地址用于在互联网中路由数据。实际上,IP 地址是逻辑地址,路由器用它在不同网络之间转发数据包。MAC(介质访问控制)地址是硬件标识符,仅在本地网段内有效。考试经常会问:数据包经过路由器时哪个地址会发生变化?正确答案是源和目的 MAC 地址,而 IP 地址保持不变(除非涉及 NAT)。
Students also mix up address formats: IPv4 addresses are 32‑bit dotted‑decimal (e.g., 192.168.1.1), while MAC addresses are 48‑bit hexadecimal groups (e.g., AA:BB:CC:DD:EE:FF). Remember that a device keeps the same MAC address worldwide, but its IP address can be dynamically assigned via DHCP.
学生还容易混淆地址格式:IPv4 地址是 32 位的点分十进制(如 192.168.1.1),而 MAC 地址是 48 位的十六进制组合(如 AA:BB:CC:DD:EE:FF)。请记住,设备的 MAC 地址在全球范围内保持一致,但其 IP 地址可以通过 DHCP 动态分配。
5. Database Keys: Primary Key Misuse | 数据库键:主键误用
Choosing any unique field as a primary key is a common design mistake. A candidate key may be unique, but a primary key should also be stable, never null, and ideally meaningful to the system. Using a surname (which could change or duplicate) or a mobile number (which can be reused) as a primary key is risky. The standard solution is a synthetic, auto‑increment integer that has no real‑world meaning, ensuring stability and uniqueness.
将任意唯一字段选作主键是一个常见的设计错误。候选键也许具备唯一性,但主键还应保持稳定、永远不为空,并且在系统中有意义。将姓氏(可能变更或重复)或手机号码(可能被回收再利用)作为主键是冒险的。标准做法是使用没有实际意义的自动增长整数,从而确保稳定性和唯一性。
Another error is failing to understand that a foreign key must reference an existing primary key in a related table to enforce referential integrity. For SQA questions, always check that the fields you link through have matching data types and that you don’t accidentally create orphaned records.
另一个错误是未能理解外键必须引用关联表中已存在的主键,从而保证引用完整性。在回答 SQA 的问题时,请始终检查用于关联的字段是否具有一致的数据类型,并确保你不会意外生成孤立记录。
6. Compression: Lossy vs Lossless Trade‑offs | 压缩:有损与无损的权衡
Some learners assume that lossy compression always ruins a file and should be avoided. In reality, lossy compression is deliberately designed to discard data that is perceptually irrelevant to human senses. JPEG images, MP3 audio, and MPEG video all rely on lossy algorithms to achieve dramatic size reductions while maintaining acceptable quality. Lossless compression (ZIP, PNG, FLAC) preserves every bit but usually yields smaller compression ratios.
有些学习者认为有损压缩总会毁掉文件,应该尽量避免。实际上,有损压缩是刻意丢弃人感官无法感知的数据。JPEG 图像、MP3 音频和 MPEG 视频都依赖有损算法,在保持可接受质量的同时大幅减小文件体积。无损压缩(ZIP、PNG、FLAC)虽然保留每一个比特,但压缩率通常更低。
The mistake on exams is recommending lossy compression for text documents or source code, where even a single missing bit can cause corruption. For executable programs, bank records, or textual data, lossless compression is mandatory. Use a table to compare the two.
考试中常见的错误是,推荐对文本文档或源代码使用有损压缩,而在这些场景中哪怕丢失一个比特也会导致损坏。对于可执行程序、银行记录或文本数据,必须使用无损压缩。用表格对比两者的差异。
| Aspect | Lossy | Lossless |
|---|---|---|
| Data loss | Irreversible | None |
| File size reduction | Very high | Moderate |
| Typical uses | Streaming video, photos, music | Text, programs, ZIP archives |
7. Programming Logic: Off‑by‑One Errors in Loops | 编程逻辑:循环中的差一错误
Off‑by‑ eudocode, a fixed loop FOR i = 0 TO 5 will run six times (0,1,2,3,4,5). A student counting '0 to 5' xing; an array of size 5 has valid indices 0 to 4. Accessing index 5 causes a logic error.
差一错误发生在循环比预期多迭代一次或少一次时。在 SQA 伪代码中,固定循环 FOR i = 0 TO 5 会执行六次(0,1,2,3,4,5)。学生在数“0 到 5”时,可能错误地认为只有五次迭代。这种错误经常出现在数组索引中;大小为 5 的数组,有效下标是 0 到 4。访问下标 5 会导致逻辑错误。
ection is to visualize the boundary. If you need exactly N repetitions, use FOR i = 0 TO N‑ the loop to run at least once. Tracing small examples on paper helps avoid these mistakes.
一个实用的纠正方法是可视化循环边界。如果你需要恰好重复 N 次,请使用 FOR i = 0 TO N‑1 或 FOR i = 1 TO N。在 REPEAT UNTIL 循环中要明确条件:如果你希望循环至少运行一次,请在条件检查前递增计数器。在纸上追踪小例子有助于避免这类错误。
8. Data Representation: Unicode and ASCII Overlaps | 数据表示:Unicode 与 ASCII 重叠
The misconception that Unicode is simply a 16‑bit version of ASCII overlooks its true design. ASCII is a 7‑bit code (values 0–127) that covers basic Latin letters, digits, and symbols. Unicode is a vast character set that can encode over 140,000 characters from all modern and historical scripts. Crucially, Unicode’s first 128 code points match ASCII for backward compatibility, but Unicode itself uses variable‑length encodings like UTF‑8 and UTF‑16.
一个误区是,认为 Unicode 只是 ASCII 的 16 位版本,这忽略了其真正的设计。ASCII 是 7 位编码(值 0–127),涵盖基本的拉丁字母、数字和符号。Unicode 是一个庞大的字符集,可以编码超过 140,000 个来自各种现代和历史文字的字符。关键的是,Unicode 的前 128 个码点与 ASCII 向后兼容,但 Unicode 本身使用 UTF‑8、UTF‑16 等变长编码方案。
Exams may test your understanding by asking why a file containing only English text can be represented in both ASCII and UTF‑8 with identical bytes. The answer is that UTF‑8 uses a single byte for characters U+0000 to U+007F, which directly correspond to ASCII. But a Euro sign (€) or an emoji requires multiple bytes in UTF‑8 and has no ASCII equivalent.
考试可能会通过这样的问题来考察你的理解:为什么一个只包含英文文本的文件可以在 ASCII 和 UTF‑8 中得到完全相同的字节表示?答案是,UTF‑8 对 U+0000 到 U+007F 的字符使用单字节,这与 ASCII 直接对应。但欧元符号 (€) 或表情符号在 UTF‑8 中需要多个字节,且在 ASCII 中没有等价表示。
9. Security: Encryption vs Encoding (Base64) | 安全:加密与编码(Base64)的区别
A worrying error for a computing exam is labeling Base64 or ASCII‑to‑hex conversion as 'encryption'. Encoding transforms data into another format for transport or storage, using a public algorithm that requires no key. Anyone can decode a Base64 string back to its original form. Encryption, such as AES or RSA, mathematically scrambles data using a secret key, and only someone with the corresponding key can decrypt it. Base64 provides no confidentiality.
在计算机考试中,一个令人担忧的错误是把 Base64 或 ASCII 到十六进制的转换称为“加密”。编码只是将数据变换为另一种格式以便传输或存储,它使用公开的算法,无需密钥。任何人都可以将 Base64 字符串解码回原始形式。而加密(如 AES 或 RSA)利用密钥通过数学方法对数据进行加扰,只有持有对应密钥的人才能解密。Base64 不提供任何机密性。
Visual check: if you see an algorithm outputting string that looks like 'SGVsbG8gV29ybGQ=' and there is no mention of a key, it' shing and encryption, never Base64. Being precise with terminology earns marks in extended‑response items.
直观检查方法:如果你看到一个算法输出类似 'SGVsbG8gV29ybGQ=' 的字符串,且没有提到密钥,那就是编码。凡是问及如何安全地发送密码的题目,都应提到哈希和加密,而绝不是 Base64。术语的精确使用能为长答题赢得分数。
10. Pseudocode to Code: Variable Types and Declarations | 伪代码转实际代码:变量类型与声明
In SQA pseudocode, variables must be declared before use, yet many candidates skip the DECLARE statement. Writing age ← 16 without first declaring age AS INTEGER is a syntax error in SQA marking schemes. The correct sequence is DECLARE age AS INTEGER, followed by age ← 16. This also applies to structured types: DECLARE name AS STRING, or DECLARE scores AS ARRAY OF INTEGER.
在 SQA 伪代码中,变量在使用前必须先声明,然而许多考生会跳过 DECLARE 语句。直接写 age ← 16 而不先声明 age AS INTEGER,在 SQA 评分方案中属于语法错误。正确的顺序应该是 DECLARE age AS INTEGER,之后再写 age ← 16。这同样适用于结构化类型:DECLARE name AS STRING 或 DECLARE scores AS ARRAY OF INTEGER。
Another frequent slip is mismatch between declared type and assigned value; for example, DECLARE temperature AS INTEGER then temperature ← 23.5. SQA expects you to choose the appropriate data type (REAL for decimals) and to ensure consistency. Writing trace‑table‑driven examples in which types are respected helps internalize this discipline.
另一个常见疏漏是声明的类型与赋予的值不匹配;例如,DECLARE temperature AS INTEGER 后却写 temperature ← 23.5。SQA 期望你选择合适的数据类型(带小数的用 REAL),并保持一致性。编写遵循类型要求的追踪表示例,有助于将这种规范内化于心。
Standard declaration: DECLARE
更多咨询请联系16621398022(同微信)

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