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

We Must Have It? So What Is It? | 我们必须拥有它?那它究竟是什么?

2026-08-03 04:41 · 本文部分内容由AI辅助创作

📚 We Must Have It? So What Is It? | 我们必须拥有它?那它究竟是什么?

In every IB Computer Science classroom, at some point, a student will frown and ask, "We keep hearing that we must have it. But so what is it really?" The "it" might be whispered during a lesson on algorithms, shouted across a hackathon, or scribbled in the margin of a textbook. It is not a single gadget or programming language. It is a way of thinking – a mental toolkit that separates a casual user of technology from a true computer scientist. This article unpacks that elusive "it": computational thinking.

在每一间IB计算机科学教室里,总有学生会皱起眉头问:“我们总说必须拥有它,那它究竟是什么?”这个“它”或许是在算法课上被低声提起,或许是在黑客马拉松上被大声喊出,又或许是在课本边缘潦草写下。它不是某件具体的设备或编程语言,而是一种思维方式——一个将普通科技用户与真正的计算机科学家区分开来的心智工具箱。本文将为你拆解这个神秘的“它”:计算思维。


1. The "It" in Computer Science | 计算机科学中的那个“它”

When educators insist that "we must have it", they are not referring to the latest laptop or a subscription to a cloud service. The "it" is computational thinking. Coined and popularised by Jeanette Wing, computational thinking describes the thought processes involved in formulating a problem and expressing its solution in a way that a computer – human or machine – can effectively carry out. It transcends coding: it is about understanding problems and designing solutions logically.

当教育者强调“我们必须拥有它”时,他们指的并不是最新款的笔记本电脑或某个云服务订阅。“它”就是计算思维。这个概念由Jeannette Wing提出并推广,它描述了在提出问题、并以计算机(无论是人还是机器)能够有效执行的方式表达解决方案时所涉及的思维过程。它超越了编码本身:关键在于理解问题并合乎逻辑地设计解决方案。


2. Defining Computational Thinking | 定义计算思维

Computational thinking is often broken down into four cornerstone techniques: decomposition, pattern recognition, abstraction, and algorithm design. A fifth skill, evaluation, frequently accompanies these. It is not a rigid checklist but a fluid, iterative process. A student solving a maths puzzle, a biologist modelling population growth, or a musician composing a generative piece can all be applying computational thinking without writing a single line of code.

计算思维通常被分解为四项基石技术:分解、模式识别、抽象和算法设计。第五项技能——评估,也经常与之相伴。这并非一份僵硬的清单,而是一个流动、迭代的过程。一个正在解数学谜题的学生、一个为种群增长建模的生物学家,或一个创作生成式音乐的音乐家,都可以在不写一行代码的情况下运用计算思维。


3. Decomposition: Breaking It Down | 分解:化整为零

Decomposition is the art of slicing a complex problem into smaller, manageable parts. If you are asked to plan a school talent show, you might split the task into venue, performers, marketing, and tickets. Each smaller problem becomes easier to solve, and you can assign different team members to tackle them concurrently. In programming, a developer decomposes a large application into modules, classes, and functions.

分解是将复杂问题切割成更小、更易管理的部分的艺术。假如让你策划一场学校达人秀,你可能会将任务拆分为场地、表演者、宣传和票务。每个较小的问题都更容易解决,而且你可以分派不同团队成员同时处理它们。在编程中,开发者将大型应用程序分解为模块、类和函数。


4. Pattern Recognition: Finding Similarities | 模式识别:寻找相似

Pattern recognition involves spotting recurring themes, similarities, or trends among sub-problems. After decomposing the talent show, you notice that booking a venue and arranging performers both require checking availability calendars. This shared sub-problem means you can reuse the same calendar-checking logic rather than inventing two separate procedures. In data science, pattern recognition enables anomaly detection, clustering, and forecasting.

模式识别涉及在子问题中发现反复出现的主题、相似性或趋势。在分解达人秀任务后,你注意到预订场地和安排表演者都需要查看档期日历。这个共通的子问题意味着你可以重用相同的日历检查逻辑,而不是发明两套独立的流程。在数据科学中,模式识别使异常检测、聚类和预测成为可能。


5. Abstraction: Focusing on Essentials | 抽象:聚焦本质

Abstraction is the process of filtering out unnecessary details to concentrate on the core features that define an object or situation. When designing a school timetable, you reduce a real classroom to a capacity number and a set of available slots, ignoring paint colour and chair fabric. In object-oriented programming, a class abstracts away the internal complexity of a data structure, exposing only relevant attributes and methods. A map is an abstraction of a territory; it leaves out irrelevant trees and lampposts but keeps the roads.

抽象是过滤掉不必要的细节,专注于定义对象或情境的核心特征的过程。在设计学校课程表时,你将一间真实的教室简化为一个容量数字和一组可用时间段,而忽略墙壁颜色和椅子布料。在面向对象编程中,类将数据结构的内部复杂性抽象化,只暴露相关的属性和方法。地图是领土的抽象;它舍去了无关的树木和灯柱,但保留了道路。


6. Algorithm Design: Step-by-Step Solutions | 算法设计:逐步求解

An algorithm is a precise sequence of instructions to solve a problem or perform a task. Designing an algorithm requires sequential, conditional, and iterative logic. For the talent show ticket sales, an algorithm might state: while the show is not sold out, display available seats, accept a booking, reduce available seats by the number booked, and repeat. Algorithms can be expressed in pseudocode, flowcharts, or programming languages such as Java or Python.

算法是一系列用于解决问题或执行任务的精确指令序列。设计算法需要顺序、条件和迭代逻辑。对于达人秀门票销售,算法可以表述为:当演出尚未售罄时,显示可用座位,接受预订,将可用座位数减去预订数量,并重复。算法可以用伪代码、流程图或 Java、Python 等编程语言来表达。


