AQA GCSE Computer Science Year 10 Core Knowledge | AQA GCSE 计算机科学 Year 10 核心知识点梳理

📚 AQA GCSE Computer Science Year 10 Core Knowledge | AQA GCSE 计算机科学 Year 10 核心知识点梳理

Year 10 is the foundation year for the AQA GCSE Computer Science (8525) specification. This article compiles the essential topics you will encounter, covering computational thinking, programming, data representation, computer systems, networking, cyber security, databases, and the wider impacts of digital technology. Each section presents key concepts in paired English and Chinese explanations to support bilingual learners and reinforce memory.

Year 10 是 AQA GCSE 计算机科学(8525)课程的打基础之年。本文梳理了你会接触到的核心主题,涵盖计算思维、编程、数据表示、计算机系统、网络、网络安全、数据库以及数字技术的广泛影响。每个小节都提供中英对照讲解,帮助双语学习者巩固记忆。

1. Algorithms and Flowcharts | 算法与流程图

An algorithm is a step-by-step sequence of instructions designed to solve a problem or complete a task. Algorithms can be expressed using pseudocode, flowcharts, or structured English. Key building blocks include sequence, selection (if-else), and iteration (loops).

算法是一组为解决某个问题或完成任务而设计的逐步指令序列。算法可以用伪代码、流程图或结构化英语来表示。其基本构建块包括顺序、选择(if-else)和迭代(循环)。

Flowcharts use standard symbols: oval for Start/End, rectangle for process, diamond for decision, and parallelogram for input/output. Arrows show the flow of control. Tracing an algorithm means stepping through it manually with sample data to verify logic.

流程图使用标准符号:椭圆形表示开始/结束,矩形表示过程,菱形表示判断,平行四边形表示输入/输出。箭头表示控制流。追踪算法是指用示例数据手动逐步执行算法以验证逻辑。

Common algorithmic thinking tasks include searching (linear search, binary search) and sorting (bubble sort, merge sort). You need to understand how they work, not just memorise code. Binary search requires a sorted list and repeatedly divides the search space in half.

常见的算法思维任务包括搜索(线性搜索、二分搜索)和排序(冒泡排序、归并排序)。你需要理解它们的工作原理,而不仅仅是记住代码。二分搜索要求列表已排序,并重复将搜索空间一分为二。


2. Programming Basics (Python) | 编程基础(Python)

AQA GCSE allows you to write code in Python 3 (or other high-level languages). Core concepts include variables, data types, arithmetic operators, and input/output. A variable is a named memory location that stores a value, and in Python you assign with ‘=’. The basic data types are integer (int), floating-point number (float), string (str), and Boolean (bool).

AQA GCSE 允许你使用 Python 3(或其他高级语言)编写代码。核心概念包括变量、数据类型、算术运算符和输入/输出。变量是一个已命名的内存位置,用于存储值,在 Python 中使用 ‘=’ 赋值。基本数据类型有整型(int)、浮点数(float)、字符串(str)和布尔型(bool)。

Use input() to read user input (always a string, so cast when needed) and print() to display output. Arithmetic operators: +, -, *, /, // (integer division), % (modulus), and ** (exponentiation). Order of operations follows BIDMAS.

使用 input() 读取用户输入(总是返回字符串,必要时需进行类型转换),使用 print() 显示输出。算术运算符:+、-、*、/、//(整除)、%(取余)以及 **(乘方)。运算顺序遵循 BIDMAS 规则。

Comments start with # and are ignored by the interpreter. They are essential for explaining code logic. Indentation in Python defines code blocks; consistent use of 4 spaces is recommended. Always test your code with normal, boundary, and erroneous data.

注释以 # 开头,会被解释器忽略。它们对于解释代码逻辑至关重要。Python 中的缩进用于定义代码块;建议统一使用 4 个空格。始终用正常数据、边界数据和错误数据测试你的代码。


3. Data Types and Variables | 数据类型与变量

