← Course Hub← 课程主页 ← All Units← 返回单元列表
H I G H  S C H O O L  C O M P U T E R  S C I E N C E
Solutions答案解析

Cybersecurity, Ethics and Society网络安全、伦理与社会

Worked Solutions · AP CSP-Feeder · US / ON / BC / AB Styles详细解答 · AP CSP 衔接 · 美 / 安 / 卑 / 阿省风格

EASY MEDIUM HARD Honors荣誉级


PART I  ·  SHORT RESPONSE第一部分  ·  短答题25 marks共 25 分

Section A · Short ResponseA 部分 · 短答题

Q1 EASY 🇺🇸 US §1 Cybersecurity Threats网络安全威胁 [3 marks][3 分]

Which type of malware disguises itself as legitimate software to trick a user into installing it, but then performs harmful actions once installed?哪种类型的恶意软件将自己伪装成合法软件,诱使用户安装,但安装后执行有害操作?

Answer: (B) Trojan答案:(B) 木马 A1

Correct: A Trojan disguises itself as legitimate software (e.g., a free game, a utility) to convince the user to install it voluntarily. Once installed, it performs malicious actions such as opening a backdoor, stealing data, or dropping other malware. It does not self-replicate (that is a virus) and does not spread across networks without a host file (that is a worm).正确:木马将自己伪装成合法软件(如免费游戏、实用工具),说服用户自愿安装。安装后,它执行恶意操作,如开后门、窃取数据或释放其他恶意软件。它不会自我复制(那是病毒),也不会在没有宿主文件的情况下在网络中传播(那是蠕虫)。

(A) Worm spreads across networks without needing to attach to a file or trick the user.蠕虫在网络中传播,无需附着于文件或欺骗用户。
(C) Spyware records user activity silently; it may or may not disguise itself but its defining feature is surveillance, not disguise.间谍软件悄悄记录用户活动;它可能伪装也可能不伪装,但其定义特征是监视,而非伪装。
(D) Ransomware encrypts files and demands payment; it is often delivered by a Trojan but is not itself the disguise mechanism.勒索软件加密文件并要求付款;它通常由木马传递,但本身不是伪装机制。
Insight:洞察: The Trojan name comes from the Greek myth: the gift looks benign on the outside but contains danger. In practice, Trojans and ransomware often work together -- the Trojan is the delivery vehicle, and ransomware is the payload. BC CS10 names Trojans verbatim in its security risks content.木马这个名称来自希腊神话:礼物外表无害,但内含危险。实际上,木马和勒索软件经常协同工作-木马是传送工具,勒索软件是有效载荷。BC CS10 在其安全风险内容中原文命名了木马。
Q2 EASY 🇨🇦 BC §2 Encryption and Authentication加密与身份验证 [4 marks][4 分]

Distinguish between symmetric and asymmetric encryption; state which type is used to exchange a session key in HTTPS.区分对称加密和非对称加密;说明 HTTPS 使用哪种类型交换会话密钥。

Table + HTTPS: asymmetric (to exchange key securely)表格 + HTTPS:非对称(安全交换密钥)

Part (a) -- Table [2 marks]第 (a) 部分 -- 表格 [2 分]

Symmetric: 1 key (shared); Faster. | Asymmetric: 2 keys (public + private); Slower.对称:1 个密钥(共享);更快。 | 非对称:2 个密钥(公钥 + 私钥);更慢。

M1 Symmetric: 1 key / same key for encrypt and decrypt.对称:1 个密钥 / 加密解密使用相同密钥。

M1 Asymmetric: key pair (public + private); slower.非对称:密钥对(公钥 + 私钥);更慢。

Part (b) -- HTTPS session key [2 marks]第 (b) 部分 -- HTTPS 会话密钥 [2 分]

Asymmetric encryption is used to exchange the session key. M1 The reason is that symmetric encryption requires both parties to already share a key; if they have never communicated before, there is no safe way to share it over an untrusted channel. Asymmetric encryption solves this: the server publishes its public key; the browser uses it to send the session key securely; only the server's private key can decrypt it. A1非对称加密用于交换会话密钥。M1原因是对称加密要求双方已经共享密钥;如果他们从未通信过,就没有安全的方式在不受信任的信道上共享密钥。非对称加密解决了这个问题:服务器发布其公钥;浏览器用它安全地发送会话密钥;只有服务器的私钥才能解密。A1

Insight:洞察: HTTPS uses a hybrid approach: asymmetric for the key exchange handshake (slow but solves the key distribution problem), then symmetric (AES) for all the actual data transfer (fast). Knowing why the hybrid is necessary -- not just that it exists -- is what earns marks on AP CSP and IB extended questions.HTTPS 使用混合方法:非对称用于密钥交换握手(慢但解决了密钥分发问题),然后对称(AES)用于所有实际数据传输(快)。了解为什么需要混合方法(而不仅仅是它的存在)是在 AP CSP 和 IB 扩展题中得分的关键。
Q3 MEDIUM 🇨🇦 ON §3 Safe Computing Practices安全计算实践 [5 marks][5 分]

Student uses "soccer2010" on 5 sites; one site is breached and hashes cracked.学生在 5 个网站上使用"soccer2010";一个网站遭到入侵且哈希被破解。

Attack: Credential stuffing / Tool: Password manager攻击:凭据填充 / 工具:密码管理器

Part (a) -- Attack name [1]第 (a) 部分 -- 攻击名称 [1 分]

