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

Year 12 CCEA Computer Science: Core Knowledge Overview | Year 12 CCEA 计算机:核心知识点梳理

2026-07-22 05:22 · 本文部分内容由AI辅助创作

📚 Year 12 CCEA Computer Science: Core Knowledge Overview | Year 12 CCEA 计算机:核心知识点梳理

This comprehensive revision guide covers all key topics for the CCEA GCSE Computer Science specification, designed to help Year 12 students consolidate their understanding. From data representation to programming fundamentals, networks, logic gates and ethical issues, each section presents essential concepts in clear, digestible English and Chinese pairings.

本综合复习指南涵盖了CCEA GCSE计算机科学考试大纲的所有核心主题,旨在帮助Year 12学生巩固理解。从数据表示到编程基础、网络、逻辑门以及道德伦理问题,每个小节都以清晰易懂的中英文对照形式呈现关键概念。

1. Number Systems and Data Representation | 数制与数据表示

Computers process all data as binary – sequences of 1s and 0s. The smallest unit is a bit, and 8 bits form a byte. Binary is a base‑2 number system, while denary (decimal) is base‑10. Understanding how to convert between these bases is fundamental.

计算机以二进制(即1和0序列)的形式处理所有数据。最小单位是比特(bit),8个比特构成一个字节(byte)。二进制是基数为2的数制,而十进制(denary)的基数为10。理解如何在两者之间进行转换是基础中的基础。

011101. Conversely, a binary number such as 1011₂ equals 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 11₁₀.

例如十进制数157可拆解为2的幂次之和:128 + 16 + 8 + 4 + 1,得到二进制数10011101。反之,二进制数1011₂等于1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 11₁₀。

Because long binary strings are error‑prone for humans, hexadecimal (base‑16) is used as a shorthand. One hex digit represents four bits (a nibble), making 1111 1010 become FA in hex. Denary 255 is FF₁₆.

由于人类容易在读长串二进制时出错,因此使用十六进制(基数为16)作为简写。一个十六进制位可表示4个比特(一个半字节),例如1111 1010可写为十六进制的FA。十进制数255在十六进制中表示为FF₁₆。


2. Binary Arithmetic and Hexadecimal | 二进制运算与十六进制

h a carry of 1. Overflow occurs when a calculation produces a result that requires more bits than available; the processor sets an overflow flag to indicate this.

二进制加法遵循简单规则:0+0=0,0+1=1,1+0=1,1+1=0并产生进位1。当计算结果需要的位数超过可用位数时,就会发生溢出;处理器会设置溢出标志来表明这种情况。

or example, 10111101₂ splits into 1011 (B) and 1101 (D), giving BD₁₆. To go from hex to denary, multiply each hex digit by the corresponding power of 16: BD₁₆ = 11×16¹ + 13×16⁰ = 176 + 13 = 189₁₀.

要在十六进制与二进制之间转换,从右侧开始将二进制数每四位分割为一组,再用对应的十六进制符号替换。例如10111101₂可分割为1011 (B) 和1101 (D),得到BD₁₆。从十六进制转十进制时,只需将每一位乘以16的相应幂次:BD₁₆ = 11×16¹ + 13×16⁰ = 176 + 13 = 189₁₀。


3. Character Representation | 字符表示

Text characters are stored as binary codes. The 7‑bit ASCII set can represent 128 characters – including uppercase and lowercase letters, digits, and control characters – but it cannot represent languages with larger alphabets. Extended ASCII uses 8 bits for 256 characters, adding accents and symbols.

文本字符以二进制编码存储。7位ASCII码可以表示128个字符——包括大小写字母、数字和控制字符——但它无法表示字母表较大的语言。扩展ASCII码使用8位表示256个字符,增加了重音符号和特殊符号。

Unicode addresses these limitations by providing a unique code point for every character in all modern scripts. UTF‑8, a variable‑length encoding, uses 1–4 bytes per character and is backward compatible with ASCII. This ensures global interoperability, but requires more storage than plain ASCII.

Unicode通过为所有现代书写系统中的每个字符分配唯一的代码点,解决了这些局限。UTF‑8是可变长度编码,每个字符使用1到4个字节,并与ASCII向后兼容。这确保了全球范围内的互操作性,但所需的存储空间比普通ASCII更多。