Understanding data types prevents logical errors. An integer is a whole number, a float holds decimals, a string is a sequence of characters enclosed in quotes, and a Boolean is either True or False. Python is dynamically typed: a variable can change type, but you must manage this carefully.

理解数据类型可以避免逻辑错误。整型是整数,浮点型存放小数,字符串是用引号括起来的字符序列,布尔型只能是 True 或 False。Python 是动态类型的:变量可以改变类型,但必须谨慎管理。

Casting functions: int(), float(), str(), bool(). For example, age = int(input("Enter age: ")) converts the string input to an integer. Operations between incompatible types cause errors; you cannot concatenate a string and an integer without conversion.

类型转换函数:int()float()str()bool()。例如,age = int(input("Enter age: ")) 将输入的字符串转换成整数。不兼容类型之间的运算会导致错误;不能在不进行转换的情况下拼接字符串和整数。

Constants are values that should not change during program execution. Python does not have true constants, but by convention we use ALL_CAPS names (e.g. PI = 3.14159) to signal that the value is intended to remain fixed.

常量是在程序执行过程中不应改变的值。Python 没有真正的常量,但按照惯例我们使用全大写命名(例如 PI = 3.14159),以表示该值应保持不变。


4. Selection and Iteration | 选择与迭代

Selection uses if, elif, and else to branch based on conditions. Conditions evaluate to Boolean values and use comparison operators (>, <, ==, !=, >=, <=) and logical operators (and, or, not). Nesting is allowed, but too many levels reduce readability.

选择结构使用 ifelifelse 根据条件进行分支。条件计算结果为布尔值,并使用比较运算符(>、<、==、!=、>=、<=)和逻辑运算符(and、or、not)。允许嵌套,但层数过多会降低可读性。

Iteration repeats a block of code. for loops are used when the number of repeats is known (e.g. iterating over a range or a list). while loops repeat as long as a condition remains True; they are ideal for indefinite loops, such as waiting for correct user input.

迭代用于重复执行代码块。当重复次数已知时使用 for 循环(例如,遍历一个范围或列表)。while 循环在条件为 True 时一直重复;适用于不定循环,比如等待用户输入正确的内容。

Example pattern: for i in range(5): print(i) prints 0 to 4. A common exam task is to trace loops and determine the final value of variables. Always watch for infinite loops caused by a condition that never becomes False.

示例模式:for i in range(5): print(i) 会打印 0 到 4。常见的考试任务是追踪循环并确定变量的最终值。务必警惕由于条件永远不为 False 而导致的无限循环。


5. Data Representation: Binary & Hex | 数据表示:二进制与十六进制

Computers use binary (base-2) because hardware is built from two-state switches. Each binary digit (bit) is 0 or 1. A nibble is 4 bits, a byte is 8 bits. Binary numbers can be converted to denary (base-10) by adding place values where a 1 appears: for an 8-bit number, place values are 128, 64, 32, 16, 8, 4, 2, 1.

计算机使用二进制(基数为2),因为硬件由双态开关构成。每个二进制位(bit)为 0 或 1。半字节为 4 位,一个字节为 8 位。将二进制数转换为十进制时,把出现 1 的数位对应的位权相加:对于 8 位数字,位权依次为 128、64、32、16、8、4、2、1。

Hexadecimal (base-16) is a compact way to represent binary. Digits 0–9 are used, followed by A (10) to F (15). Each hex digit represents exactly one nibble. Conversion between hex and binary is straightforward: 1101 0011 in binary becomes D3 in hex.

十六进制(基数为16)是一种紧凑表示二进制的方法。使用数字 0–9,然后是 A(10)到 F(15)。每个十六进制数字正好代表一个半字节。十六进制和二进制之间的转换很直接:二进制 1101 0011 就变成了十六进制的 D3。

Binary addition follows simple rules: 0+0=0, 0+1=1, 1+0=1, 1+1=0 carry 1; 1+1+1=1 carry 1. You may be asked to add two 8-bit numbers and identify overflow when the result exceeds 255 (for unsigned 8-bit integers).