Credential stuffing. A1 Attackers take a list of username/password pairs leaked from one site and automatically try them on many other sites (email, banking, social media). Because the student reused the same password, all five accounts are now at risk from one breach.凭据填充。A1攻击者获取从一个网站泄露的用户名/密码对列表,并在许多其他网站(电子邮件、银行、社交媒体)上自动尝试。因为学生重复使用了相同的密码,所有五个账户现在都因一次泄露而面临风险。

Part (b) -- Weak password analysis + improvements [3]第 (b) 部分 -- 弱密码分析 + 改进措施 [3 分]

"soccer2010" is weak because: it is a common word (soccer) combined with a year (2010), making it a predictable pattern; it is only 10 characters; it uses no symbols or mixed case; and it is likely in common wordlists used by dictionary attacks. M1"soccer2010"很弱,因为:它是一个常用词(soccer)与年份(2010)的组合,形成可预测的模式;只有 10 个字符;没有使用符号或大小写混合;并且很可能在字典攻击使用的常用词汇表中。M1

Improvement 1: Increase length to at least 12-16 characters. A1改进 1:将长度增加到至少 12-16 个字符。A1

Improvement 2: Add symbols and mixed case, e.g., S0ccer!2O1O#x, or use a completely random passphrase. A1改进 2:添加符号和大小写混合,如 S0ccer!2O1O#x,或使用完全随机的密码短语。A1

Part (c) -- Tool [1]第 (c) 部分 -- 工具 [1 分]

Password manager (e.g., Bitwarden, 1Password, KeePass). A1 It generates a long, unique random password for every site and stores them securely; the user only memorises one master password.密码管理器(如 Bitwarden、1Password、KeePass)。A1它为每个网站生成一个长且唯一的随机密码并安全存储;用户只需记住一个主密码。

Insight:洞察: The risk of password reuse is not about one attacker guessing the password -- it is about the cascading blast radius when any one site in a large ecosystem is breached. A password manager eliminates this risk at zero cognitive cost to the user. Ontario ICS4U D2.1 lists "sharing passwords" as an ethical issue; the flip side is protecting your own passwords with proper tools.密码重用的风险不在于攻击者猜测密码-而在于大型生态系统中任何一个网站遭到入侵时的连锁影响范围。密码管理器在零认知成本的情况下消除了这种风险。安大略 ICS4U D2.1 将"共享密码"列为伦理问题;另一面是使用适当工具保护自己的密码。
Q4 MEDIUM 🇺🇸 US §4 Privacy and Data Ethics隐私与数据伦理 [6 marks][6 分]

Navigation app requests location, microphone, contacts, and camera; stated purpose is turn-by-turn directions only.导航应用请求位置、麦克风、联系人和摄像头权限;声明目的仅为逐步导航。

Necessary: Location only | Violated principle: Data minimisation必要权限:仅位置 | 违反原则:数据最小化

Part (a) -- Necessary permission [2]第 (a) 部分 -- 必要权限 [2 分]

Location (always on) is the only permission strictly necessary. A1 Turn-by-turn navigation requires knowing where you are at all times. Microphone, contacts, and camera have no functional relationship to providing directions. A1位置(始终开启)是唯一严格必要的权限。A1逐步导航需要随时知道你的位置。麦克风、联系人和摄像头与提供导航没有任何功能关系。A1

Part (b) -- Data ethics principle [2]第 (b) 部分 -- 数据伦理原则 [2 分]

Data minimisation (also acceptable: principle of least privilege). A1 Definition: collect only the data strictly necessary for the stated purpose; do not gather data "just in case" or for unstated secondary uses. A1数据最小化(也可接受:最小权限原则)。A1定义:仅收集实现声明目的严格必要的数据;不要"以防万一"或为未声明的二次使用收集数据。A1

Part (c) -- Informed consent [2]第 (c) 部分 -- 知情同意 [2 分]

Tapping "Allow All" without reading does not constitute genuine informed consent because the user does not actually understand what data is being collected or why. M1 Informed consent requires that the user genuinely comprehends the tradeoff -- not merely clicks through a prompt to reach the app. A1未阅读就点击"全部允许"不构成真正的知情同意,因为用户实际上不了解正在收集什么数据或原因。M1知情同意要求用户真正理解权衡-而不仅仅是点击提示来进入应用。A1

Insight:洞察: The "free" app business model often monetises excess permissions: contact lists are sold to spammers, microphone data is used for targeted ads. CSTA 3A-IC-29 specifically targets automated data collection that is "not evident to users" -- this is exactly that. When evaluating an app, the ratio of permissions requested to stated functionality is a useful heuristic for identifying data harvesting."免费"应用商业模式通常通过多余权限盈利:联系人列表被出售给垃圾邮件发送者,麦克风数据用于定向广告。CSTA 3A-IC-29 专门针对"对用户不明显"的自动化数据收集-这正是如此。评估应用时,请求权限与声明功能的比率是识别数据收集的有用启发式方法。
Q5 MEDIUM 🇨🇦 AB §5 Intellectual Property and Licensing知识产权与许可 [7 marks][7 分]

Match scenarios to IP terms; explain one beneficial and one harmful effect of strict copyright on software innovation.将场景与知识产权术语匹配;解释严格版权对软件创新的一个有益影响和一个有害影响。

(a) fair use   (b) software piracy   (c) GPL (copyleft)(a) 合理使用   (b) 软件盗版   (c) GPL(著佐权)

(a) Fair use. A1 Photocopying one chapter for classroom discussion without selling copies falls within educational fair use / fair dealing exceptions to copyright.(a) 合理使用。A1为课堂讨论复印一章内容且不出售副本,属于版权教育合理使用/公平交易例外。

