📚 Year 8 Cambridge Computing: Core Concepts Review | Year 8 剑桥计算机:核心知识点梳理
As Year 8 students following the Cambridge curriculum, you are building a strong foundation in computing. This article revisits key concepts from computational thinking and programming to computer systems, networks, web development, and digital safety. Each section pairs concise explanations in English and Chinese, helping you master essential knowledge and prepare for assessments.
作为学习剑桥课程的八年级学生,您正在建立坚实的计算机基础。本文梳理从计算思维和编程到计算机系统、网络、网页开发和数字安全的核心知识点。每个部分都提供中英文简明解释,帮助您掌握必备知识并为评估做好准备。
1. Computational Thinking Skills | 计算思维技能
Computational thinking is the heart of problem‑solving in computing. It involves four key techniques: decomposition, pattern recognition, abstraction, and algorithm design. Decomposition means breaking down a complex task into smaller, manageable subtasks. Pattern recognition helps you spot similarities with problems you have solved before. Abstraction involves filtering out unnecessary detail to focus on what matters. Algorithm design is creating a step‑by‑step plan to solve a problem.
计算思维是计算学科解决问题的核心。它包括四项关键技术:分解、模式识别、抽象和算法设计。分解意味着将一个复杂的任务拆分成更小、可管理的子任务。模式识别帮助你发现与曾经解决过的问题的相似之处。抽象则是过滤掉不必要的细节,聚焦于关键部分。算法设计就是制定一步一步的解决方案。
Example: When planning a school trip, you can use decomposition to handle transport, food, and activities separately. Abstraction lets you ignore irrelevant details like the colour of the coach, concentrating only on cost, distance, and number of students. Algorithms guide the order of tasks, such as sending permission slips before booking transport.
示例:在策划一次学校郊游时,你可以用分解来处理交通、膳食和活动。抽象让你忽略诸如巴士颜色等无关细节,只关注费用、距离和学生人数。算法指导任务的顺序,比如在预订交通前先发放家长同意书。
2. Binary and Data Representation | 二进制与数据表示
Computers store all data as binary – sequences of 0s and 1s (bits). A group of 8 bits is a byte. For example, the denary number 10 is written as 1010₂ in binary. You can convert between binary and denary using place values: 128, 64, 32, 16, 8, 4, 2, 1. To represent text, computers use codes such as ASCII (7 bits) or Unicode (supports characters from all languages). Images are stored as a grid of pixels, each assigned a binary colour code. Sound is represented by sampling the height of sound waves at regular intervals.
计算机将所有数据存储为二进制——由 0 和 1 组成的序列(比特)。8 个比特构成一个字节。例如,十进制数 10 在二进制中写作 1010₂。你可以借助位权值(128、64、32、16、8、4、2、1)在二进制和十进制之间进行转换。表示文本时,计算机使用诸如 ASCII(7 位)或 Unicode(支持所有语言的字符)的编码。图像被存储为像素网格,每个像素分配一个二进制颜色代码。声音则通过对声波高度进行等间隔采样来表示。
Table: Place values for a byte
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
So, 1010₂ = 1×8 + 0×4 + 1×2 + 0×1 = 10₁₀.
因此,1010₂ = 1×8 + 0×4 + 1×2 + 0×1 = 10₁₀。
3. Programming Essentials | 编程基础
All programs are built from three fundamental structures: sequence, selection, and iteration. Sequence means instructions execute one after another. Selection (if‑else statements) allows the program to make decisions based on conditions. Iteration (loops) repeats a block of code. You also use variables to store data that can change during program execution. Different data types include integer, float, string, and Boolean. Debugging is the process of finding and fixing errors in code, often by using print statements, breakpoints, or tracing variable values.
所有程序都建立在三种基本结构之上:顺序、选择和迭代。顺序意味着指令一条接一条地执行。选择(if‑else 语句)允许程序根据条件做出决策。迭代(循环)重复执行一段代码。您还会使用变量来存储程序运行期间可改变的数据。常见的数据类型包括整型、浮点型、字符串和布尔型。调试是找出并修正代码错误的过程,常用方法有插入打印语句、设置断点或跟踪变量的值。
For example, in Python, you can write a loop to print numbers 1 to 5: for i in range(1,6): print(i). A selection statement checks whether a score is passing: if score >= 50: print("Pass").
例如,用 Python 可以写一个循环打印 1 到 5:for i in range(1,6): print(i)。一个选择语句可检测成绩是否及格:if score >= 50: print("Pass")。
4. Algorithms and Flowcharts | 算法与流程图
An algorithm is a precise set of steps to solve a problem. Flowcharts give a visual representation using standard symbols: oval for start/end, parallelogram for input/output, rectangle for processing, diamond for decision, and arrows for flow of control. Pseudo‑code is an informal way of planning programs, using English phrases and common programming keywords (like INPUT, OUTPUT, IF, WHILE, FOR). Tracing algorithms involves running through them manually with sample data to check correctness.
算法是解决问题的一组精确步骤。流程图使用标准符号提供可视化表示:椭圆形表示开始/结束,平行四边形表示输入/输出,矩形表示处理,菱形表示判断,箭头表示控制流。伪代码是一种规划程序的非正式方式,它使用英语短语和常见的编程关键词(如 INPUT、OUTPUT、IF、WHILE、FOR)。追踪算法意味着用手工方式代入示例数据运行算法,以检查其正确性。
For example, a flowchart to decide whether to wear a coat could start with a diamond asking "Is it raining?" – a yes branch leads to "Wear a coat", a no branch leads to "No coat". Tracing helps you verify the logic.
例如,一个决定是否穿外套的流程图可以从一个菱形“正在下雨吗?”开始——回答“是”导向“穿外套”,回答“否”导向“不穿外套”。通过追踪可以验证逻辑是否正确。
5. Computer Systems Overview | 计算机系统总览
A computer system consists of hardware and software. Hardware includes the central processing unit (CPU), memory (RAM and ROM), storage devices (HDD, SSD), input devices (keyboard, mouse, microphone), and output devices (monitor, printer, speakers). The CPU follows the fetch‑decode‑execute cycle to process instructions. Memory stores data currently in use; storage holds data permanently. Software is divided into system software (operating systems, utilities) and application software (word processors, browsers).
计算机系统由硬件和软件组成。硬件包括中央处理器(CPU)、内存(RAM 和 ROM)、存储设备(HDD、SSD)、输入设备(键盘、鼠标、麦克风)和输出设备(显示器、打印机、扬声器)。CPU 遵循提取‑解码‑执行周期来处理指令。内存存储当前正在使用的数据;存储设备永久保存数据。软件分为系统软件(操作系统、实用工具)和应用软件(文字处理器、浏览器)。
Table: Hardware vs Software
| Hardware (physical parts) | Software (programs) |
| CPU, RAM, keyboard | Windows, Google Chrome |
Understanding the role of each component helps you troubleshoot problems and appreciate how programs run.
理解每个组件的角色有助于您解决故障并了解程序如何运行。
6. Networks and the Internet | 网络与互联网
A network connects computers to share resources. A LAN (Local Area Network) covers a small area like a school; a WAN (Wide Area Network) spans large distances – the Internet is the largest WAN. Networks rely on clients (devices requesting services) and servers (machines providing services). Key protocols govern communication: TCP/IP ensures reliable data delivery, HTTP/HTTPS transfers web pages, DNS translates domain names into IP addresses. Each device has a unique IP address, like a postal address for data.
网络将计算机连接起来以共享资源。LAN(局域网)覆盖一个像学校这样的小区域;WAN(广域网)跨越远距离——互联网就是最大的 WAN。网络依赖客户端(请求服务的设备)和服务器(提供服务的机器)。关键协议管理通信:TCP/IP 确保可靠的数据传输,HTTP/HTTPS 传输网页,DNS 将域名翻译成 IP 地址。每个设备都有一个独一无二的 IP 地址,就像数据的邮寄地址。
When you type a web address, your browser sends a DNS query to find the IP, then uses HTTP to request the page. Understanding these steps clarifies how the Internet works at a fundamental level.
当您输入一个网址时,浏览器会发送 DNS 查询来找到对应的 IP,然后使用 HTTP 请求页面。理解这些步骤有助于在基本层面上阐明互联网是如何工作的。
7. Web Technologies | 网页技术
Web pages are built with HTML (HyperText Markup Language) for structure, and CSS (Cascading Style Sheets) for presentation. HTML uses tags like <h1> for headings, <p> for paragraphs, <img> for images, and <a> for links. CSS controls colours, fonts, layout, and responsive design. Well‑designed pages follow accessibility guidelines so that everyone, including users with disabilities, can access the content – for example by providing alt text for images and proper heading hierarchies.
网页的结构由 HTML(超文本标记语言)构建,外观由 CSS(层叠样式表)控制。HTML 使用如 <h1> 表示标题、<p> 表示段落、<img> 表示图像、<a> 表示链接等标签。CSS 控制颜色、字体、布局和响应式设计。设计良好的网页遵循可访问性指南,让包括残障用户在内的所有人都能访问内容——例如为图像提供替代文本以及使用恰当的标题层级。
For instance, a simple HTML element: <h1 style="color:blue;">Welcome</h1>. Inline styles like this are one way to apply CSS, but external style sheets are preferred for larger projects.
例如,一个简单的 HTML 元素:<h1 style="color:blue;">Welcome</h1>。像这样的内联样式是应用 CSS 的一种方式,但在较大的项目中更推荐使用外部样式表。
8. Introduction to Databases | 数据库入门
A database organises information in tables, which consist of records (rows) and fields (columns). Each field has a data type, such as text, number, date, or Boolean. Queries allow you to search, filter, and sort data. SQL (Structured Query Language) is a common language for databases; a basic query might be: SELECT name, grade FROM students WHERE grade > 80;. This retrieves the name and grade of students with a grade above 80. Databases reduce data redundancy and improve consistency compared to flat files.
数据库以表格的形式组织信息,表格由记录(行)和字段(列)组成。每个字段都有一种数据类型,例如文本、数字、日期或布尔型。查询允许您搜索、筛选和排序数据。SQL(结构化查询语言)是一种常用的数据库语言;一个基本的查询可能是:SELECT name, grade FROM students WHERE grade > 80;。这将检索出成绩高于 80 分的学生的姓名和成绩。与平面文件相比,数据库减少了数据冗余并提高了数据一致性。
When designing a database, you consider relationships between tables (e.g., one school has many students) and use primary keys to uniquely identify each record.
在设计数据库时,您需要考虑表之间的关系(例如,一所学校有许多学生),并使用主键来唯一标识每条记录。
9. Digital Safety and Ethics | 数字安全与伦理
Staying safe online involves protecting personal information, creating strong passwords, and recognising threats like phishing (fake emails seeking passwords) and malware (malicious software). Use a combination of letters, numbers, and symbols in passwords, and enable two‑factor authentication where possible. Respect others online by not sharing hurtful comments and by asking before posting photos of people. Understand that digital footprints are permanent – everything you post can be traced back to you.
安全上网包括保护个人信息、创建强密码,以及识别诸如网络钓鱼(骗取密码的虚假电子邮件)和恶意软件(恶意程序)等威胁。使用字母、数字和符号组合设置密码,并尽可能开启双重验证。在网上尊重他人,不发布伤害性评论,在发布他人照片前要先征得同意。要明白数字足迹是永久的——您发布的任何内容都可能被追踪到您本人。
Cyberbullying is a serious issue; if you encounter it, tell a trusted adult and block the sender. Ethical computing also means respecting copyright – only use content you have permission to use, and always give credit to the creator.
网络欺凌是一个严重的问题;如果遇到,要告诉可信任的成年人并拉黑发送者。合乎道德的计算机使用也意味着尊重版权——只使用您获得许可的内容,并始终标明来源。
10. Boolean Logic and Searching | 布尔逻辑与搜索
Boolean logic uses operators AND, OR, and NOT to combine true/false conditions. It is the foundation of search engines and programming conditions. AND requires both conditions to be true (e.g., 'cats AND dogs' returns results containing both words). OR requires at least one to be true, widening the search. NOT excludes a term. Truth tables show all possible outcomes: for A AND B, the result is true only when both A and B are true.
布尔逻辑使用逻辑运算符 AND、OR 和 NOT 来组合真/假条件。它是搜索引擎和编程条件的基础。AND 要求两个条件都为真(例如,“cats AND dogs”返回同时包含这两个词的结果)。OR 要求至少一个为真,可扩大搜索范围。NOT 则排除某个词。真值表展示所有可能的结果:对于 A AND B,只有当 A 和 B 都为真时结果才为真。
Table: Truth table for AND
| A | B | A AND B |
| true | true | true |
| true | false | false |
| false | true | false |
| false | false | false |
Applying Boolean logic when searching online makes results more precise and saves time.
在线搜索时运用布尔逻辑可使结果更加精确并节省时间。
Published by TutorHao | Computing Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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