二进制加法遵循简单规则:0+0=0,0+1=1,1+0=1,1+1=0 进 1;1+1+1=1 进 1。你可能会被要求对两个 8 位数求和,并在结果超出 255(对于无符号 8 位整数)时识别溢出。


6. Computer Systems: Hardware & Software | 计算机系统:硬件与软件

Hardware refers to the physical components of a computer: CPU, memory (RAM, ROM), storage (HDD, SSD), input devices (keyboard, mouse, sensor), and output devices (monitor, printer, actuator). The CPU (Central Processing Unit) executes instructions using the fetch-decode-execute cycle.

硬件指计算机的物理组件:CPU、内存(RAM、ROM)、存储(HDD、SSD)、输入设备(键盘、鼠标、传感器)和输出设备(显示器、打印机、执行器)。CPU(中央处理器)通过取指-译码-执行周期来执行指令。

The CPU contains the Arithmetic Logic Unit (ALU), Control Unit (CU), and registers (PC, MAR, MDR, Accumulator). The clock speed (in GHz), number of cores, and cache size affect performance. Von Neumann architecture stores both data and instructions in the same memory.

CPU 包含算术逻辑单元(ALU)、控制单元(CU)和寄存器(PC、MAR、MDR、累加器)。时钟速度(以 GHz 为单位)、核心数量和缓存大小都会影响性能。冯·诺依曼架构将数据和指令存放在同一个内存中。

Software is divided into system software (operating system, utilities) and application software. The OS manages hardware, provides a user interface, handles multitasking, memory management, and file management. Utility software includes antivirus, defragmentation, and backup tools.

软件分为系统软件(操作系统、实用程序)和应用软件。操作系统管理硬件、提供用户界面、处理多任务、内存管理和文件管理。实用程序软件包括防病毒、磁盘碎片整理和备份工具。


7. Memory and Storage | 内存与存储

Primary memory (RAM and ROM) is directly accessed by the CPU. RAM is volatile and stores currently running programs and data; ROM is non-volatile and contains the boot program (BIOS). More RAM allows more applications to run simultaneously without slowing down.

主存(RAM 和 ROM)由 CPU 直接访问。RAM 是易失性的,存储当前正在运行的程序和数据;ROM 是非易失性的,包含启动程序(BIOS)。更大的 RAM 能在不降低速度的情况下同时运行更多应用程序。

Secondary storage is non-volatile and keeps data permanently. Magnetic hard disks (HDD) use spinning platters; solid-state drives (SSD) use flash memory and are faster, more durable, but more expensive per GB. Optical discs (CD, DVD) use lasers.

辅助存储是非易失性的,用于永久保存数据。磁性硬盘(HDD)使用旋转盘片;固态硬盘(SSD)使用闪存,速度更快、更耐用,但每 GB 成本更高。光盘(CD、DVD)使用激光技术。

Units of data storage: bit, nibble (4 b), byte (8 b), kilobyte (kB, 1000 bytes or 1024 bytes — exam will state), megabyte (MB), gigabyte (GB), terabyte (TB). You must be able to calculate file sizes, e.g. a bitmap image with 800×600 pixels and 16 colours requires 800 × 600 × 4 bits = 1 920 000 bits = 240 000 bytes ≈ 240 kB.

数据存储单位:位 (bit),半字节 (4 b),字节 (8 b),千字节 (kB,1000 字节或 1024 字节——考试中会说明),兆字节 (MB),吉字节 (GB),太字节 (TB)。你必须能够计算文件大小,例如,一幅 800×600 像素、16 色的位图图像需要 800 × 600 × 4 位 = 1 920 000 位 = 240 000 字节 ≈ 240 kB。

Number of colours = 2ⁿ, where n = bit depth. For 16 colours, n = 4.

颜色数 = 2ⁿ,其中 n 为色深。对于 16 色,n = 4。