(b) Software piracy. A1 Using proprietary software without a valid licence violates the software's copyright licence and constitutes piracy. Ontario ICS4U D2.1 lists "software piracy" as a key ethical issue.(b) 软件盗版。A1在没有有效许可的情况下使用专有软件违反了软件的版权许可,构成盗版。安大略 ICS4U D2.1 将"软件盗版"列为关键伦理问题。

(c) GPL (copyleft). A1 GPL's "viral" condition requires that any modified or derived work also be distributed under the GPL, ensuring the open-source ecosystem remains open. MIT licence is permissive -- it does not require derivatives to stay open.(c) GPL(著佐权)。A1GPL 的"传染性"条件要求任何修改或衍生作品也在 GPL 下分发,确保开源生态系统保持开放。MIT 许可是宽松的-它不要求衍生作品保持开放。

Part (d) -- Beneficial and harmful effects [4 marks]第 (d) 部分 -- 有益和有害影响 [4 分]

Beneficial (2 marks): Strict copyright gives creators and companies the legal right to profit from their software, which funds continued development, research, and maintenance -- without this incentive, much commercial software would not be created. M1 A1有益影响(2 分):严格的版权给予创作者和公司从其软件中获利的法律权利,这为持续开发、研究和维护提供资金-没有这种激励,许多商业软件将不会被创建。M1 A1

Harmful (2 marks): Overly broad copyright protection can stifle innovation by preventing others from building on existing work (even to improve it), extending monopolies and slowing the collaborative community-driven progress that open-source enables. M1 A1有害影响(2 分):过于宽泛的版权保护可能通过阻止他人基于现有作品进行开发(即使是为了改进)来抑制创新,延长垄断并减缓开源所促成的协作社区驱动进步。M1 A1

Insight:洞察: GPL uses copyright law against itself: by making the licence terms enforceable under copyright, it compels openness. This is sometimes called "copyleft" because it inverts copyright's default (all rights reserved) to a minimum (all freedoms preserved). CSTA 3A-IC-28 asks you to evaluate both sides -- always give a concrete example for each direction of effect.GPL 将版权法用于对抗自身:通过使许可条款在版权下可执行,它强制要求开放性。这有时被称为"著佐权",因为它将版权的默认值(保留所有权利)倒置为最低值(保留所有自由)。CSTA 3A-IC-28 要求你评估两面-始终为每个影响方向提供具体例子。
PART II  ·  EXTENDED RESPONSE第二部分  ·  简答题30 marks共 30 分

Section B · Extended ResponseB 部分 · 简答题

Q6 EASY 🇺🇸 US 🇨🇦 ON §1 Threat classification + defence威胁分类与防御 [6 marks][6 分]

Identify threat category and state one defence for each scenario.识别每个场景的威胁类别并说明一种防御措施。

A: phishing / B: social engineering / C: malware (worm)A:钓鱼 / B:社会工程学 / C:恶意软件(蠕虫)

Part (a) -- Scenario A [2 marks]第 (a) 部分 -- 场景 A [2 分]

Threat: Phishing. A1 The attacker impersonates a trusted institution (the school) via email and uses a fake look-alike URL to steal credentials. The slight URL difference is the telltale sign of phishing. Defence: hover over links before clicking to verify the real URL; go directly to the school portal by typing the address; enable email spam/phishing filters. A1威胁:钓鱼。A1攻击者通过电子邮件冒充可信机构(学校),并使用虚假相似 URL 窃取凭据。略有不同的 URL 是钓鱼的标志。防御:点击前悬停在链接上验证真实 URL;通过键入地址直接访问学校门户;启用电子邮件垃圾/钓鱼过滤器。A1

Part (b) -- Scenario B [2 marks]第 (b) 部分 -- 场景 B [2 分]

Threat: Social engineering (pretexting / tech support scam). A1 No malware is required -- the attacker exploits fear and urgency to manipulate the user into granting access and paying money. Legitimate support services never cold-call users about infections. Defence: never call numbers from pop-ups; verify through the official vendor website; hang up on unsolicited "support" calls. A1威胁:社会工程学(借口攻击 / 技术支持诈骗)。A1不需要恶意软件-攻击者利用恐惧和紧迫感操纵用户授予访问权限并付款。合法的支持服务从不主动打电话给用户告知感染。防御:不要拨打弹窗中的电话号码;通过官方供应商网站验证;挂断主动打来的"支持"电话。A1

Part (c) -- Scenario C [2 marks]第 (c) 部分 -- 场景 C [2 分]

Threat: Malware (worm). A1 A worm spreads automatically across networks by exploiting software vulnerabilities -- no user interaction needed distinguishes it from a Trojan or phishing-delivered payload. Defence: apply OS patches and security updates promptly; use network segmentation and firewalls to limit lateral movement. A1威胁:恶意软件(蠕虫)。A1蠕虫通过利用软件漏洞在网络中自动传播-不需要用户交互,这将其与木马或钓鱼传递的有效载荷区分开来。防御:及时应用操作系统补丁和安全更新;使用网络分段和防火墙限制横向移动。A1

Insight:洞察: The key distinction between threat categories: malware exploits software vulnerabilities; phishing exploits trust in institutions; social engineering exploits human psychology (fear, urgency, authority). Scenario B is social engineering even though the end goal may involve installing malware -- because the attack vector is manipulation, not a technical exploit. Always classify by the mechanism, not the goal.威胁类别之间的关键区别:恶意软件利用软件漏洞;钓鱼利用对机构的信任;社会工程学利用人类心理(恐惧、紧迫感、权威)。场景 B 是社会工程学,即使最终目标可能涉及安装恶意软件-因为攻击向量是操纵,而非技术漏洞利用。始终按机制分类,而非目标。
Q7 MEDIUM 🇨🇦 ON 🇨🇦 BC §2 + §3 Encryption basics + MFA加密基础 + 多因素认证 [7 marks][7 分]