4. Image and Sound Representation | 图像与声音表示

Bitmap images are composed of a grid of pixels, each assigned a colour value. Colour depth, measured in bits per pixel, determines how many colours can be represented: a 1‑bit image has two colours, while 24‑bit true colour allows about 16.7 million colours. Resolution is the number of pixels per unit, affecting clarity and file size.

位图图像由像素网格组成,每个像素被赋予一个颜色值。色彩深度以每像素位数衡量,决定了可表示的颜色数量:1位深度的图像只有两种颜色,而24位真彩色可以表现约1677万种颜色。分辨率是单位面积内的像素数,影响清晰度和文件大小。

Sound is analogue and must be converted to digital using sampling. The sample rate (e.g. 44.1 kHz) and bit depth (e.g. 16‑bit) determine the quality and file size. Higher sample rates capture higher frequencies more accurately, while greater bit depth reduces quantisation noise.

声音是模拟信号,必须通过采样转换为数字信号。采样率(如44.1 kHz)和采样深度(如16位)决定了音质和文件大小。采样率越高,高频细节越精确;位深越大,量化噪声越小。

mpression, either lossy or lossless, is often needed to reduce storage and transmission costs.

估算图像文件大小可用公式(宽度 × 高度 × 色彩深度)比特,声音文件为(采样率 × 位深 × 时长 × 声道数)比特。通常需要使用有损或无损压缩来减少存储与传输开销。


5. Computer Systems – CPU Architecture | 计算机系统 – CPU架构

The central processing unit (CPU) is the brain of the computer, executing instructions stored in main memory. It contains the arithmetic logic unit (ALU) for calculations and logical operations, the control unit (CU) that manages instruction flow, and registers – small, fast memory locations for temporary data.

中央处理器(CPU)是计算机的大脑,执行存储在主存中的指令。它包含负责运算与逻辑操作的算术逻辑单元(ALU)、管理指令流的控制单元(CU)以及若干寄存器——这些是用于暂存数据的小型高速存储区。

Key registers include the program counter (PC), which holds the address of the next instruction; the memory address register (MAR) and memory data register (MDR) for reading/writing; and the accumulator (ACC) that stores intermediate ALU results. The von Neumann architecture stores both program instructions and data in the same memory, fetching them via shared buses.

关键的寄存器包括:程序计数器(PC),存放待执行的下一条指令的地址;内存地址寄存器(MAR)与内存数据寄存器(MDR),用于读写操作;累加器(ACC),存放ALU运算的中间结果。冯·诺依曼结构将程序指令和数据存放在同一内存中,通过共享总线进行读取。

The fetch‑decode‑execute cycle continuously repeats: fetch the instruction at the address in PC, decode what operation is needed, then execute it. Clock speed (GHz), number of cores, and cache size directly affect processor performance.

“取指‑译码‑执行”周期不断重复:取出PC指向地址中的指令,译码判断需要执行什么操作,然后执行该操作。时钟频率(GHz)、内核数量与缓存大小直接影响处理器性能。


6. Memory and Storage | 内存与存储

Primary memory consists of RAM (Random Access Memory) and ROM (Read Only Memory). RAM is volatile, meaning it loses contents when power is switched off, and holds the operating system, programs and data currently in use. ROM is non‑volatile, storing essential boot‑up instructions such as the BIOS/firmware.

主存由RAM(随机存取内存)与ROM(只读内存)组成。RAM是易失性的,断电后数据丢失,用于存放当前正在运行的操作系统、程序与数据。ROM为非易失性,存储着启动所需的基本指令,例如BIOS/固件。

Secondary storage retains data permanently and includes magnetic hard disk drives (HDDs), solid‑state drives (SSDs), and optical discs. Key characteristics are capacity, speed, portability, durability, and cost. SSDs use flash memory for faster access and lower power consumption than HDDs, but are typically more expensive per gigabyte.

辅助存储器可永久保存数据,包括磁盘硬盘(HDD)、固态硬盘(SSD)和光盘。其主要特性包括容量、速度、便携性、耐用性与成本。SSD采用闪存,存取速度更快、功耗更低,但每GB成本通常高于HDD。

Virtual memory uses a portion of secondary storage as if it were RAM, allowing the system to run more programs than physical RAM would permit. When RAM is full, infrequently used pages are swapped to disk, but excessive paging causes disk thrashing and slows performance.

