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

Year 9 Edexcel Computer Science: Summer Prep & Bridging Course | Edexcel九年级计算机:暑期预习与衔接课程

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

📚 Year 9 Edexcel Computer Science: Summer Prep & Bridging Course | Edexcel九年级计算机:暑期预习与衔接课程

Welcome to your summer preparation journey for Year 9 Edexcel Computer Science. This bridging course is designed to consolidate the key skills from earlier years and introduce the core concepts you will explore in depth next year. Whether you are new to programming or looking to strengthen your computational thinking, these carefully structured sections will build your confidence and understanding step by step. Each topic includes clear explanations, practical examples, and opportunities to reflect on how computer systems work. Let’s dive into the digital world together and make sure you start the new academic year with curiosity and readiness.

欢迎参加九年级 Edexcel 计算机科学的暑期预习之旅。本衔接课程旨在巩固前几年的关键技能,并引入你将在新学年深入学习的核心概念。无论你是编程新手,还是希望加强计算思维,这些精心设计的章节都会逐步建立你的信心和理解力。每个主题都包含清晰的解释、实际示例,并让你思考计算机系统的工作原理。让我们一同探索数字世界,确保你带着好奇心和充分准备开启新学年。


1. What is Computational Thinking? | 什么是计算思维?

Computational thinking is the foundation of all problem solving in computer science. It involves breaking down complex problems into smaller, manageable parts (decomposition), spotting similarities and patterns (pattern recognition), focusing on the important details while ignoring irrelevant information (abstraction), and designing step-by-step solutions (algorithms). For example, when organising a school timetable, you decompose the task by considering subjects, teachers, and rooms; you look for patterns like repeated lessons; you abstract away colour preferences; and you create an algorithm to schedule periods without clashes. These skills are not limited to computing — they help you think logically in everyday life.

计算思维是计算机科学中所有问题解决的基础。它包括将复杂问题分解为更小、易于处理的部分(分解),发现相似之处和模式(模式识别),专注于重要细节而忽略无关信息(抽象),以及设计逐步的解决方案(算法)。例如,在排学校课程表时,你通过考虑科目、教师和教室来分解任务;寻找像重复课程这样的模式;忽略颜色偏好等抽象;并创建一个算法来安排课时而不冲突。这些技能不仅限于计算领域——它们帮助你在日常生活中进行逻辑思考。


2. Algorithms & Flowcharts | 算法与流程图

An algorithm is a precise set of instructions designed to solve a problem or perform a task. To visualise algorithms, we often use flowcharts composed of standard symbols: an oval for start/end, a parallelogram for input/output, a rectangle for processes, and a diamond for decisions. For instance, an algorithm to check if a number is even can be drawn with a flowchart: input the number, divide it by 2, and if the remainder is zero, output 'even'; otherwise output 'odd'. Writing algorithms in pseudocode — plain English with structural keywords like IF, ELSE, WHILE — helps you plan before coding. Practice drawing flowcharts for simple daily routines, like making a cup of tea, to master logical sequencing.

算法是为解决问题或执行任务而设计的一组精确指令。为了可视化算法,我们通常使用由标准符号组成的流程图:椭圆形表示开始/结束,平行四边形表示输入/输出,矩形表示处理过程,菱形表示判断。例如,检查一个数是否为偶数的算法可以画成流程图:输入数字,除以2,如果余数为零,输出“偶数”;否则输出“奇数”。用伪代码编写算法——使用像 IF、ELSE、WHILE 这样结构化关键词的普通英语——有助于在编程前进行规划。练习为简单的日常流程(如泡茶)绘制流程图,以掌握逻辑顺序。


3. Python Programming Basics | Python 编程基础

In Year 9, you will extend your Python skills, so it is essential to review the basics. Python uses print() to display output, input() to receive typed data, and comments starting with # to explain code. An example of a simple program:

# Ask the user for their name
name = input('What is your name? ')
print('Hello, ' + name + '!')

Remember that everything typed via input() is treated as a string initially; you must convert it to integer or float if you need to perform calculations. Python is case-sensitive, so variable names like score and Score are different. Also, neat indentation is not just for readability — in Python it defines code blocks. Start practising short scripts daily to get comfortable with the syntax.

在九年级,你将扩展 Python 技能,因此复习基础知识至关重要。Python 使用 print() 显示输出,input() 接收键入的数据,并以 # 开头的注释来解释代码。一个简单程序示例如下:

# 询问用户姓名
name = input('你叫什么名字?')
print('Hello, ' + name + '!')

请记住,通过 input() 输入的所有内容最初都被视为字符串;如果需要进行计算,必须将其转换为整数或浮点数。Python 区分大小写,因此 score 和 Score 等变量名是不同的。此外,整齐的缩进不仅是为了可读性——在 Python 中它定义了代码块。每天开始练习简短的脚本,以便熟悉语法。


4. Variables, Data Types & Casting | 变量、数据类型与类型转换

Variables are storage locations that hold data values. The main data types you encounter are int (whole numbers), float (decimal numbers), str (text), and bool (True/False). Python automatically identifies the type when you assign a value, but explicit conversion (casting) is needed when combining types or reading input. For example, age = int(input('Enter your age: ')) converts the string input to an integer. The table below summarises common casting functions:

FunctionPurposeExample
int()Converts to integerint('15') → 15
float()Converts to floating-point numberfloat('3.14') → 3.14
str()Converts to stringstr(100) → '100'

Variable naming should be meaningful: use student_name instead of sn. This summer, try writing a program that takes two numbers as input, casts them, and prints the sum and product. Experiment with the type() function to check data types of your variables.

变量是保存数据值的存储位置。你遇到的主要数据类型有 int(整数)、float(小数)、str(文本)和 bool(True/False)。Python 在赋值时会自动识别类型,但在组合类型或读取输入时需要显式转换(类型转换)。例如,age = int(input('输入你的年龄:')) 将字符串输入转换为整数。下表总结了常见的类型转换函数:

函数作用示例
int()转换为整数int('15') → 15
float()转换为浮点数float('3.14') → 3.14
str()转换为字符串str(100) → '100'

变量命名应有意义:使用 student_name 而不是 sn。这个暑假,尝试编写一个程序:输入两个数字,进行类型转换,然后输出它们的和与积。利用 type() 函数检查变量的数据类型。


5. Selection: if, elif, else | 选择结构:if、elif、else

Selection statements allow your program to make decisions. The basic structure is:

if condition:
    # do something
elif another_condition:
    # do something else
else:
    # otherwise do this

Conditions can include comparisons like >, <, ==, !=, &gt;=, &lt;= and logical operators and, or, not. For example, a program that assigns a grade based on a mark:

mark = int(input('Enter mark: '))
if mark &gt;= 80:
    grade = 'A'
elif mark &gt;= 70:
    grade = 'B'
elif mark &gt;= 60:
    grade = 'C'
else:
    grade = 'Fail'

Always think about the order of conditions to avoid logical errors. Test your programs with boundary values, such as 80, 79, 70, 69, to ensure all paths work correctly.

选择语句允许你的程序做出决策。基本结构如下:

if 条件:
    # 执行某些操作
elif 另一个条件:
    # 执行其他操作
else:
    # 否则执行此操作

条件可以包括比较运算,如 >、<、==、!=、&gt;=、&lt;= 以及逻辑运算符 and、or、not。例如,一个根据分数评定等级的程序:

mark = int(input('输入分数:'))
if mark >= 80:
    grade = 'A'
elif mark >= 70:
    grade = 'B'
elif mark >= 60:
    grade = 'C'
else:
    grade = '不及格'

要始终考虑条件的顺序以避免逻辑错误。用边界值测试程序,如 80、79、70、69,确保所有路径都能正确工作。


广告 / Sponsored

6. Iteration: for and while Loops | 迭代:for 与 while 循环

Loops let you repeat a block of code multiple times. A for loop is ideal when you know how many iterations are needed, especially with the range() function. For instance, printing the five times table up to 12:

for i in range(1, 13):
    print(i, '× 5 =', i*5)

Here range(1,13) generates numbers 1 through 12. A while loop repeats as long as a condition is true. Use it when the number of repetitions is unknown in advance, for example, summing numbers until a negative number is entered:

total = 0
num = int(input('Enter a number (negative to stop): '))
while num &gt;= 0:
    total = total + num
    num = int(input('Enter next number: '))
print('Total:', total)

Be careful with while loops: always ensure the condition eventually becomes false, otherwise you create an infinite loop. Indentation is crucial; lines inside the loop must be uniformly indented.

循环让你能够多次重复执行一段代码。for 循环在你知道需要多少次迭代时非常理想,特别是结合 range() 函数使用时。例如,输出 5 的乘法表直到 12:

for i in range(1, 13):
    print(i, '× 5 =', i*5)

这里 range(1,13) 生成数字 1 到 12。while 循环只要条件为真就会重复执行。当重复次数事先未知时使用它,例如,不断输入数字求和直到输入负数:

total = 0
num = int(input('输入一个数字(输入负数停止):'))
while num >= 0:
    total = total + num
    num = int(input('输入下一个数字:'))
print('总和:', total)

小心 while 循环:始终确保条件最终变为假,否则你会创建无限循环。缩进至关重要;循环内部的代码行必须统一缩进。


7. Lists in Python | Python 中的列表

A list is an ordered collection of items that can hold different data types. You create a list using square brackets, e.g., scores = [85, 90, 78, 92]. You can access elements by index (starting from 0): scores[0] gives 85. Common list methods include append() to add an item, remove() to delete a specific item, and len() to get the length. For example:

fruits = ['apple', 'banana']
fruits.append('orange')
print(fruits)  # ['apple', 'banana', 'orange']
print(len(fruits))  # 3

You can iterate through a list with a for loop: for fruit in fruits: print(fruit). Lists are mutable, meaning you can change their content. Try creating a list of your favourite books and writing code to search for a specific title using a keyword.

列表是一个有序的集合,可以容纳不同的数据类型。使用方括号创建列表,如 scores = [85, 90, 78, 92]。你可以通过索引(从 0 开始)访问元素:scores[0] 得到 85。常用的列表方法包括 append() 添加项目,remove() 删除特定项目,以及 len() 获取长度。例如:

fruits = ['apple', 'banana']
fruits.append('orange')
print(fruits)  # ['apple', 'banana', 'orange']
print(len(fruits))  # 3

你可以用 for 循环遍历列表:for fruit in fruits: print(fruit)。列表是可变的,意味着你可以更改其内容。尝试创建一个你最喜欢的书籍列表,并编写代码使用关键词搜索特定书名。


8. Binary & Data Representation | 二进制与数据表示

Computers store all data as binary digits (bits), 0 and 1. A group of 8 bits forms a byte. To convert a binary number to decimal, add the place values where a 1 appears. For example, 1011₂ has place values 8, 4, 2, 1, so:

1011₂ = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 8 + 0 + 2 + 1 = 11₁₀

Decimal to binary conversion uses repeated division by 2. The remainders read backwards give the binary digits. Numbers, text (using ASCII), and colours (RGB) all have binary representations. For instance, the capital letter 'A' has ASCII code 65, which in binary is 01000001. Understanding binary helps you grasp why file sizes are measured in bytes, kilobytes (KB), megabytes (MB), and so on. This summer, practise converting numbers between denary and binary for values up to 255.

计算机将所有数据存储为二进制数字(位),即 0 和 1。一组 8 位形成一个字节。要将二进制数转换为十进制,将出现 1 的位置值相加。例如,1011₂ 的位值是 8、4、2、1,因此:

1011₂ = 1×2³ + 0×2² + 1×2¹ + 1×2⁰ = 8 + 0 + 2 + 1 = 11₁₀

十进制转二进制使用重复除以 2 的方法。反向读取余数即得二进制数字。数字、文本(使用 ASCII)和颜色(RGB)都有二进制表示。例如,大写字母 'A' 的 ASCII 码是 65,二进制为 01000001。理解二进制有助于你明白为什么文件大小以字节、千字节(KB)、兆字节(MB)等为单位。这个暑假,练习在十进制和二进制之间转换不超过 255 的数字。


9. Inside a Computer: Hardware Essentials | 计算机内部:硬件基础

A computer system consists of hardware and software working together. Key hardware components include the Central Processing Unit (CPU), which executes instructions; Random Access Memory (RAM), which temporarily stores active data and programs; and storage devices like Hard Disk Drives (HDD) or Solid State Drives (SSD) for long-term data retention. The motherboard connects all these parts. Input devices (keyboard, mouse) feed data in, while output devices (monitor, printer) present results. You will learn about the fetch-decode-execute cycle of the CPU and the role of the clock speed. A good preparatory activity is to open a desktop computer case (with adult supervision) and identify the components, or use an online simulator to build a virtual PC.