Caesar cipher shift 3; weakness; key exchange; three authentication factors.凯撒密码移位 3;弱点;密钥交换;三种身份验证因素。

HACK + shift 3 = KDFNHACK + 移位 3 = KDFN

Part (a) -- Encrypt HACK [2 marks]第 (a) 部分 -- 加密 HACK [2 分]

H (8th letter) + 3 = K (11th). A (1st) + 3 = D (4th). C (3rd) + 3 = F (6th). K (11th) + 3 = N (14th).H(第 8 个字母)+ 3 = K(第 11 个)。A(第 1 个)+ 3 = D(第 4 个)。C(第 3 个)+ 3 = F(第 6 个)。K(第 11 个)+ 3 = N(第 14 个)。

Ciphertext: KDFN M1 (1 mark for correct method, 1 mark for correct answer) A1密文:KDFN M1(正确方法 1 分,正确答案 1 分)A1

Part (b) -- Weakness [2 marks]第 (b) 部分 -- 弱点 [2 分]

The Caesar cipher has only 25 possible shift values, so an attacker can try all of them in seconds (brute force). M1 Additionally, it is vulnerable to frequency analysis: in English text, letters like E and T appear most often; matching the most common letters in the ciphertext to common English letters reveals the shift without even trying all keys. A1凯撒密码只有 25 个可能的移位值,因此攻击者可以在几秒钟内尝试所有值(暴力破解)。M1此外,它容易受到频率分析的攻击:在英文文本中,E 和 T 等字母出现最频繁;将密文中最常见的字母与常见英文字母匹配,即可在不尝试所有密钥的情况下揭示移位量。A1

Part (c) -- Key exchange [2 marks]第 (c) 部分 -- 密钥交换 [2 分]

Asymmetric encryption should be used to share the decryption key. A1 The reason: the sender can encrypt the symmetric decryption key using the recipient's public key; only the recipient's private key can decrypt it. This solves the key distribution problem -- there is no way to securely share a symmetric key over email without first having a shared secret. A1非对称加密应用于共享解密密钥。A1原因:发送者可以用接收者的公钥加密对称解密密钥;只有接收者的私钥才能解密。这解决了密钥分发问题-在没有预先共享秘密的情况下,无法通过电子邮件安全共享对称密钥。A1

Part (d) -- Three authentication factors [1 mark]第 (d) 部分 -- 三种身份验证因素 [1 分]

Something you know (e.g., password, PIN); Something you have (e.g., phone, hardware key); Something you are (e.g., fingerprint, face scan). A1 (Award 1 mark for all three correct with examples.)你知道的东西(如密码、PIN);你拥有的东西(如手机、硬件密钥);你本身的特征(如指纹、面部扫描)。A1(三项均正确并有例子得 1 分。)

Insight:洞察: The Caesar cipher is historically important -- Julius Caesar used it for military communications -- but it was breakable even in ancient times by frequency analysis. Modern encryption (AES-256, RSA-2048) is designed to resist not only exhaustive search but also mathematical attacks. The cipher exercise illustrates why key space size and resistance to frequency analysis are fundamental requirements for any real encryption scheme.凯撒密码在历史上很重要-尤利乌斯·凯撒将其用于军事通信-但即使在古代也可以通过频率分析破解。现代加密(AES-256、RSA-2048)旨在抵抗不仅穷举搜索而且数学攻击。密码练习说明了为什么密钥空间大小和对频率分析的抵抗力是任何真实加密方案的基本要求。
Q8 MEDIUM 🇺🇸 US 🇨🇦 AB §4 + §5 PII + secondary use + IPPII + 二次使用 + 知识产权 [8 marks][8 分]

Grocery loyalty app: name, email, postal code, purchase history sold to data broker.杂货店会员应用:姓名、电子邮件、邮政编码、购买历史出售给数据经纪人。

PII: name, email, postal code (purchase history = arguably PII) | Principle violated: informed consent / prohibition on secondary usePII:姓名、电子邮件、邮政编码(购买历史 = 可以说是 PII)| 违反原则:知情同意 / 禁止二次使用

Part (a) -- PII identification [3 marks]第 (a) 部分 -- PII 识别 [3 分]

Name is PII: it directly identifies an individual. A1姓名是 PII:它直接识别个人。A1

Email address is PII: it is a unique identifier linked to a specific person. A1电子邮件地址是 PII:它是与特定人员关联的唯一标识符。A1

Home postal code is PII: combined with name, it allows pinpointing where a person lives. A1 (Purchase history: accept as PII with justification -- detailed purchases can identify individuals via re-identification attacks; however, this is less directly PII than the first three.)家庭邮政编码是 PII:结合姓名,它可以精确定位一个人的居住地。A1(购买历史:有理由接受为 PII-详细购买记录可以通过重新识别攻击来识别个人;但是,这不如前三项直接属于 PII。)

Part (b) -- Anonymisation claim [2 marks]第 (b) 部分 -- 匿名化声明 [2 分]

