CSCA Chinese · STEM Chinese 理科中文 · Section 7 of 8
计算机术语 Computing Vocabulary
Why Computing Gets Its Own List
Computing Chinese is young and systematic: most terms are everyday characters given a fixed technical meaning — 循环 (cycle → loop), 栈 (inn → stack), 遍历 (all over + pass through → traversal). Test sentences read like textbook definitions, so learn each term with its definition clue and its partner term.
Machine and Data
| Term | Meaning | Clue |
|---|---|---|
| 中央处理器(CPU) | central processor | 执行指令 |
| 内存 / 外存 | memory / storage | 运行时数据在内存中 |
| 操作系统 | operating system | 管理硬件和软件资源 |
| 二进制 | binary | 只用 0 和 1 |
| 位(比特)/ 字节 | bit / byte | 1 字节 = 8 位 |
Writing and Running Code
| Term | Meaning | Clue |
|---|---|---|
| 源程序 / 目标程序 | source / object program | written by people / produced by translation |
| 编译 / 编译器 | compile / compiler | 整个源程序一次性翻译 |
| 解释 / 解释器 | interpret / interpreter | 逐行翻译、逐行执行 |
| 链接 | link | 把目标程序组合成可执行程序 |
| 调试 / 断点 | debug / breakpoint | 查找并改正错误 / 程序运行到此暂停 |
| 语法错误 / 逻辑错误 / 运行时错误 | syntax / logic / runtime error | 不能编译 / 结果不对 / 运行中出错 |
Inside a Program
变量 (its value can change) versus 常量; 赋值 (assignment: in x = x + 1 the "=" stores a value, it does not mean 等于); 初始化 (giving a variable its first value). 条件语句 (if) chooses a branch; 循环语句 (for, while) repeats the 循环体 while the 循环条件 holds, and if it never fails the program falls into a 死循环. A 函数 receives 参数 and gives back a 返回值: running it is 调用 (diàoyòng) and handing the result back is 返回 — never 回复, which is replying to a message. A function that calls itself is 递归 and needs a 终止条件; repeating with a loop is 迭代, and a loop inside a loop is 嵌套. Making an algorithm faster or leaner is 优化. An 数组 stores elements of one type in order; a[0] is the first 元素, and any element can be 访问 directly through its 下标.
Data Structures and Algorithms
An 算法 is a finite sequence of well-defined steps; a 程序 is an algorithm written in a programming language (程序 = 算法 + 数据结构). 数据结构 studies how data elements are related, stored and operated on:
- 栈 — 后进先出 (last in, first out), insert and delete at one end only
- 队列 — 先进先出 (first in, first out): in at the 队尾, out at the 队头
- 链表 — the 结点 need not be stored together; each holds a 指针 to the next, so insertion and deletion move nothing
- 二叉树 — one 根结点, at most two 子结点 per node; visiting every node once is 遍历
- 顺序查找 O(n) works on any array; 二分查找 O(log n) needs a sorted (有序) array
时间复杂度 describes how running time grows with the problem size n; 空间复杂度 does the same for memory.
Systems, Databases and Networks
A running program is a 进程; one process can contain several 线程 that share its memory. A 数据库 is a long-term, organised, shareable collection of data handled with SQL — 查询 (query), 插入, 修改, 删除 — and good design avoids 冗余. A 网络协议 such as TCP/IP is the set of rules both sides must follow; 带宽 is how much data can be sent per second.
Pairs That Are Easy to Confuse
| Pair | How to tell them apart |
|---|---|
| 编译 / 解释 / 编辑 | translate all at once / line by line / edit the text |
| 调试 / 调用 | tiáoshì, fix errors / diàoyòng, run a function |
| 执行 / 实行 | a CPU 执行 instructions; a government 实行 a policy |
| 遍历 / 遍布 | traverse a structure / be spread everywhere |
| 断点 / 结点(节点)/ 端点 | breakpoint, where a debugger pauses / node of a list, tree or network / endpoint of a segment |
| 算法 / 程序 | the method / the method written as code |
| 数据结构 / 数据库 | how data is organised / a stored collection you query |
Key takeaway: Learn each computing term with its definition clue and its partner — 编译/解释, 调试/调用, 栈/队列, 数组/链表, 进程/线程, 递归/迭代 — because textbook-style sentences are built so that only one member of the pair fits the clue.
Key Formulas
- 1 字节(Byte)= 8 位(bit)
- 增长速度:O(1) < O(log n) < O(n) < O(n log n) < O(n²) < O(2ⁿ)
- n 扩大为原来的 k 倍:O(n) → 时间约 ×k;O(n²) → 约 ×k²;O(log n) → 只增加约 log₂k 步
- 二分查找 n 个有序元素,最多比较约 log₂n 次(n = 1 000 000 时约 20 次)
Worked Example 1
Example 1 (选词填空): 把高级语言源程序逐行翻译并立即执行的程序叫做___。(编译器 / 解释器 / 编辑器 / 链接器)
Step 1: Find the clue: 逐行翻译并立即执行 (translate line by line and run at once).
Step 2: 编译器 translates the whole program first, 编辑器 is for typing code, 链接器 joins object files.
Answer: 解释器 (interpreter).
Worked Example 2
Example 2 (辨析词语): 下列句子中"调用"使用不恰当的是:A. 主函数调用了排序函数。B. 程序员花了两个小时调用程序,终于找到了错误。
Step 1: 调用 (diàoyòng) means one part of a program running another part.
Step 2: Finding and fixing errors is 调试 (tiáoshì) — same first character, different word.
Answer: B, which should read 调试程序.
Worked Example 3
Example 3 (复杂度): 某算法的时间复杂度为 O(n),另一算法为 O(n²)。当 n 扩大为原来的 5 倍时,两者的运行时间分别大约变为原来的多少倍?
Step 1: O(n): time grows like n, so ×5.
Step 2: O(n²): time grows like n², so ×5² = ×25.
Answer: 5 倍和 25 倍. 扩大为 gives the new size, 5n, not the amount added.
Exam Tips
Hunt for the definition clue: 重复执行 → 循环, 后进先出 → 栈, 先进先出 → 队列, 调用自身 → 递归, 逐行翻译 → 解释, 整个源程序一次性翻译 → 编译.
When the options share a character (调试/调用/调整, 断点/结点/端点), decide by the other character and by the collocation in the sentence.
Read the contrast clause: sentences often define one term and name its partner next to it (……;而……则……), which eliminates the partner.
Common Mistakes
Reading = as 等于: in code, = is 赋值 (assignment); comparison uses ==.
Confusing 结点 and 断点: 结点 is a node in a list or tree; 断点 is where the debugger pauses the program.
Treating 程序 and 算法 as the same: the algorithm is the method; the program is that method written in a programming language.
Try This Yourself
选词填空:数据只能从一端进入、从另一端离开,最先进入的数据最先离开,这种数据结构叫做___。(栈 / 队列 / 数组 / 链表)
Show the answer
队列 (queue): 先进先出. A 栈 is the opposite, 后进先出, with both operations at the same end.