虚拟内存将一部分辅助存储器当作RAM来使用,使得系统能运行比物理内存容量更多的程序。当RAM满载时,不常用的内存页被交换到磁盘,但过于频繁的页面调度会导致“磁盘抖动”,使系统变慢。


广告 / Sponsored

7. Computer Networks and Protocols | 计算机网络与协议

A network allows computers to share resources and data. LANs (Local Area Networks) cover a small geographical area, using Ethernet or Wi‑Fi. WANs (Wide Area Networks) connect LANs over large distances via routers and leased lines; the internet is the largest WAN. Network topologies, such as star and mesh, define the physical or logical layout.

网络使计算机能够共享资源与数据。局域网(LAN)覆盖较小地理范围,使用以太网或Wi‑Fi技术。广域网(WAN)通过路由器和租用线路将多个局域网远距离连接起来;互联网就是最大的广域网。星型、网状等网络拓扑定义了物理或逻辑布局。

Protocols are rules governing communication. TCP/IP is a suite where IP handles addressing and routing of packets, while TCP ensures reliable, error‑checked delivery. HTTP/HTTPS transfers web pages; FTTP transfers files; SMTP/IMAP/POP3 manage email sending and retrieval. Layering breaks network functionality into independent levels, simplifying design and troubleshooting.

协议是控制通信的规则。TCP/IP协议族中,IP负责寻址和数据包路由,TCP则确保可靠且经过差错检查的传输。HTTP/HTTPS用于网页传输;FTP传送文件;SMTP/IMAP/POP3管理电子邮件的发送与收取。分层模型将网络功能分解为独立的层次,简化了设计与排错。

LayerFunctionExample Protocols
ApplicationNetwork applicationsHTTP, FTP, SMTP
TransportEnd‑to‑end communicationTCP, UDP
InternetPacket routingIP
LinkPhysical transmissionEthernet, Wi‑Fi

8. Cybersecurity Threats and Prevention | 网络安全威胁与防护

Malware is malicious software that includes viruses (self‑replicating and attaching to files), worms (self‑replicating without a host), and trojans (disguised as legitimate software). Other threats include phishing (fraudulent emails to steal credentials), denial‑of‑service (DoS) attacks that overwhelm servers, and SQL injection that exploits database vulnerabilities.

恶意软件包括病毒(自我复制并附着在文件上)、蠕虫(无需宿主即可自我复制)和特洛伊木马(伪装成合法软件)。其他威胁包括钓鱼攻击(通过欺诈邮件窃取凭证)、拒绝服务攻击(DoS,使服务器瘫痪)以及SQL注入(利用数据库漏洞的攻击)。

Defensive measures consist of firewalls that filter incoming/outgoing traffic based on rules, antivirus software that scans for known malware signatures, encryption (e.g. AES, TLS) to protect data in transit and at rest, and strong authentication such as two‑factor authentication. Penetration testing helps organisations identify weaknesses before attackers do.

防御措施包括:防火墙(根据规则过滤进出流量)、防病毒软件(扫描已知恶意软件特征码)、加密技术(如AES、TLS,用于保护传输中和静态数据),以及强认证手段如双因素认证。渗透测试有助于机构在攻击者之前发现弱点。


9. Programming Fundamentals | 编程基础

racter, and string. Variables are named storage locations whose values can change; constants remain fixed. Operators perform arithmetic (+, –, *, /, MOD, DIV), comparison (==, !=, >, <, >=, <=), and logical (AND, OR, NOT) operations.

编程指用计算机能理解的语言向它下达指令。主要的数据类型包括整型、实型/浮点型、布尔型、字符型和字符串型。变量是命名后的存储位置,其值可以改变;常量则固定不变。运算符负责执行算术运算(+、–、*、/、MOD、DIV)、比较运算(==、!=、>、<、>=、<=)和逻辑运算(AND、OR、NOT)。

Programs use sequence, selection, and iteration for control flow. Selection uses if‑else and switch/case statements. Iteration is achieved with for loops (count‑controlled), while loops (condition‑controlled), and do‑until loops. Nested structures allow complex decision‑making. An array is a data structure that holds multiple values of the same type, accessed via an index.