The claim may be false because: detailed purchase histories can be re-identified even without names -- researchers have shown that as few as 3-4 purchases (item type, store, time) can uniquely identify a person within a large dataset. M1 A1 (Also acceptable: combining postal code with purchase patterns narrows down to very few individuals, enabling re-identification.)该声明可能是错误的,因为:即使没有姓名,详细的购买历史也可以被重新识别-研究人员已证明,仅 3-4 次购买(商品类型、商店、时间)就足以在大型数据集中唯一识别一个人。M1 A1(也可接受:将邮政编码与购买模式结合可以缩小到极少数个人,从而实现重新识别。)

Part (c) -- Ethical principle [2 marks]第 (c) 部分 -- 伦理原则 [2 分]

Informed consent (or prohibition on secondary use without consent). A1 The data was collected for the purpose of processing loyalty rewards; selling it to third-party marketers is a secondary use that customers were not told about and did not agree to. This violates the principle that users must know and consent to how their data is used. A1知情同意(或禁止未经同意的二次使用)。A1数据是为处理会员奖励而收集的;将其出售给第三方营销商是客户未被告知且未同意的二次使用。这违反了用户必须知道并同意其数据使用方式的原则。A1

Part (d) -- GPL requirement [1 mark]第 (d) 部分 -- GPL 要求 [1 分]

The GPL requires that the modified version of the library also be released under the GPL (distributed as open-source with the source code available). A1GPL 要求修改后的库版本也在 GPL 下发布(作为开源发布,源代码可用)。A1

Insight:洞察: The anonymisation paradox: companies claim anonymisation protects privacy, but "anonymised" datasets are routinely re-identified in research. The Netflix Prize dataset (movie ratings, no names) was de-anonymised by correlating ratings with public IMDB reviews. Health data is even more re-identifiable because medical conditions are rare and specific. Truly privacy-preserving anonymisation requires differential privacy or data aggregation -- stripping names is not enough.匿名化悖论:公司声称匿名化保护隐私,但"匿名"数据集在研究中经常被重新识别。Netflix 奖数据集(电影评分,无姓名)通过将评分与公开的 IMDB 评论相关联而被去匿名化。健康数据更容易被重新识别,因为医疗状况是罕见和特定的。真正保护隐私的匿名化需要差分隐私或数据聚合-仅仅删除姓名是不够的。
Q9 HARD Honors荣誉级 🇺🇸 US §6 + §7 Societal impact + bias + accessibility社会影响 + 偏见 + 可访问性 [9 marks][9 分]

AI hiring tool trained on 20 years of biased historical data; no screen-reader support.基于 20 年有偏见历史数据训练的 AI 招聘工具;无屏幕阅读器支持。

Phenomenon: Algorithmic bias | Principle violated: Digital accessibility现象:算法偏见 | 违反原则:数字可访问性

Part (a) -- Phenomenon name [2 marks]第 (a) 部分 -- 现象名称 [2 分]

The problem is algorithmic bias (also: training data bias, or discriminatory AI). A1 If historical hiring data reflects patterns in which certain groups were systematically underrepresented or excluded (e.g., due to gender, race, or age bias), the AI will learn those patterns and reproduce them -- effectively automating discrimination at scale. A1问题是算法偏见(也称为:训练数据偏见,或歧视性 AI)。A1如果历史招聘数据反映了某些群体被系统性地低估或排除的模式(如由于性别、种族或年龄偏见),AI 将学习这些模式并复现它们-实际上是在大规模自动化歧视。A1

Part (b) -- Evaluate "identical treatment" argument [3 marks]第 (b) 部分 -- 评估"同样对待"论点 [3 分]

The argument is flawed. Identical treatment is not the same as equitable treatment: if the algorithm was trained on biased data, then treating all candidates "identically" by the same algorithm will reproduce the historical bias against the same groups. M1 A1 Equity requires that outcomes be fair across groups, not merely that the same process is applied; a process that systematically disadvantages a protected group is discriminatory regardless of whether it is "consistent." A1这个论点是有缺陷的。同样对待不等于公平对待:如果算法是在有偏见的数据上训练的,那么用同样的算法"同样地"对待所有候选人将会对相同群体复现历史偏见。M1 A1公平要求各群体的结果是公正的,而不仅仅是应用相同的过程;一个系统性地使受保护群体处于不利地位的过程是歧视性的,无论它是否"一致"。A1

Part (c) -- Two mitigation steps [2 marks]第 (c) 部分 -- 两项缓解措施 [2 分]

Step 1: Conduct a bias audit before deployment -- statistically test the tool's outputs across demographic groups and compare acceptance rates; if disparate impact is found, retrain or adjust the model. A1措施 1:在部署前进行偏见审计-在不同人口群体中统计测试工具的输出并比较录取率;如果发现不公平影响,重新训练或调整模型。A1

Step 2: Curate and balance the training data -- actively include historical examples of successful employees from underrepresented groups (or use a dataset that does not reflect past discriminatory patterns), so the model learns from a more equitable baseline. A1措施 2:整理和平衡训练数据-主动纳入来自低估群体的成功员工的历史例子(或使用不反映过去歧视性模式的数据集),使模型从更公平的基线学习。A1

Part (d) -- Accessibility principle [2 marks]第 (d) 部分 -- 可访问性原则 [2 分]