计算机系统由协同工作的硬件和软件组成。关键硬件组件包括:中央处理单元(CPU),执行指令;随机存取存储器(RAM),临时存储活动数据和程序;以及硬盘驱动器(HDD)或固态驱动器(SSD)等存储设备,用于长期保存数据。主板连接所有这些部件。输入设备(键盘、鼠标)送入数据,而输出设备(显示器、打印机)呈现结果。你将学习 CPU 的取指-解码-执行周期和时钟速度的作用。一项不错的预备活动是(在成人监督下)打开台式机机箱并识别组件,或使用在线模拟器组装一台虚拟电脑。


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

A network is a group of connected devices that can share resources. The Internet is the world's largest wide area network (WAN), connecting millions of smaller local area networks (LANs). Key networking concepts include IP addresses (unique identifiers for devices), routers (which direct data packets), and protocols like TCP/IP and HTTP. When you load a webpage, your browser sends an HTTP request to the server, and the server returns the webpage files. The Domain Name System (DNS) translates human-friendly addresses like www.example.com into IP addresses. Year 9 will also touch upon cloud computing and client-server models. To prepare, investigate your home network: find your IP address, ping a website, and learn what an ISP does.

网络是一组可共享资源的连接设备。互联网是世界上最大的广域网(WAN),连接着数百万个较小的局域网(LAN)。关键的连网概念包括 IP 地址(设备的唯一标识符)、路由器(指导数据包传输)以及 TCP/IP 和 HTTP 等协议。当你加载网页时,浏览器向服务器发送 HTTP 请求,服务器返回网页文件。域名系统(DNS)将人类友好的地址(如 www.example.com)转换为 IP 地址。九年级还会涉及云计算和客户-服务器模型。为做好准备,可以探索你的家庭网络:找到你的 IP 地址,对网站执行 ping 操作,并了解互联网服务提供商(ISP)的作用。


11. Cyber Security & Safe Practice | 网络安全与安全实践

As your digital world expands, understanding cyber threats is crucial. Malware (viruses, worms, ransomware) can damage files or lock your device; phishing scams trick you into revealing personal information; and brute-force attacks attempt to guess passwords. Protect yourself by using strong, unique passwords, enabling two-factor authentication (2FA), and keeping software updated. Always think before clicking on unknown links or downloading attachments. Social engineering relies on manipulating people rather than breaking code, so stay alert. In Year 9, you will explore encryption as a defence mechanism. A useful exercise is to create a password strength checker program in Python that evaluates length, uppercase letters, digits, and symbols.

随着数字世界的扩展,理解网络威胁至关重要。恶意软件(病毒、蠕虫、勒索软件)可能会损坏文件或锁定你的设备;网络钓鱼诈骗诱骗你泄露个人信息;暴力攻击试图猜测密码。通过使用强大且唯一的密码、启用双重认证(2FA)以及保持软件更新来保护自己。始终在点击未知链接或下载附件之前三思。社交工程依赖操控人群而非破解代码,因此要保持警惕。在九年级,你将探索作为防御机制的加密技术。一个有用的练习是用 Python 创建一个密码强度检查器程序,评估长度、大写字母、数字和符号。


12. Putting It All Together: Mini-Project | 综合应用:迷你项目

To solidify your summer learning, tackle a mini-project that combines algorithms, programming, and data representation. For example, create a quiz game that stores questions and answers in a list, uses loops to display them one by one, employs selection to check answers, and keeps score. You could then add a leaderboard that saves scores to a text file. Alternatively, write a program that converts a user-entered decimal number into binary and then back to decimal to verify correctness. Document your steps using comments and draw a flowchart of the logic. This hands-on practice will give you a huge head start when you begin Year 9 Edexcel Computer Science and will strengthen your problem-solving muscles. Remember, regular practice, experimentation, and curiosity are your best tools.

为了巩固暑假所学,挑战一个将算法、编程和数据表示结合起来的迷你项目。例如,创建一个问答游戏,将问题和答案存储在列表中,用循环逐个显示问题,用选择结构检查答案,并记录分数。然后你可以添加一个排行榜,将分数保存到文本文件。或者,编写一个程序,将用户输入的十进制数转换为二进制,再转换回十进制以验证正确性。用注释记录步骤,并画出逻辑流程图。这种动手实践将使你在开始九年级 Edexcel 计算机科学时取得巨大领先优势,并增强你的问题解决能力。记住,定期练习、实验和好奇心是你最好的工具。


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

广告 / Sponsored
培生爱德思计算机科学学生用书教材Pearson Edexcel International GCSE Computer…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥349.0

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

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