程序通过顺序、选择和迭代来控制流程。选择结构使用if‑else语句和switch/case语句。迭代可由for循环(计数器控制)、while循环(条件控制)和do‑until循环实现。嵌套结构可实现复杂的决策逻辑。数组是一种能存放多个同类型值并通过索引访问的数据结构。


10. Algorithms, Flowcharts and Pseudocode | 算法、流程图与伪代码

An algorithm is a step‑by‑step procedure to solve a problem. Common searching algorithms include linear search (checks each element sequentially, O(n) complexity) and binary search (requires a sorted list, repeatedly dividing the search interval, O(log n)). Sorting algorithms such as bubble sort and insertion sort are required for the CCEA specification.

算法是解决问题的逐步步骤。常见的搜索算法包括线性搜索(依次检查每个元素,复杂度O(n))和二分查找(要求列表已排序,反复将搜索区间折半,复杂度O(log n))。排序算法如冒泡排序和插入排序是CCEA大纲规定的内容。

Bubble sort passes through the list repeatedly, comparing adjacent items and swapping them if they are in the wrong order; it stops when a pass makes no swaps. Insertion sort builds a sorted portion by taking elements from the unsorted part and inserting them into the correct position.

冒泡排序多次遍历列表,比较相邻元素并在顺序错误时交换它们;当某次遍历没有发生任何交换时排序结束。插入排序通过从未排序部分取出元素并将其插入已排序部分的正确位置,逐步构建有序列表。

Design tools like flowcharts (using standard symbols for processes, decisions, input/output) and pseudocode help programmers plan logic before coding. Tracing an algorithm with a trace table is a vital skill for debugging and exam questions.

流程图(使用标准符号表示处理步骤、判断、输入/输出)和伪代码等设计工具,能帮助程序员在编码前规划逻辑。使用跟踪表追踪算法执行是调试和应对考题的重要技能。


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

Logic gates are the building blocks of digital circuits. The three fundamental gates are AND (output is 1 only when both inputs are 1), OR (output is 1 when at least one input is 1) and NOT (output is the inverse of the single input). Truth tables show all possible input/output combinations.

逻辑门是数字电路的基本构建模块。三个基本门是:与门(AND,只有两个输入都为1时输出1)、或门(OR,只要至少有一个输入为1则输出1)和非门(NOT,将单一输入取反)。真值表展示了所有可能的输入输出组合。

AND: A·B = 1 only if A=1 and B=1

OR: A+B = 1 if A=1 or B=1 (or both)

NOT: Ā (inversion)

ng laws such as identity, commutative, associative, and distributive, as well as De Morgan's laws: (A·B)' = A' + B' and (A+B)' = A' · B'. Karnaugh maps provide a visual method for simplifying expressions into minimal sum‑of‑products form.

布尔表达式可通过恒等律、交换律、结合律、分配律以及德·摩根定律进行化简。德·摩根定律为:(A·B)' = A' + B' 以及 (A+B)' = A' · B'。卡诺图则提供了一种将表达式化简为最简“与或式”的可视化方法。


12. Ethical, Legal and Environmental Issues | 道德、法律与环境问题

The widespread use of computing raises ethical concerns about privacy, digital divide, and the impact of artificial intelligence on employment. The Data Protection Act 2018 (UK GDPR) governs how personal data must be collected, stored and used, granting individuals rights over their data. Computer misuse legislation criminalises hacking and malware creation.

计算机的广泛使用引发了关于隐私、数字鸿沟以及人工智能对就业影响的伦理关切。2018年《数据保护法》(英国GDPR)规定了个人数据的收集、存储和使用方式,赋予个人对其数据的权利。计算机滥用法则将黑客行为和恶意软件制作定为刑事犯罪。

Copyright and intellectual property laws protect software and creative digital content from unauthorised copying. The open source movement promotes software that can be freely used, modified and shared. Environmental issues include the energy consumption of data centres and the growing problem of e‑waste, which needs responsible recycling to prevent toxic pollution.

版权与知识产权法保护软件和数字创意内容免受未经授权的复制。开源运动提倡可自由使用、修改和分享的软件。环境问题包括数据中心的高能耗,以及日益严重的电子垃圾问题——后者需通过负责任回收来防止有毒污染。

Published by TutorHao | Computer Science Revision Series | aleveler.com

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

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

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