The portal violates digital accessibility (also: universal design, or inclusion in computing). A1 Without screen-reader support, visually impaired applicants cannot use the portal, meaning they are excluded from the application process entirely -- regardless of their qualifications. Since employment is a social and economic necessity, inaccessible digital systems compound existing inequities: they concentrate access among those who do not need assistive technologies, violating CSTA 3A-IC-30's requirement to consider the social and economic implications of computing on equity. A1该门户违反了数字可访问性(也称为:通用设计,或计算中的包容性)。A1没有屏幕阅读器支持,视觉障碍申请者无法使用该门户,这意味着他们完全被排除在申请过程之外-无论其资质如何。由于就业是一种社会和经济必需品,不可访问的数字系统加剧了现有的不平等:它们将访问集中于不需要辅助技术的人,违反了 CSTA 3A-IC-30 要求考虑计算对公平的社会和经济影响的规定。A1

Insight:洞察: AI bias is not a bug -- it is a feature of training on historical human decisions. If historical human decisions were biased, the AI faithfully learns that bias. This is why "the model just reflects reality" is not an acceptable defence: the model reflects a specific historical reality that may have been unjust, and automating it at scale amplifies injustice. The CSTA standard 3A-IC-30 specifically asks students to evaluate the social and economic implications of privacy and equity in computing -- this question is a direct test of that standard.AI 偏见不是一个错误-它是根据历史人类决策进行训练的特征。如果历史人类决策存在偏见,AI 会忠实地学习这种偏见。这就是为什么"模型只是反映现实"不是可接受的辩护:模型反映的是可能不公正的特定历史现实,大规模自动化会放大不公正。CSTA 标准 3A-IC-30 专门要求学生评估计算中隐私和公平的社会和经济影响-这道题是对该标准的直接测试。
PART III  ·  MODELING / APPLIED第三部分  ·  建模与应用25 marks共 25 分

Section C · Modeling and ApplicationsC 部分 · 建模与应用

Q10 MEDIUM 🇺🇸 US 🇨🇦 ON 🇨🇦 BC §1 + §2 + §3 Security incident analysis安全事件分析 [8 marks][8 分]

Hospital ransomware attack via phishing email; no backups; 3-day disruption.医院通过钓鱼电子邮件遭受勒索软件攻击;无备份;中断 3 天。

Vector: phishing | Payload: ransomware | Impact: data unavailability / service disruption向量:钓鱼 | 有效载荷:勒索软件 | 影响:数据不可用 / 服务中断

Part (a) -- Attack chain [3 marks]第 (a) 部分 -- 攻击链 [3 分]

Initial attack vector: phishing -- the attacker sent a deceptive email that the staff member opened, which either contained a malicious attachment or link. A1初始攻击向量:钓鱼-攻击者发送了工作人员打开的欺骗性电子邮件,其中包含恶意附件或链接。A1

Payload type: ransomware (a subtype of malware) -- the ransomware executed and encrypted all patient files, rendering them inaccessible. A1有效载荷类型:勒索软件(恶意软件的子类型)-勒索软件执行并加密了所有患者文件,使其无法访问。A1

Impact category: data unavailability / service disruption -- because patient files could not be accessed, patient care was disrupted for 3 days (also: potential data loss, reputational harm, financial cost of paying ransom or recovery). A1影响类别:数据不可用 / 服务中断-因为患者文件无法访问,患者护理中断了 3 天(也包括:潜在的数据丢失、声誉损害、支付赎金或恢复的财务成本)。A1

Part (b) -- Systemic failures [3 marks]第 (b) 部分 -- 系统性失误 [3 分]

The claim that the staff member is "solely to blame" is incorrect -- the hospital's systemic failures amplified the impact significantly. M1关于工作人员"负有全部责任"的说法是不正确的-医院的系统性失误显著放大了影响。M1

Systemic failure 1: No recent backups. The 3-2-1 backup rule should have ensured offline copies of patient data; with backups, recovery is possible without paying the ransom. This is a hospital-level policy failure. A1系统性失误 1:没有近期备份。3-2-1 备份规则本应确保患者数据的离线副本;有了备份,无需支付赎金即可恢复。这是医院级别的政策失误。A1

Systemic failure 2: Insufficient staff security training. The hospital had not trained staff to identify phishing emails -- this is an organisational failure, not an individual one. Email filtering and phishing simulation training are standard healthcare security practices. A1系统性失误 2:员工安全培训不足。医院没有培训员工识别钓鱼电子邮件-这是组织失误,而非个人失误。电子邮件过滤和钓鱼模拟培训是标准的医疗安全实践。A1

Part (c) -- Prevention plan [2 marks]第 (c) 部分 -- 预防计划 [2 分]

Technical: Deploy an advanced email filtering system that detects and quarantines phishing emails before staff see them, reducing the risk of a single click becoming a breach. A1技术性:部署高级电子邮件过滤系统,在员工看到钓鱼电子邮件之前检测并隔离它们,降低一次点击成为泄露的风险。A1

Procedural: Implement a mandatory 3-2-1 backup policy with automated daily encrypted backups, including one offline or air-gapped copy, so that data can be restored without paying a ransom.程序性:实施强制性 3-2-1 备份政策,包括自动每日加密备份,其中包括一个离线或气隙副本,使数据可以在不支付赎金的情况下恢复。

Cultural: Conduct regular phishing simulation exercises (send fake phishing emails and track who clicks), followed by immediate targeted education for those who click, building a culture of scepticism about unexpected emails. A1 (Award A1 for any two well-justified measures; deduct if the same category is listed twice.)文化性:定期进行钓鱼模拟演练(发送虚假钓鱼电子邮件并追踪点击者),然后对点击者进行即时针对性教育,建立对意外电子邮件持怀疑态度的文化。A1(任何两项有充分理由的措施得 A1;如果同一类别列出两次则扣分。)