8. Networks and the Internet | 网络与互联网

A network connects two or more devices to share resources and data. LANs cover a small geographical area (school, office); WANs connect LANs over large distances (the Internet is the largest WAN). Key hardware: switch, router, network interface card (NIC), wireless access point (WAP).

网络将两个或更多设备连接起来,以共享资源和数据。局域网(LAN)覆盖较小的地理范围(学校、办公室);广域网(WAN)远距离连接局域网(互联网是最大的 WAN)。关键硬件:交换机、路由器、网络接口卡(NIC)、无线接入点(WAP)。

Transmission media include copper Ethernet cables (twisted pair), fibre optic (light signals, high bandwidth, low interference), and radio waves (Wi-Fi, Bluetooth). Wi-Fi standards (e.g. 802.11ac) use frequencies 2.4 GHz and 5 GHz.

传输介质包括铜制以太网线(双绞线)、光纤(光信号,高带宽,低干扰)以及无线电波(Wi-Fi、蓝牙)。Wi-Fi 标准(如 802.11ac)使用 2.4 GHz 和 5 GHz 频段。

Protocols are rules for communication. TCP/IP is the foundation of the Internet: TCP breaks data into packets and reassembles them, ensuring reliable delivery; IP handles addressing and routing. Other protocols: HTTP/HTTPS (web), FTP (file transfer), SMTP (send email), IMAP/POP3 (receive email).

协议是通信的规则。TCP/IP 是互联网的基础:TCP 将数据分成数据包并重组,确保可靠传输;IP 处理寻址和路由。其他协议:HTTP/HTTPS(网页)、FTP(文件传输)、SMTP(发送邮件)、IMAP/POP3(接收邮件)。

The Domain Name System (DNS) translates human-readable domain names into IP addresses. The client-server model underpins most online services: a client requests data, and a server provides it. The cloud is simply remote servers accessed over the Internet.

域名系统(DNS)将人类可读的域名转换为 IP 地址。客户端-服务器模型支撑着大多数在线服务:客户端请求数据,服务器提供数据。云就是通过互联网访问的远程服务器。


9. Cyber Security Threats | 网络安全威胁

Malware (malicious software) includes viruses, worms, trojans, ransomware, and spyware. A virus attaches to a host file and spreads when executed; a worm self-replicates across networks. Ransomware encrypts files and demands payment. Spyware secretly monitors user activity.

恶意软件包括病毒、蠕虫、特洛伊木马、勒索软件和间谍软件。病毒附着在宿主文件上,执行时传播;蠕虫能够通过网络自我复制。勒索软件加密文件并要求赎金。间谍软件秘密监控用户活动。

Social engineering attacks exploit human psychology. Phishing sends deceptive emails that appear to be from trusted sources to steal credentials. Shoulder surfing is observing someone’s screen or keyboard. Blagging (pretexting) involves inventing a scenario to obtain information.

社会工程攻击利用人类心理。网络钓鱼发送看似来自可信来源的欺骗性电子邮件以窃取凭据。肩窥是观察他人的屏幕或键盘输入。假冒身份(借口攻击)是通过编造情景来获取信息。

Network attacks: denial-of-service (DoS) floods a server with traffic, making it unavailable. Brute-force attacks try many password combinations. SQL injection inserts malicious SQL queries through web forms to manipulate databases. Interception and eavesdropping involve packet sniffing.

网络攻击:拒绝服务攻击(DoS)用大量流量淹没服务器,使其不可用。暴力攻击尝试大量密码组合。SQL 注入通过网页表单插入恶意 SQL 查询来操纵数据库。拦截和窃听包括数据包嗅探。

Defences: firewalls filter incoming and outgoing traffic; anti-malware software detects and removes threats; strong passwords, two-factor authentication, biometrics; encryption (e.g. AES) scrambles data so only authorised parties can read it. Penetration testing identifies vulnerabilities before attackers do.

