📚 Core Knowledge Review for Year 9 CIE Computer Science | Year 9 CIE 计算机核心知识点梳理
This article provides a structured review of the essential topics covered in the Year 9 CIE Computer Science curriculum. It is designed to help students consolidate their understanding of hardware, software, data representation, programming fundamentals, algorithmic thinking, networking, cybersecurity, and more. Each section presents key concepts in both English and Chinese, with paired explanations to support bilingual learners.
本文系统地梳理了 Year 9 CIE 计算机科学课程的核心知识点,旨在帮助学生巩固对硬件、软件、数据表示、编程基础、算法思维、计算机网络、网络安全等方面的理解。每个部分都采用中英对照的形式呈现关键概念,方便双语学习者掌握。
1. Basic Hardware and Software | 硬件与软件入门
A computer system consists of hardware and software. Hardware refers to the physical components you can touch, such as the CPU, memory, input/output devices, and storage. Software is the set of instructions that tells the hardware what to do, including operating systems and application programs.
计算机系统由硬件和软件组成。硬件是指可以触摸的物理部件,例如中央处理器(CPU)、内存、输入/输出设备和存储器。软件是指示硬件如何工作的一组指令,包括操作系统和应用程序。
The central processing unit (CPU) is the 'brain' of the computer. It performs arithmetic and logical operations and controls the flow of data. The CPU fetches instructions from memory, decodes them, and executes them in a continuous cycle known as the fetch-decode-execute cycle.
中央处理器(CPU)是计算机的“大脑”,它执行算术和逻辑运算并控制数据流。CPU 从内存中取出指令、解码并执行,这一连续过程称为取指-解码-执行周期。
Memory is divided into primary storage (RAM and ROM) and secondary storage (hard drives, SSDs, USB drives). RAM is volatile and holds data currently in use; ROM is non-volatile and stores firmware like the BIOS. Secondary storage provides long-term, non-volatile storage.
存储器分为主存储器(RAM 和 ROM)和辅助存储器(硬盘、固态硬盘、U盘)。RAM 是易失性的,存放当前正在使用的数据;ROM 是非易失性的,存储固件如 BIOS。辅助存储器提供长期、非易失性的存储。
Input devices (keyboard, mouse, sensor) send data into the computer; output devices (monitor, printer, speaker) display or produce results. Storage devices can be both input and output when data is written and read.
输入设备(键盘、鼠标、传感器)将数据送入计算机;输出设备(显示器、打印机、扬声器)显示或产生结果。当数据被写入和读取时,存储设备可同时充当输入和输出设备。
2. Data Representation: Binary and Storage | 数据表示:二进制与存储
Computers use binary (base-2) to represent all data, using only the digits 0 and 1. Each binary digit is called a bit. A group of 8 bits forms a byte. Larger units include kilobyte (KB), megabyte (MB), gigabyte (GB), and terabyte (TB).
计算机使用二进制(基数为2)表示所有数据,仅使用数字 0 和 1。每个二进制位称为一个比特(bit),8 个比特组成一个字节(byte)。更大的单位有千字节(KB)、兆字节(MB)、千兆字节(GB)和太字节(TB)。
er 1101₂ equals (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 8 + 4 + 0 + 1 = 13 in decimal.
数字可以在二进制和十进制之间进行转换。例如,二进制数 1101₂ 等于 (1 × 2³) + (1 × 2²) + (0 × 2¹) + (1 × 2⁰) = 8 + 4 + 0 + 1 = 13(十进制)。
Text is represented using character sets such as ASCII (American Standard Code for Information Interchange). Each character is assigned a unique binary code. For instance, the letter 'A' is 65 in decimal or 01000001 in binary. Extended character sets like Unicode support a wider range of characters.
文本使用字符集表示,例如 ASCII(美国信息交换标准代码)。每个字符分配一个唯一的二进制码。例如,字母 'A' 对应十进制 65,二进制 01000001。扩展字符集如 Unicode 支持更广泛的字符。
Images are stored as a grid of pixels. Each pixel's colour is represented by binary numbers. In a black-and-white image, 1 bit per pixel suffices (0 for white, 1 for black). For colour images, more bits are used per pixel to represent red, green, and blue (RGB) colour depths.
图像以像素网格的形式存储,每个像素的颜色用二进制数表示。在黑白图像中,每个像素只需 1 位(0 表示白,1 表示黑)。对于彩色图像,每个像素使用更多位来表示红、绿、蓝 (RGB) 的颜色深度。
Sound is sampled at regular intervals and converted into binary numbers (analogue-to-digital conversion). The sampling rate (how often samples are taken) and bit depth (number of bits per sample) affect the quality and file size of the audio.
声音以固定间隔采样,并转换为二进制数(模数转换)。采样率(采样的频率)和位深度(每个样本的位数)影响音频的质量和文件大小。
3. Programming Basics: Sequence, Selection, Iteration | 编程基础:顺序、选择与循环
All computer programs are built from three fundamental control structures: sequence, selection, and iteration. Sequence means instructions are executed one after another in the order they are written.
所有计算机程序都由三种基本控制结构构建:顺序、选择和循环(迭代)。顺序意味着指令按照编写的顺序一条接一条地执行。
and executes different blocks of code accordingly. For example: if score >= 50 then print "Pass" else print "Fail".
选择结构使程序能够进行决策。最常见的形式是 if-else 语句。程序评估一个条件(真或假),并根据结果执行不同的代码块。例如:if score >= 50 then print "Pass" else print "Fail"。
Iteration repeats a block of code multiple times. There are two main types: count-controlled loops (for loops) that repeat a specific number of times, and condition-controlled loops (while loops) that repeat as long as a condition remains true.
循环(迭代)重复执行一段代码多次。主要有两种类型:计数控制循环(for 循环),重复特定次数;条件控制循环(while 循环),只要条件为真就持续重复。
In Year 9, students often use pseudocode or block-based environments like Scratch to practise these concepts before moving to text-based languages like Python.
在 Year 9 阶段,学生通常在转向 Python 等文本语言之前,使用伪代码或基于块的环境(如 Scratch)来练习这些概念。
4. Algorithmic Thinking and Pseudocode | 算法思维与伪代码
An algorithm is a step-by-step procedure to solve a problem. Algorithmic thinking involves breaking down a problem, identifying the steps needed, and expressing them in a precise and unambiguous manner.
算法是解决问题的逐步过程。算法思维包括分解问题、确定所需步骤,并以精确、无歧义的方式表达它们。
Pseudocode is a simplified, language-independent way to describe an algorithm using common programming constructs (INPUT, OUTPUT, IF, ELSE, FOR, WHILE). It helps programmers plan before writing actual code.
伪代码是一种简化且与语言无关的描述算法的方式,使用常见的编程结构(如 INPUT、OUTPUT、IF、ELSE、FOR、WHILE)。它帮助程序员在编写实际代码之前进行规划。
Efficiency of algorithms can be compared by looking at the number of steps or operations required. A more efficient algorithm solves the same problem with fewer resources. For example, linear search checks each item one by one, whereas binary search repeatedly halves the search space, making it faster on sorted data.
算法的效率可以通过考察所需步骤或操作的数量来比较。更高效的算法使用更少的资源解决同样的问题。例如,线性搜索逐项检查,而二分搜索反复将搜索范围减半,在排序数据上更快。
Tracing through an algorithm with sample data helps verify correctness and understand how variables change during execution. A trace table is a useful tool for this purpose.
使用样本数据追踪算法有助于验证正确性并理解变量在执行过程中如何变化。追踪表是实现这一目的的有用工具。
5. Data Organisation: Variables, Data Types and Arrays | 数据组织:变量、数据类型与数组
In programming, a variable is a named storage location that holds a value which can change during program execution. Variables must have meaningful names and declared with a specific data type.
在编程中,变量是一个命名的存储位置,存放的值在程序执行过程中可以改变。变量必须具有有意义的名字,并声明为特定的数据类型。
ol), and string (sequence of characters). Understanding data types is crucial because operations differ (e.g., 2 + 2 = 4, but '2' + '2' = '22' in concatenation).
常见的数据类型包括整型(整数)、实型/浮点型(带小数的数字)、布尔型(真/假)、字符型(单个字母或符号)和字符串(字符序列)。理解数据类型至关重要,因为操作不同(例如,2 + 2 = 4,但 '2' + '2' 可能得到 '22',即字符串连接)。
An array is a data structure that can store multiple values of the same type under a single name, accessed using an index (position). Arrays can be one-dimensional (a list) or two-dimensional (a table). In pseudocode, elements are referred to as, for example, StudentName[0], StudentName[1].
数组是一种数据结构,可以在一个名称下存储多个相同类型的值,通过索引(位置)访问。数组可以是一维的(列表)或二维的(表格)。在伪代码中,元素引用例如 StudentName[0]、StudentName[1]。
Constants are similar to variables but their value does not change during the program's execution. They are used for fixed values like Pi (3.14) or the number of days in a week.
常量类似于变量,但其值在程序执行过程中不会改变。它们用于固定值,如 π(3.14)或一周的天数。
6. Networking Fundamentals | 计算机网络基础
A computer network connects multiple devices to share resources and communicate. Networks can be classified by geographical size: LAN (Local Area Network) covers a small area like a school or office; WAN (Wide Area Network) spans large distances, such as the Internet.
计算机网络连接多台设备以共享资源和通信。网络按地理大小分类:局域网(LAN)覆盖小范围,如学校或办公室;广域网(WAN)跨越长距离,如互联网。
Network devices include routers (forward data packets between networks), switches (connect devices within a LAN), modems (convert digital signals to analogue for transmission over telephone lines), and wireless access points (enable Wi-Fi connectivity).
网络设备包括路由器(在网络间转发数据包)、交换机(连接局域网内的设备)、调制解调器(将数字信号转换为模拟信号以通过电话线传输)和无线接入点(启用 Wi-Fi 连接)。
Data is transmitted using protocols, which are sets of rules. TCP/IP is the fundamental protocol suite of the Internet. IP addresses (like 192.168.1.1) identify devices, and MAC addresses are unique hardware identifiers.
数据通过协议(一组规则)进行传输。TCP/IP 是互联网的基本协议簇。IP 地址(如 192.168.1.1)标识设备,MAC 地址是唯一的硬件标识符。
The client-server model is widely used: clients request services, and servers provide them. Examples include web browsing (HTTP/HTTPS), email (SMTP, POP3), and file transfer (FTP).
客户端-服务器模型被广泛使用:客户端请求服务,服务器提供服务。示例包括网页浏览(HTTP/HTTPS)、电子邮件(SMTP、POP3)和文件传输(FTP)。
7. Cybersecurity and Ethics | 网络安全与伦理
Cybersecurity involves protecting systems, networks, and data from digital attacks. Common threats include malware (viruses, worms, trojans), phishing (fraudulent attempts to obtain sensitive information), and brute-force attacks (trying many passwords).
网络安全涉及保护系统、网络和数据免受数字攻击。常见威胁包括恶意软件(病毒、蠕虫、木马)、网络钓鱼(骗取敏感信息的欺诈行为)和暴力攻击(尝试大量密码)。
Defence mechanisms include firewalls (monitor and control incoming/outgoing network traffic), anti-malware software, encryption (scrambling data so only authorised parties can read it), and regular software updates.
防御机制包括防火墙(监控和控制网络流量)、反恶意软件、加密(对数据加扰,只有授权方能读取)和定期软件更新。
Ethics in computing involves responsible use of technology. Topics include copyright and intellectual property, software piracy, data privacy, and the social impact of computers (e.g., screen time, automation). Students should understand the importance of adhering to legal and moral guidelines.
计算机伦理涉及负责任地使用技术。主题包括版权和知识产权、软件盗版、数据隐私以及计算机的社会影响(例如屏幕时间、自动化)。学生应理解遵守法律与道德准则的重要性。
Computer legislation such as the Data Protection Act sets rules for collecting, storing, and using personal data. The Computer Misuse Act makes unauthorised access to computer systems illegal.
计算机立法如《数据保护法》为收集、存储和使用个人数据制定规则。《计算机滥用法》将未经授权访问计算机系统定为非法。
8. Introduction to Software Development Life Cycle | 软件开发生命周期简介
The Software Development Life Cycle (SDLC) is a structured process for planning, creating, testing, and deploying software. The main stages are: Analysis, Design, Implementation (coding), Testing, and Maintenance.
软件开发生命周期(SDLC)是一个规划、创建、测试和部署软件的结构化过程。主要阶段包括:分析、设计、实施(编码)、测试和维护。
In the analysis phase, the problem is clearly defined, and requirements are gathered from stakeholders. Feasibility, scope, and objectives are determined. Design involves creating flowcharts, pseudocode, and interface layouts before coding begins.
在分析阶段,明确定义问题,并从利益相关者那里收集需求。确定可行性、范围和目标。设计阶段涉及在开始编码之前创建流程图、伪代码和界面布局。
Implementation (programming) converts designs into code. Testing verifies that the program works correctly, handles edge cases, and meets requirements. Different testing types include unit testing, integration testing, and acceptance testing.
实施(编程)将设计转换为代码。测试验证程序正确运行、处理边界情况并满足需求。测试类型包括单元测试、集成测试和验收测试。
Maintenance occurs after deployment. It involves fixing bugs, adding new features, and adapting the software to changing environments. This phase often consumes the most time and cost.
维护发生在部署之后,包括修复错误、添加新功能以及使软件适应变化的环境。这一阶段通常耗费最多的时间和成本。
9. Searching and Sorting Algorithms | 搜索与排序算法
Searching algorithms are used to find specific data within a collection. Linear search examines each element sequentially until the target is found or the list ends. It works on unsorted data but can be slow for large datasets.
搜索算法用于在数据集合中查找特定数据。线性搜索依次检查每个元素,直到找到目标或列表结束。它适用于未排序的数据,但对于大数据集可能较慢。
Binary search works on sorted data by repeatedly dividing the search interval in half. It compares the target value to the middle element; if not equal, it discards the half that cannot contain the target. This algorithm is much faster but requires pre-sorted data.
二分搜索适用于已排序的数据,通过反复将搜索区间减半进行。它将目标值与中间元素比较;如果不相等,则舍弃不可能包含目标的那一半。该算法快得多,但要求数据预先排序。
Sorting algorithms arrange data in a specific order (ascending or descending). Bubble sort repeatedly steps through a list, compares adjacent elements, and swaps them if they are in the wrong order. The process repeats until the list is sorted. It is simple but inefficient for large lists.
排序算法将数据按特定顺序(升序或降序)排列。冒泡排序反复遍历列表,比较相邻元素,如果顺序错误则交换它们。该过程重复执行,直到列表有序。该方法简单,但对大列表效率低。
Another sorting method is insertion sort, which builds the sorted list one item at a time by taking the next item and inserting it into its correct position. Understanding these algorithms helps in analysing algorithm performance (time complexity).
另一种排序方法是插入排序,它通过逐个取出下一项并插入到正确位置来构建有序列表。理解这些算法有助于分析算法性能(时间复杂度)。
10. Computer Logic and Boolean Algebra | 计算机逻辑与布尔代数
At the hardware level, computers use logic gates to process binary signals. The fundamental gates are AND, OR, and NOT. The AND gate outputs 1 only if all inputs are 1. The OR gate outputs 1 if at least one input is 1. The NOT gate inverts the input (0 becomes 1, 1 becomes 0).
在硬件层面,计算机使用逻辑门处理二进制信号。基本逻辑门包括与门(AND)、或门(OR)和非门(NOT)。与门仅在所有输入均为 1 时输出 1。或门在至少一个输入为 1 时输出 1。非门反转输入(0 变 1,1 变 0)。
Truth tables are used to show all possible input combinations and the corresponding output for a logic circuit. They are an essential tool for designing and simplifying circuits.
真值表用于显示逻辑电路所有可能的输入组合及其对应的输出。它们是设计和化简电路的重要工具。
Boolean algebra is a mathematical notation for expressing logic. For example, the expression A AND B is written as A.B (or AB), A OR B is written as A+B, and NOT A is written as overbar A or ¬A. These rules can simplify complex expressions to reduce the number of gates needed.
布尔代数是一种表达逻辑的数学表示法。例如,A AND B 写作 A·B(或 AB),A OR B 写作 A+B,NOT A 写作 Ā 或 ¬A。这些规则可以化简复杂表达式,减少所需门电路的数量。
Combining gates creates circuits capable of addition (half adders, full adders) and memory (flip-flops). Understanding these foundations connects programming to the physical electronics inside a computer.
组合逻辑门可创建能够实现加法(半加器、全加器)和存储(触发器)的电路。理解这些基础将编程与计算机内部的物理电子学联系起来。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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