Insight:洞察: Healthcare is among the most targeted sectors for ransomware because patient data is time-critical and hospitals are under pressure to restore operations quickly -- making them more likely to pay the ransom. The WannaCry attack (2017) disrupted NHS England for over a week, costing approximately GBP 92 million. The lesson: in high-stakes environments, backup and recovery is not optional -- it is the difference between a security incident and a catastrophe. This case study is a model for the CSTA 3A-NI-07 requirement to "compare various security measures considering tradeoffs."医疗保健是勒索软件攻击最多的行业之一,因为患者数据是时间关键性的,医院面临快速恢复运营的压力-使它们更可能支付赎金。WannaCry 攻击(2017)使英国 NHS 中断超过一周,耗资约 9200 万英镑。教训:在高风险环境中,备份和恢复不是可选的-它是安全事件和灾难之间的区别。这个案例研究是 CSTA 3A-NI-07 要求"比较考虑权衡的各种安全措施"的模型。
Q11 MEDIUM 🇨🇦 ON 🇨🇦 BC 🇨🇦 AB §4 + §6 Privacy vs. public safety; facial recognition隐私与公共安全;人脸识别 [9 marks][9 分]

City proposes facial recognition cameras on public transit; privacy and bias concerns raised.城市提议在公共交通上安装人脸识别摄像头;提出隐私和偏见问题。

PII categories: biometric data (facial geometry) + location/movement historyPII 类别:生物特征数据(面部几何)+ 位置/移动历史

Part (a) -- PII categories + harms [4 marks]第 (a) 部分 -- PII 类别 + 危害 [4 分]

Category 1: Biometric data (facial geometry / facial recognition templates). A1 Facial geometry is PII because it uniquely identifies a person across contexts. Harm if breached: unlike a password, biometrics cannot be changed -- if the facial template database is stolen, affected individuals face permanent identification risk, enabling stalking, identity fraud, or targeting by malicious actors. A1类别 1:生物特征数据(面部几何 / 人脸识别模板)。A1面部几何是 PII,因为它在各种场景中唯一识别一个人。泄露后的危害:与密码不同,生物特征无法更改-如果人脸模板数据库被盗,受影响的个人面临永久识别风险,可能导致跟踪、身份欺诈或被恶意行为者针对。A1

Category 2: Location and movement history. A1 The system can reconstruct where each person traveled, when, and with whom. Harm if breached: location patterns reveal sensitive information -- visits to hospitals, religious sites, political gatherings, or homes of associates -- enabling surveillance, blackmail, or persecution of individuals based on where they go. A1类别 2:位置和移动历史。A1该系统可以重建每个人的出行地点、时间和同伴。泄露后的危害:位置模式揭示敏感信息-前往医院、宗教场所、政治集会或同伴住所-可能导致监视、勒索或基于行踪对个人的迫害。A1

Part (b) -- Consent argument [3 marks]第 (b) 部分 -- 同意论点 [3 分]

The city should be required to obtain explicit public consent before deployment. The principle of informed consent holds that individuals must know what data is collected about them and agree to it before that collection occurs. M1 Deploying facial recognition in a public transit system -- which many residents have no practical alternative to -- means they are effectively compelled to submit to biometric surveillance without a genuine choice; this is not meaningful consent. A1 Without consent mechanisms (such as a public vote, legislative approval, or an opt-out for vulnerable groups), the city would be imposing surveillance on the public rather than serving them, undermining the trust that democratic governance requires. A1该市在部署前应被要求获得明确的公众同意。知情同意原则要求个人必须了解正在收集的数据并在收集发生前同意。M1在公共交通系统中部署人脸识别-许多居民没有实际替代方案-意味着他们实际上被迫在没有真正选择的情况下接受生物特征监控;这不是有意义的同意。A1没有同意机制(如公众投票、立法批准或弱势群体的退出选项),该市将对公众施加监控而非为其服务,破坏民主治理所需的信任。A1

Part (c) -- Professional ethics code [2 marks]第 (c) 部分 -- 专业伦理准则 [2 分]

ACM Code of Ethics (2018), Principle 1.6: "Respect privacy." A1 This principle directly applies because computing professionals who design or implement the facial recognition system have an obligation to consider and protect the privacy of the people the system will monitor; deploying a system with known privacy risks without adequate consent mechanisms would violate this principle. A1 (Also acceptable: IEEE Code of Ethics -- "to protect the privacy of others"; or ACM 3.6 on computing systems that serve the public interest.)ACM 伦理准则(2018),原则 1.6:"尊重隐私。"A1这一原则直接适用,因为设计或实施人脸识别系统的计算专业人员有义务考虑并保护系统将监控的人员的隐私;在没有适当同意机制的情况下部署已知存在隐私风险的系统将违反这一原则。A1(也可接受:IEEE 伦理准则-"保护他人隐私";或 ACM 3.6 关于服务公共利益的计算系统。)