防御措施:防火墙过滤进出流量;反恶意软件检测并清除威胁;强密码、双因素认证、生物识别;加密(例如 AES)打乱数据,只有授权方才能读取。渗透测试在攻击者之前发现漏洞。


10. Relational Databases & SQL | 关系型数据库与 SQL

A relational database organises data into tables (relations) linked by primary keys and foreign keys. Each table has rows (records) and columns (fields). A primary key uniquely identifies each record; a foreign key creates a link to another table’s primary key.

关系型数据库将数据组织成由主键和外键连接的表(关系)。每个表包含行(记录)和列(字段)。主键唯一地标识每条记录;外键用于创建与另一张表主键的链接。

SQL (Structured Query Language) is used to query and manipulate data. Core commands:

  • SELECT column1, column2 FROM table WHERE condition;
  • INSERT INTO table (col1, col2) VALUES (val1, val2);
  • UPDATE table SET col1 = value WHERE condition;
  • DELETE FROM table WHERE condition;

SQL(结构化查询语言)用于查询和操作数据。核心命令:

  • SELECT 列1, 列2 FROM 表 WHERE 条件;
  • INSERT INTO 表 (列1, 列2) VALUES (值1, 值2);
  • UPDATE 表 SET 列1 = 值 WHERE 条件;
  • DELETE FROM 表 WHERE 条件;

You must be able to use wildcards (LIKE ‘%search%’), comparison operators (=, <>, <, >), and logical operators (AND, OR, NOT). JOINs combine data from multiple tables based on a related column. Example: SELECT Students.Name, Classes.Subject FROM Students INNER JOIN Classes ON Students.ClassID = Classes.ClassID;

你必须能够使用通配符(LIKE ‘%search%’)、比较运算符(=、<>、<、>)和逻辑运算符(AND、OR、NOT)。JOIN 根据关联列从多个表合并数据。示例:SELECT Students.Name, Classes.Subject FROM Students INNER JOIN Classes ON Students.ClassID = Classes.ClassID;


11. Ethical, Legal & Environmental Impacts | 伦理、法律与环境影响

The digital world raises ethical dilemmas around privacy, data collection, and surveillance. For example, should social media platforms use algorithms to maximise engagement even if it amplifies misinformation? Ethical decisions often balance innovation against individual rights.

数字世界在隐私、数据收集和监控方面引发了伦理困境。例如,社交媒体平台是否应该使用算法来最大化用户参与度,即使这会放大错误信息?伦理决策往往需要在创新与个人权利之间取得平衡。

Legislation includes the Computer Misuse Act 1990 (unauthorised access, modification), the Data Protection Act 2018 / GDPR (personal data must be processed fairly and securely), and the Copyright, Designs and Patents Act 1988 (protecting intellectual property). The Freedom of Information Act gives the public access to official information.

相关法律包括《1990 年计算机滥用法案》(未经授权的访问、修改)、《2018 年数据保护法》/ GDPR(个人数据必须公平、安全地处理)以及《1988 年版权、外观设计和专利法案》(保护知识产权)。《信息自由法案》赋予公众获取官方信息的权利。

Environmental concerns focus on energy consumption of data centres, e-waste from discarded devices, and the carbon footprint of cryptocurrency mining. The technology lifecycle encourages recycling and responsible manufacturing. Open-source software can extend hardware lifespan by providing lightweight alternatives.

环境问题关注数据中心的能耗、废弃设备产生的电子垃圾以及加密货币挖矿的碳足迹。科技生命周期鼓励回收利用和负责任制造。开源软件可以通过提供轻量级替代方案来延长硬件寿命。

The digital divide separates those with access to technology and digital literacy from those without, affecting education, employment, and civic participation. Ethical programmers design inclusive, accessible interfaces for all users, including those with disabilities.

数字鸿沟将能够接触技术和具备数字素养的人与无法接触的人隔开,影响教育、就业和公民参与。有道德的编程人员为所有用户(包括残障人士)设计包容、可访问的界面。

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

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

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading