📚 Essential GCSE OCR Computer Science Revision for Year 10 | Year 10 OCR 计算机核心知识点梳理
This article provides a comprehensive overview of the key topics covered in Year 10 OCR GCSE Computer Science. It summarises the most important concepts from computer systems, data representation, networks, cybersecurity, algorithms, programming, and logic. Use this as a revision guide to reinforce your understanding for your exams.
本文全面概述了 Year 10 OCR GCSE 计算机科学的核心主题,总结了计算机系统、数据表示、网络、网络安全、算法、编程和逻辑方面最关键的概念,可用作考试复习指南,巩固所学知识。
1. Systems Architecture | 系统架构
The Central Processing Unit (CPU) is the brain of the computer. It continuously runs the fetch-decode-execute cycle. In the fetch stage, the next instruction is fetched from main memory (RAM) using the address in the Program Counter (PC) and stored in the Memory Data Register (MDR); the PC is then incremented. The instruction is decoded by the Control Unit (CU). Finally, the Arithmetic Logic Unit (ALU) executes the instruction, and results may be stored in the Accumulator (ACC) or written back to memory. Modern CPUs also contain cache memory for ultrafast access to frequently used data.
中央处理器 (CPU) 是计算机的大脑,它持续运行取指-译码-执行周期。在取指阶段,利用程序计数器 (PC) 中的地址从主存 (RAM) 取出下一条指令并存入存储器数据寄存器 (MDR),然后 PC 递增。控制单元 (CU) 对指令进行译码。最后,算术逻辑单元 (ALU) 执行指令,结果可能存入累加器 (ACC) 或写回内存。现代 CPU 还包含高速缓存,以便超快速访问常用数据。
The Von Neumann architecture underpins almost all modern computers. It uses a single shared memory to hold both instructions and data, which is the stored program concept. Communication between the CPU and memory happens over three buses: the address bus (carries memory addresses from CPU to memory, unidirectional), the data bus (carries data both ways, bidirectional), and the control bus (carries control signals like read/write, bidirectional).
冯·诺依曼架构是几乎所有现代计算机的基础。它采用单一共享内存同时存放指令和数据,这便是存储程序概念。CPU 与内存之间的通信通过三条总线完成:地址总线(将内存地址从 CPU 送至内存,单向)、数据总线(双向传送数据)和控制总线(传送读/写等控制信号,双向)。
CPU performance is influenced by three main factors: clock speed (measured in GHz, higher means more cycles per second), number of cores (more cores can execute more instructions simultaneously), and cache size (larger, faster cache reduces the need to access slower RAM). Embedded systems are specialised computers built into larger devices (e.g., microwaves, washing machines, cars) dedicated to a single task; they often have limited power, memory and processing capability.
影响 CPU 性能的三大因素是:时钟速度(以 GHz 为单位,越高每秒周期数越多)、核心数(更多核心可同时执行更多指令)以及缓存大小(更大、更快的缓存减少访问较慢 RAM 的需要)。嵌入式系统是内置于大型设备(如微波炉、洗衣机、汽车)中、专用于单一任务的专用计算机,通常功耗、内存和处理能力有限。
2. Memory and Storage | 内存与存储
Primary memory consists of RAM and ROM. RAM (Random Access Memory) is volatile read-write memory that stores the operating system, applications and data currently in use; it loses all content when power is turned off. ROM (Read Only Memory) is non-volatile and stores the BIOS or firmware needed to boot up the computer; its contents remain even without power. Virtual memory extends the apparent amount of RAM by using a portion of the secondary storage as if it were RAM, but excessive use slows the system down because disk access is much slower.
主存由 RAM 和 ROM 组成。RAM(随机存取存储器)是易失性可读写存储器,存放当前使用的操作系统、应用程序和数据,断电后内容全部丢失。ROM(只读存储器)是非易失性存储器,存储启动计算机所需的 BIOS 或固件,即便断电内容依然保留。虚拟内存通过把一部分辅助存储器当作 RAM 使用来扩展可用内存容量,但由于磁盘访问速度远慢于 RAM,过度使用会导致系统变慢。
, low cost per gigabyte, mechanical parts make them fragile), optical (CD, DVD, Blu-ray, portable, cheap but limited capacity and slower), and solid state (SSD, USB flash drives, no moving parts, very fast, durable, low power, but higher cost per gigabyte). Storage capacity is measured in bytes; 1 kilobyte (KB) = 1024 bytes (210), 1 megabyte (MB) = 1024 KB, 1 gigabyte (GB) = 1024 MB, 1 terabyte (TB) = 1024 GB.
辅助存储器是非易失性的,用于长期保存数据。三种主要类型为:磁性(如硬盘,容量大,每 GB 成本低,但存在机械部件易损坏)、光学(CD、DVD、蓝光,便携、廉价但容量有限且速度较慢)和固态(SSD、U 盘,无活动部件,极快、耐用、低功耗,但每 GB 成本较高)。存储容量以字节为单位:1 KB = 1024 字节 (210),1 MB = 1024 KB,1 GB = 1024 MB,1 TB = 1024 GB。
3. Data Representation: Numbers | 数据表示:数字
2 and record the remainders; read the remainders from bottom to top. For example, 13 in binary is 1101. To convert binary to denary, add the place values where a 1 appears: 1×8 + 1×4 + 0×2 + 1×1 = 13. Hexadecimal (base-16) is a shorthand for binary, using digits 0-9 and letters A-F. One hex digit represents a nibble (4 bits), so two hex digits represent a byte. Conversion between hex and binary is straightforward: replace each hex digit with its 4-bit binary equivalent.
计算机使用二进制(基数为 2),因为晶体管具有开 (1) 和关 (0) 两种状态。将十进制转换为二进制,反复除以 2 并记录余数,从下往上读取余数。例如,十进制 13 的二进制为 1101。二进制转十进制则按位值相加:1×8 + 1×4 + 0×2 + 1×1 = 13。十六进制(基数为 16)是二进制的简写,使用数字 0-9 和字母 A-F。一位十六进制数表示一个半字节(4 位),因此两位十六进制数表示一个字节。十六进制与二进制的转换很简单:将每个十六进制位替换为其对应的 4 位二进制。
it numbers, if the result requires more than 8 bits, an overflow occurs, and the extra bit is lost, which can cause errors. A left binary shift (multiplying by 2n) moves bits to the left and fills empty rightmost places with zeros; a right binary shift (dividing by 2n) moves bits right, often discarding fractional remainders.
二进制加法遵循简单规则:0+0=0,0+1=1,1+0=1,1+1=0 进 1,1+1+1=1 进 1。当两个 8 位数相加的结果需要超过 8 位时,会发生溢出,多余位丢失,可能导致错误。左移二进制(乘以 2n)将位向左移动,右侧空位补零;右移(除以 2n)将位向右移动,通常丢弃小数部分。
4. Data Representation: Text, Images, Sound | 数据表示:文本、图像、声音
Text is represented using character sets. ASCII uses 7 bits per character (128 characters), sufficient for English letters, digits and basic symbols. Extended ASCII uses 8 bits (256 characters) to include accented letters and extra symbols. Unicode uses up to 32 bits per character and can represent characters from almost all the world's writing systems, including emojis. The number of bits per character directly affects the total file size for text.
文本使用字符集表示。ASCII 每字符用 7 位(128 个字符),足以表示英文字母、数字和基本符号。扩展 ASCII 用 8 位(256 个字符),可包含重音字母和额外符号。Unicode 每字符最多 32 位,能表示世界上几乎所有书写系统的字符,包括表情符号。每字符的位数直接影响文本文件的总大小。
olours; e.g., 1 bit gives 2 colours, 8 bits give 256 colours, 24 bits give over 16 million colours (True Colour). Resolution is the number of pixels in the image (width × height); higher resolution gives more detail but larger file size. Metadata stores extra information like dimensions, date created, and colour depth. Sound is sampled by measuring the amplitude of the analogue wave at regular intervals. Sample rate (in Hz) is the number of samples per second; bit depth is the number of bits per sample. CD-quality uses 44.1 kHz sample rate and 16-bit depth. File size can be calculated: file size = sample rate × bit depth × duration (seconds) for mono.
图像以位图形式存储,即一个像素网格,每个像素分配一个表示颜色的二进制值。颜色深度(每像素位数)决定可显示的颜色数量,例如 1 位可得 2 种颜色,8 位得 256 色,24 位得超过 1600 万色(真彩色)。分辨率是图像中的像素数(宽×高);分辨率越高,细节越丰富,但文件体积也越大。元数据保存额外信息,如尺寸、创建日期和颜色深度。声音通过以固定的时间间隔测量模拟波的振幅来采样。采样率(单位 Hz)是每秒采样次数;位深度是每个样本的位数。CD 音质使用 44.1 kHz 采样率和 16 位深度。文件大小可计算:单声道文件大小 = 采样率 × 位深度 × 时长(秒)。
Compression reduces file size. Lossless compression reduces size without losing any data, so the original can be perfectly restored (e.g., PNG images, ZIP files). Lossy compression permanently removes some data, reducing quality but achieving much smaller sizes (e.g., JPEG images, MP3 audio). Both are essential for efficient storage and transmission.
压缩可缩小文件体积。无损压缩减小体积但不丢失任何数据,因此可以完美还原原始文件(例如 PNG 图像、ZIP 文件)。有损压缩则永久移除部分数据,牺牲一定质量来大幅缩小体积(例如 JPEG 图像、MP3 音频)。两者对高效存储和传输都至关重要。
5. Networks and Topologies | 网络与拓扑
A LAN (Local Area Network) covers a small geographical area, such as a school or office, using its own cabling or wireless infrastructure. A WAN (Wide Area Network) connects LANs over large distances, often using rented telecommunications lines; the Internet is the largest WAN. Key factors affecting network performance include bandwidth (the amount of data that can be transferred per second, typically measured in Mbps), the number of concurrent users (more users cause congestion), the transmission media (wired like fibre optic is faster and more reliable than wireless), and error rate (more errors require retransmission).
LAN(局域网)覆盖如学校或办公室等较小地理区域,使用自有布线或无线设施。WAN(广域网)通过远距离连接多个 LAN,通常租用电信线路;互联网是最大的 WAN。影响网络性能的关键因素包括带宽(每秒可传输的数据量,通常以 Mbps 衡量)、并发用户数(用户越多越拥堵)、传输介质(如有线光纤比无线更快、更可靠)以及错误率(错误多则需要重传)。
In a client-server network, one or more servers provide services and resources (file storage, printing, user authentication) while clients request them. This model offers centralised management and security but is more expensive and has a single point of failure in the server. In a peer-to-peer (P2P) network, all devices are equal and share resources directly without a central server. It is cheaper, easier to set up, but less secure and harder to manage as it scales. Topologies describe the physical or logical layout. A star topology connects all devices to a central switch; if one cable fails, only that device is affected, but the switch is a single point of failure. A mesh topology connects every device directly to every other (full mesh) or partially, providing high redundancy and fault tolerance, but is very expensive due to cabling.
在客户端-服务器网络中,一台或多台服务器提供服务与资源(文件存储、打印、用户认证),客户端请求这些服务。这种模式便于集中管理与安全维护,但成本较高,且服务器是单点故障。在对等网络 (P2P) 中,所有设备地位相等,可不通过中央服务器直接共享资源。它成本低、易搭建,但安全性差,扩展时难以管理。拓扑描述物理或逻辑布局。星形拓扑将所有设备连接到一个中央交换机;某根线缆故障只影响该设备,但交换机成为单点故障。网状拓扑以全连接或部分连接方式将每个设备直连到其他设备,提供高冗余和容错能力,但因布线需求而成本十分高昂。
6. Network Protocols and Layers | 网络协议与分层
A protocol is a set of rules governing how devices communicate. TCP (Transmission Control Protocol) ensures reliable, ordered delivery of data by establishing a connection and resending lost packets. IP (Internet Protocol) handles the addressing and routing of packets to the correct destination. HTTP is the protocol for transferring web pages; HTTPS is the encrypted, secure version using SSL/TLS. FTP is used for file transfer, while email uses SMTP (sending), and IMAP or POP (retrieving).
协议是管控设备间通信的一套规则。TCP(传输控制协议)通过建立连接和重发丢失的数据包,确保数据可靠、有序地交付。IP(网际协议)负责数据包的寻址和路由,使其到达正确目的地。HTTP 是传输网页的协议;HTTPS 是使用 SSL/TLS 加密的安全版本。FTP 用于文件传输,电子邮件使用 SMTP(发送)和 IMAP 或 POP(接收)。
Protocols are organised into layers to simplify network design and troubleshooting. The TCP/IP four-layer model comprises: the Application layer (provides network services to applications, e.g., HTTP, FTP, SMTP), the Transport layer (establishes end-to-end communication and error checking using TCP), the Internet layer (adds source and destination IP addresses and routes packets), and the Link layer (handles the physical transmission of data over the network hardware, such as Ethernet or Wi-Fi). Layering means that changes in one layer do not affect others, provided the interface between layers remains consistent.
协议被组织为若干层次,以简化网络设计和故障排查。TCP/IP 四层模型包括:应用层(向应用程序提供网络服务,如 HTTP、FTP、SMTP)、传输层(使用 TCP 建立端到端通信和差错校验)、互联网层(添加源与目标 IP 地址并路由数据包)和链路层(通过以太网或 Wi-Fi 等网络硬件处理数据的物理传输)。分层意味着只要层间接口保持一致,某一层的改动不会影响其他层。
7. Cybersecurity Threats and Prevention | 网络安全威胁与防范
Malware is malicious software designed to damage or gain unauthorised access. Types include: viruses (attach to legitimate programs and spread to other files), worms (self-replicate across networks without user action), trojans (disguised as harmless software), spyware (secretly records user activity), and ransomware (encrypts files and demands a ransom). Social engineering tricks people into revealing sensitive information. Phishing uses fake emails or websites; blagging involves inventing a scenario to steal info over the phone; shouldering is simply looking over someone's shoulder as they type their password.
恶意软件是旨在破坏或未经授权访问的恶意软件。类型包括:病毒(附着于合法程序,传播到其他文件)、蠕虫(无需用户操作即可在网络上自我复制)、特洛伊木马(伪装成无害软件)、间谍软件(秘密记录用户活动)和勒索软件(加密文件并索要赎金)。社会工程学诱骗人们泄露敏感信息。网络钓鱼使用虚假邮件或网站;搭讪欺诈通过虚构场景在电话中窃取信息;肩窥则只是在他人在输入密码时从背后偷看。
Other threats include SQL injection (inserting malicious SQL code into a web form to manipulate a database), Denial of Service (DoS) attacks (flooding a server with traffic to make it unavailable), and brute-force attacks (systematically trying all possible passwords). Organisations use several cybersecurity measures: firewalls filter incoming and outgoing traffic based on rules; anti-malware software detects and removes malware; encryption scrambles data so only authorised parties can read it; penetration testing simulates attacks to identify weaknesses; user access levels limit what different users can do; physical security prevents unauthorised physical access.
其他威胁包括 SQL 注入(在网页表单中插入恶意 SQL 代码以操控数据库)、拒绝服务 (DoS) 攻击(用流量淹没服务器使其不可用)和暴力破解攻击(系统地试遍所有密码)。组织采用多种网络安全措施:防火墙根据规则过滤流入和流出流量;反恶意软件检测并清除恶意软件;加密对数据进行加扰,只有授权方可读取;渗透测试模拟攻击以发现弱点;用户访问级别限制不同用户的操作权限;物理安全防止未经授权的物理接触。
8. Algorithms: Searching and Sorting | 算法:搜索与排序
A linear search checks each element in a list one by one until the target is found or the end is reached. It works on unsorted lists and is simple but inefficient for large datasets (average and worst-case O(n)). A binary search repeatedly divides a sorted list in half, comparing the middle element to the target and discarding the half that cannot contain it. Its worst-case time is O(log n), making it much faster for large sorted lists, but the list must be sorted first.
线性搜索逐个检查列表中的每个元素,直到找到目标或到达列表末尾。它可对未排序列表操作,简单但在大数据集上效率低下(平均和最坏情况为 O(n))。二分搜索反复将已排序列表对半分,比较中间元素与目标值,丢弃不可能包含目标的那一半。其最坏情况时间为 O(log n),对大型有序列表速度极快,但前提是列表必须先排序。
Bubble sort repeatedly steps through a list, compares adjacent elements and swaps them if they are in the wrong order. After each pass, the largest unsorted element 'bubbles' to its correct position. It is easy to implement but inefficient with O(n²) comparisons. Merge sort uses a divide-and-conquer strategy: recursively split the list into single-element sublists, then repeatedly merge sorted sublists to produce new sorted lists until one remains. It has a more efficient time complexity of O(n log n) but requires additional memory for merging.
冒泡排序反复遍历列表,比较相邻元素,若顺序错误则交换。每趟遍历后
Published by TutorHao | Year 10 Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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