Insight:洞察: Facial recognition systems have shown significantly higher error rates for darker-skinned individuals and women in multiple independent studies (MIT Media Lab's "Gender Shades" project, 2018). This means the "security benefit" is distributed unequally -- people who are misidentified are overwhelmingly from already-marginalised groups -- and the "harm" of surveillance is also distributed unequally. This makes the facial recognition debate not just a privacy question but a justice question: who bears the risk? Ontario ICS4U D2.2 requires knowing professional ethics codes -- these exist precisely for dilemmas like this one.在多项独立研究中(MIT 媒体实验室的"性别阴影"项目,2018 年),人脸识别系统对深色皮肤个人和女性显示出显著更高的错误率。这意味着"安全收益"分配不均-被错误识别的人绝大多数来自已经被边缘化的群体-而"监控危害"也分配不均。这使得人脸识别辩论不仅是一个隐私问题,也是一个正义问题:谁承担风险?安大略 ICS4U D2.2 要求了解专业伦理准则-这些准则正是为了像这样的困境而存在的。
Q12 HARD 🇺🇸 US 🇨🇦 ON 🇨🇦 BC 🇨🇦 AB All sections · Secure app design全节综合 · 安全应用设计 [8 marks][8 分]

Health records web app: plaintext passwords; selling anonymised data to insurers; MIT-licenced framework.健康记录网络应用:明文密码;将匿名化数据出售给保险公司;MIT 许可框架。

Flaw: plaintext passwords (fix: hashing + salting) | Violation: informed consent / secondary use without consent缺陷:明文密码(修复:哈希 + 加盐) | 违规:知情同意 / 未经同意的二次使用

Part (a) -- Plaintext password flaw [3 marks]第 (a) 部分 -- 明文密码缺陷 [3 分]

Security flaw: Storing passwords in plaintext means that anyone who gains access to the database (via SQL injection, insider threat, or a breach) can immediately read all passwords and use them on other sites (credential stuffing). M1安全缺陷:以明文存储密码意味着任何获得数据库访问权限的人(通过 SQL 注入、内部威胁或泄露)都可以立即读取所有密码并在其他网站上使用它们(凭据填充)。M1

Correct approach: Hashing with salting. A1 Instead of storing the password, store the output of a one-way cryptographic hash function (e.g., bcrypt, Argon2) applied to the password. A unique random string (the "salt") is appended to each password before hashing, ensuring that two users with the same password produce different hashes; this defeats precomputed rainbow table attacks. When the user logs in, the server hashes the entered password with the same salt and compares the result to the stored hash. A1正确做法:带加盐的哈希。A1不存储密码,而是存储应用于密码的单向加密哈希函数(如 bcrypt、Argon2)的输出。在哈希之前向每个密码附加一个唯一的随机字符串("盐"),确保具有相同密码的两个用户产生不同的哈希;这可以抵御预先计算的彩虹表攻击。用户登录时,服务器使用相同的盐对输入的密码进行哈希,并将结果与存储的哈希进行比较。A1

Part (b) -- PII + security measures [2 marks]第 (b) 部分 -- PII + 安全措施 [2 分]

PII 1: Medical history. Security measure: encrypt this data at rest (using AES) so that even a database breach reveals only ciphertext, not readable health records. A1PII 1:病历。安全措施:对此数据进行静态加密(使用 AES),使即使发生数据库泄露也只暴露密文,而非可读的健康记录。A1

PII 2: Date of birth. Security measure: implement strict access controls (role-based access) so that only authorised users (e.g., the patient's own doctor) can query date of birth; limit exposure by displaying only the minimum required fields in interfaces. A1PII 2:出生日期。安全措施:实施严格的访问控制(基于角色的访问),使只有授权用户(如患者自己的医生)才能查询出生日期;通过在界面中仅显示所需的最少字段来限制暴露。A1

Part (c) -- Monetisation ethics [3 marks]第 (c) 部分 -- 盈利伦理 [3 分]

Ethical violation: Selling user data to health insurers without informed consent (secondary use without consent; also: breach of data minimisation). A1伦理违规:在未获得知情同意的情况下将用户数据出售给健康保险公司(未经同意的二次使用;也:违反数据最小化)。A1

Anonymisation alone does not protect users in this context for two reasons: M1 First, health data is highly specific -- rare conditions, treatments, and prescription patterns can re-identify individuals even without names, particularly in the context of a small geographic area. Second, and more critically for this specific scenario: health insurers are highly motivated to re-identify individuals because doing so allows them to deny coverage, raise premiums, or discriminate based on pre-existing conditions. The incentive structure for the buyer actively works against anonymisation holding. A1在这种情况下,单纯匿名化无法保护用户有两个原因:M1首先,健康数据高度具体-即使没有姓名,罕见病症、治疗和处方模式也可以重新识别个人,特别是在小地理区域的情况下。其次,对于这个具体场景更为关键:健康保险公司高度有动力重新识别个人,因为这样做使他们能够拒绝保险、提高保费或基于既往病症进行歧视。买方的激励结构积极地反对匿名化的维持。A1

Insight:洞察: Health data is uniquely sensitive because it cannot be changed (unlike a password or an address) and its secondary uses can have life-altering consequences: insurance denial, employment discrimination, or social stigma. HIPAA (US) and PIPEDA (Canada) exist specifically because market forces do not adequately protect health data privacy. When a student designs a health app with a data-sale business model, they are not just making a technical choice -- they are making an ethical one that could directly harm the people who trust the app with their most sensitive information. ICS4U D2.2's requirement to know the ACM Code of Ethics directly applies: principle 1.2 ("Avoid harm") and 1.6 ("Respect privacy") prohibit this business model.健康数据因其独特的敏感性而与众不同,因为它无法更改(与密码或地址不同),其二次使用可能产生改变生活的后果:拒绝保险、就业歧视或社会污名化。HIPAA(美国)和 PIPEDA(加拿大)的存在正是因为市场力量不能充分保护健康数据隐私。当学生设计具有数据销售商业模式的健康应用时,他们不仅仅是在做技术选择-他们是在做道德选择,这可能直接伤害那些用最敏感信息信任该应用的人。ICS4U D2.2 要求了解 ACM 伦理准则直接适用:原则 1.2("避免伤害")和 1.6("尊重隐私")禁止这种商业模式。