广告 / Sponsored

7. Evaluation: Is It Correct and Efficient? | 评估:正确且高效吗?

Evaluation is the critical, reflective step that asks: does our solution actually work, is it efficient, and could it be improved? We might analyse an algorithm's time complexity – such as O(n) vs O(n²) – to predict how it scales. We also test with boundary cases: what if zero tickets are sold, or the hall capacity is one? A beautiful abstraction is worthless if the solution is incorrect; evaluation ensures reliability.

评估是关键且反思性的一步,它问的是:我们的解决方案真的有效吗?高效吗?还能改进吗?我们可能会分析算法的时间复杂度——例如 O(n) 对比 O(n²)——来预测它的增长规模。我们还会用边界情况进行测试:如果一张票也没卖出,或者礼堂只能容纳一人,会发生什么?如果解决方案不正确,再漂亮的抽象也毫无价值;评估确保了可靠性。


8. Why We Must Have It | 为何我们必须拥有它

Computational thinking empowers students to move from being passive consumers of technology to active problem solvers. In an IB context, it underpins not only Topic 4 (Computational Thinking and Programming) but also the Internal Assessment, where students design and develop a real software product for a client. Beyond the exam, employers in finance, medicine, engineering, and design seek graduates who can decompose messy real-world problems and automate solutions.

计算思维让学生从被动的技术消费者转变为主动的问题解决者。在IB情境中,它不仅支撑着专题4(计算思维与编程),还支撑着内部评估——学生需要为客户设计和开发真实的软件产品。考试之外,金融、医学、工程和设计领域的雇主都在寻找那些能够分解混乱的现实问题并实现自动化解决方案的毕业生。


9. Computational Thinking Across the IB | 计算思维贯穿IB课程

The IB Computer Science syllabus weaves computational thinking through its core. In Topic 2 (Computer Organisation), abstraction appears when we model a CPU as a fetch-decode-execute cycle, ignoring transistor-level physics. In Topic 3 (Networks), the OSI model is a hierarchy of abstractions. The IA requires students to document decomposition, pattern identification, abstraction, and algorithm design in their criterion C and D. Mastery of computational thinking is the single clearest predictor of high marks in IB CS.

IB计算机科学大纲将计算思维贯穿于核心内容。在专题2(计算机组成)中,当我们用“取指-译码-执行”循环来对CPU建模、而忽略晶体管层面的物理现象时,就用到了抽象。在专题3(网络)中,OSI模型就是一个抽象层次结构。内部评估要求学生在其C标准和D标准中记录分解、模式识别、抽象和算法设计。对计算思维的掌握,是预测IB计算机科学高分的最明确指标。


10. Practical Example: Sorting a List | 实例:列表排序

Imagine you are given a shuffled deck of 52 cards and asked to sort them by suit and rank. Decomposition: you separate the task into sorting by suit first, then within each suit by rank. Pattern recognition: you notice that you are repeatedly comparing two cards and making a decision, much like any comparison-based sorting algorithm. Abstraction: you treat a card as a pair of values (suit, rank), ignoring the card's design. Algorithm design: you choose insertion sort because you can hold a sorted hand and insert each new card into the correct position. Evaluation: insertion sort on a small, almost-sorted set like a nearly arranged hand is intuitive and fast enough, even if its average complexity is O(n²).

假设有人给你一副洗乱的52张扑克牌,要求你按花色和点数排序。分解:你将任务先按花色分开,再在每个花色内按点数排序。模式识别:你注意到你正在反复比较两张牌并做出决策,这非常类似于任何基于比较的排序算法。抽象:你将每张牌视为一对值(花色,点数),忽略牌面的设计。算法设计:你选用插入排序法,因为你可以手持已排好的牌,并将每张新牌插入到正确位置。评估:在一小组几乎已排好序的牌中,插入排序直观且足够快,即使其平均时间复杂度为O(n²)。


11. Common Misconceptions | 常见误解

One myth is that computational thinking equals programming. Not true: you can think computationally while cooking (following a recipe is an algorithm) or organising a party. Another misunderstanding is that abstraction means ignoring everything important; rather, it means selecting the right details for the level at which you are working. A final trap is believing that evaluation only happens at the end; mature computational thinkers reflect and adjust throughout the process, not unlike debugging while you code.

一个常见的迷思是认为计算思维等同于编程。并非如此:你在烹饪(遵循食谱就是执行算法)或组织聚会时,都可以进行计算思维。另一个误解是认为抽象意味着忽略所有重要的东西;实际上,它意味着为你所在的工作层次选择恰当的信息。最后的一个陷阱是相信评估只发生在最后;成熟的计算思维者在整个过程中都会反思和调整,就像编写代码时需要同步调试一样。


12. Conclusion: Embracing the Mindset | 结语:拥抱这种思维方式

So, what is the "it" we must have? It is the habit of seeing problems through the lens of decomposition, patterns, abstraction, and algorithmic solutions – and critically checking the outcome. It is not a fixed body of knowledge that you memorise, but a fluid, creative, and rigorous way of thinking. Once you adopt this mindset, you stop asking "Can the computer do this?" and start asking "How can I make the computer do this?" That shift is the heart of IB Computer Science.

所以,那个我们必须拥有的“它”究竟是什么?它是一种透过分解、模式、抽象和算法解决方案来看待问题,并批判性地审视结果的思维习惯。它并非需要死记硬背的固定知识体系,而是一种流动、富有创造性且严谨的思维方式。一旦你拥抱这种思维,你就不会再问“计算机能做这个吗?”,而是开始问“我怎样让计算机做这个?”。这一转变,正是IB计算机科学的精髓所在。


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

广告 / Sponsored
IBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥524.0

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

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