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

Computer Hardware: Components and Functions | 计算机硬件:组成与功能

2026-08-30 15:22 · 本文部分内容由AI辅助创作

📚 Computer Hardware: Components and Functions | 计算机硬件:组成与功能

This article provides a comprehensive review of the hardware components that make up a computer system and how they function together. It is specifically aligned with the CIE IGCSE Computer Science (0478) syllabus, covering the CPU, main memory, storage, input/output devices, buses, and embedded systems — each with the level of detail expected in the Cambridge examinations.

本文系统梳理构成计算机系统的硬件组件及其协同工作原理,内容严格对应 CIE IGCSE 计算机科学(0478)考纲,涵盖 CPU、主存储器、存储设备、输入/输出设备、总线及嵌入式系统,深度与广度完全匹配剑桥考试要求。


1. The Central Processing Unit (CPU) | 中央处理器(CPU)

The CPU is often described as the 'brain' of the computer. Its primary function is to execute instructions stored in memory by performing calculations, making logical decisions, and controlling the timing of all system operations. Every instruction, whether from a game, a spreadsheet, or an operating system, must eventually pass through the CPU for execution.

CPU 常被比作计算机的“大脑”。其核心功能是从存储器中取出指令并执行:完成算术运算、做出逻辑判断,并控制整个系统操作的时序。无论是游戏、电子表格还是操作系统发出的每一条指令,最终都必须由 CPU 来执行。

The CPU consists of three key internal components. The Arithmetic Logic Unit (ALU) carries out all mathematical operations such as addition, subtraction, multiplication, and division, as well as logical comparisons such as AND, OR, and NOT. The Control Unit (CU) coordinates all activities by fetching instructions from memory, decoding them, and generating control signals that direct other components. The Registers are small, extremely fast storage locations inside the CPU that temporarily hold data being processed.

CPU 内部由三个关键组件构成。算术逻辑单元(ALU)负责执行所有数学运算(如加、减、乘、除)和逻辑比较(如 AND、OR、NOT)。控制单元(CU)负责从存储器取出指令、翻译指令并产生控制信号,从而协调各部件工作。寄存器是 CPU 内部容量极小但速度极快的临时存储区域,用于存放正在处理的数据。


2. The Fetch–Decode–Execute Cycle | 取指—译码—执行周期

The Fetch–Decode–Execute cycle is the fundamental operation sequence performed by the CPU to process every single instruction. In the fetch stage, the address of the next instruction is copied from the Program Counter (PC) into the Memory Address Register (MAR), the instruction is retrieved from RAM and placed into the Memory Data Register (MDR), and the PC is incremented to point to the next instruction. In the decode stage, the Control Unit interprets the instruction in the Current Instruction Register (CIR). In the execute stage, the ALU performs the required operation, and any results are written back either into the Accumulator (ACC) or to main memory.

取指—译码—执行周期是 CPU 处理每一条指令所执行的基本操作序列。取指阶段:程序计数器(PC)中的下一条指令地址被复制到存储器地址寄存器(MAR),指令从 RAM 中取出并放入存储器数据寄存器(MDR),PC 同时加一指向下一条指令。译码阶段:控制单元解读当前指令寄存器(CIR)中的指令含义。执行阶段:ALU 完成所需运算,结果写入累加器(ACC)或主存储器。

Fetch → Decode → Execute → Repeat

This continuous cycle runs billions of times per second on modern processors. Understanding the role of each register involved in this cycle — PC, MAR, MDR, CIR, and ACC — is a frequent examination topic in IGCSE paper 1 questions.

这一循环在现代处理器上每秒重复数十亿次。掌握每个寄存器在周期中的角色——PC、MAR、MDR、CIR、ACC——是 IGCSE 卷一考试的高频考点。


3. Main Memory: RAM and ROM | 主存储器:RAM 与 ROM

Random Access Memory (RAM) is the main working memory of the computer. It is volatile, meaning that all data and programs stored in RAM are lost the moment the power is switched off. RAM temporarily holds the operating system, application programs, and data that are currently in use, allowing the CPU to access them rapidly. Because the CPU only executes instructions that are stored in memory, any program must be loaded from storage into RAM before it can run.

随机存取存储器(RAM)是计算机的主工作内存。它具有易失性——一旦断电,RAM 中存储的数据和程序将全部丢失。RAM 临时存放正在使用的操作系统、应用程序和数据,使 CPU 能够快速访问它们。由于 CPU 只能执行存储在内存中的指令,任何程序必须先由存储设备载入 RAM 才能运行。

Read Only Memory (ROM), in contrast, is non-volatile: it retains its contents even when the power is off. ROM stores firmware — the permanent bootstrap routine (boot program) that runs when the computer is first switched on. This startup program performs a Power-On Self-Test (POST), initialises hardware, and then loads the operating system from disk into RAM. Flash memory, a modern type of ROM, can be electrically reprogrammed and is widely used in memory cards and BIOS chips.

与此相对,只读存储器(ROM)具有非易失性:即使断电,其内容也不会丢失。ROM 存放固件——即计算机首次开机时运行的永久引导程序。该启动程序执行加电自检(POST)、初始化硬件,然后将操作系统从磁盘加载到 RAM 中。闪存是现代 ROM 的一种形式,可通过电信号重新编程,广泛应用于存储卡和 BIOS 芯片。


4. Cache Memory and Virtual Memory | 高速缓存与虚拟内存

Cache memory is a small but exceptionally fast type of memory located between the CPU and main memory. It stores frequently used instructions and data so that the CPU does not need to wait each time for slower RAM access. Modern CPUs typically have two or three levels of cache: L1 (smallest and fastest, built inside each core), L2 (slightly larger), and L3 (shared among cores). A larger cache reduces the average access time and significantly improves computer performance.

高速缓存是位于 CPU 与主存储器之间的小容量但速度极快的存储器。它保存频繁使用的指令和数据,使 CPU 不必每次都等待较慢的 RAM 存取。现代 CPU 通常具有两到三级缓存:L1(容量最小但速度最快,内置于每个核心)、L2(容量稍大)、L3(由所有核心共享)。缓存容量越大,平均访问时间越短,整机性能提升越明显。

Virtual memory is a section of secondary storage used as an extension of RAM. When RAM is full, the operating system moves the least recently used pages of data from RAM to virtual memory (typically on a hard disk), freeing up space for new instructions. However, because disk access is far slower than RAM access, heavy reliance on virtual memory causes 'thrashing', where the system becomes noticeably slower.

虚拟内存是辅助存储器中用作 RAM 扩展的一部分空间。当 RAM 不足时,操作系统会将最久未使用的数据页从 RAM 移到虚拟内存(通常位于硬盘),从而为新的指令腾出空间。然而,由于磁盘存取速度远慢于 RAM,过度依赖虚拟内存会导致系统频繁换页(称“颠簸”),系统会明显变慢。


5. Storage Devices: Magnetic, Optical and Solid-State | 存储设备:磁、光与固态

Secondary storage is used to keep data and programs permanently, long after the computer is switched off. The IGCSE syllabus requires comparison of three main technologies. Magnetic storage — such as the Hard Disk Drive (HDD) — uses magnetised spots on spinning platters to represent binary 1s and 0s. HDDs offer very large capacity at low cost but have moving parts, making them slower and more fragile than solid-state alternatives.

辅助存储设备的用途是让数据和程序在关机后仍能永久保存。IGCSE 考纲要求学生比较三种主要技术。磁性存储器——如机械硬盘(HDD)——利用转动的盘片表面的磁化区域表示二进制 1 和 0。HDD 容量大、单位成本低,但由于存在机械运动部件,读写速度较慢且更易损坏。

Optical storage — CD, DVD, and Blu-ray discs — encodes data as pits and lands on a reflective surface, read by a laser beam. A pit reflects less light than a land, and the pattern of reflections is interpreted as binary data. Solid-state storage (SSD, memory cards, USB flash drives) uses NAND flash memory chips with no moving parts. Solid-state drives are faster, quieter, more durable, and consume less power than HDDs, though they are still more expensive per gigabyte.

光存储器——CD、DVD 和蓝光光盘——利用反光表面上的凹坑(pit)和平地(land)编码数据,由激光读取。凹坑反射的光少于平地,反射光模式的差异被解读为二进制数据。固态存储器(SSD、存储卡、U 盘)采用 NAND 闪存芯片,无机械部件。固态硬盘比 HDD 更快、更安静、更耐用且功耗更低,尽管每 GB 成本仍然较高。

TypeExampleAdvantagesDisadvantages
MagneticHDDHigh capacity, low costMoving parts, slower
OpticalDVD, Blu-rayPortable, cheap mediaLow capacity, slow write speed
Solid-stateSSD, USB flashFast, durable, quietCost per GB higher

6. Input Devices | 输入设备

Input devices are hardware components that allow data and instructions to be entered into a computer system. The IGCSE syllabus emphasises not only naming these devices but also selecting an appropriate device for a given real-world scenario. A keyboard is best for entering textual data such as names and addresses; a mouse allows a user to interact with a graphical user interface by moving a pointer; a microphone captures audio data for voice recognition or recording.

输入设备是允许将数据和指令输入计算机系统的硬件组件。IGCSE 考纲不仅要求说出设备名称,还要求在给定真实场景中选择合适的设备。键盘最适合输入文本数据(如姓名、地址);鼠标使用户通过移动指针与图形用户界面交互;麦克风捕捉音频数据,用于语音识别或录音。

Additional devices include the scanner, which converts paper documents into digital images using light and an optical sensor; the touchscreen, which combines input and output in a single display; and sensors — temperature, light, pressure, and proximity sensors — which enable computers to read physical conditions from the environment. Sensors are essential in computer-controlled systems such as automatic greenhouses, weather stations, and security alarms.

其他设备还包括:扫描仪利用光线和光学传感器将纸质文档转换成数字图像;触摸屏将输入和输出合并在一个显示屏上;以及传感器——温度、光线、压力、接近传感器——让计算机读取环境中的物理状态。传感器在自动温室、气象站、安防报警等计算机控制系统中至关重要。

Simulation Exam Tip: Justify your choice — e.g. "A barcode scanner is used at supermarket checkout because it reads data quickly and reduces human error."


广告 / Sponsored

7. Output Devices | 输出设备

Output devices present data from the computer to the user in a human-readable form. A monitor displays text, images, and video; modern LCD/LED screens are thin, energy-efficient, and offer high resolution. A printer produces hard copies on paper. The IGCSE course requires distinguishing between inkjet and laser printers: inkjet printers spray tiny droplets of liquid ink and are ideal for high-quality photo printing, whereas laser printers use static electricity and toner powder, giving faster printing speeds and lower cost per page for high-volume text documents.

输出设备将计算机中的数据以人类可读的形式呈现给用户。显示器显示文本、图像和视频;现代 LCD/LED 屏幕轻薄、节能且分辨率高。打印机在纸上产生硬拷贝。IGCSE 课程要求区分喷墨打印机和激光打印机:喷墨打印机喷射微小墨滴,适合高质量照片打印;激光打印机利用静电和碳粉,打印文字速度快、大批量打印时单页成本更低。

Loudspeakers convert digital audio signals into sound waves and are essential for multimedia systems. Actuators — such as motors and heaters — are output devices because they receive signals from the control unit and physically move parts in response, as seen in robotic arms and central heating systems. In control systems, sensors (input) communicate with actuators (output) via the computer, creating a feedback loop.

扬声器将数字音频信号转换为声波,是多媒体的必备输出设备。执行器(如马达、加热器)同样属于输出设备,因为它们接收控制单元的信号并产生物理动作,例如机械臂和中央供暖系统。在控制系统中,传感器(输入)通过计算机与执行器(输出)通信,构成反馈回路。


8. System Buses and I/O Controllers | 系统总线与 I/O 控制器

Inside a computer, components exchange data and instructions through electronic pathways called system buses. The IGCSE syllabus identifies three buses in the Von Neumann model. The address bus ch memory the CPU can access (e.g. a 32-bit address bus can address up to 2³² = 4 GB). The data bus carries the actual data between the CPU, memory, and input/output devices; a wider data bus transfers more bytes per cycle. The control bus carries timing and control signals, such as read/write commands, that synchronise all operations.

计算机内部各部件之间的数据和指令通过称为系统总线的电子通路传递。IGCSE 考纲在冯·诺依曼模型中识别三种总线。地址总线从 CPU 向存储器传送内存地址,其宽度决定 CPU 能访问的内存上限(例如 32 位地址总线最大寻址 2³² = 4 GB)。数据总线在 CPU、存储器和输入/输出设备之间传送实际数据;数据总线越宽,每个周期传输的字节就越多。控制总线传送读写命令等时序与控制信号,使所有操作同步进行。

I/O controllers are electronic circuits that bridge the CPU and peripherals. Each category of peripheral (keyboard, disk drive, screen) has its own controller, which converts the CPU's signals into a format that the device can understand and vice versa. This abstraction allows the CPU to communicate with very different devices using a standard interface, such as USB or SATA.

I/O 控制器是连接 CPU 与外设的电子电路。每类外设(键盘、磁盘驱动器、显示屏)都有各自的控制器,将 CPU 发出的信号转换为设备能理解的格式,反之亦然。这种抽象机制使 CPU 能够通过标准接口(如 USB 或 SATA)与不同类型的设备通信。


9. Embedded Systems | 嵌入式系统

An embedded system is a computer system built into another device to perform a specific dedicated function with minimal user intervention. Unlike a general-purpose PC, an embedded system is designed to do one job efficiently, often with strict constraints on power, size, and cost. Examples from the IGCSE specification include digital cameras, washing machines, microwave ovens, central heating controllers, and car engine management systems.

嵌入式系统是嵌入其他设备内部、专门执行特定功能的计算机系统,几乎不需要用户干预。与通用 PC 不同,嵌入式系统为高效完成单一任务而设计,通常在功耗、体积和成本上受到严格限制。IGCSE 考纲中的典型例子包括数码相机、洗衣机、微波炉、中央供暖控制器和汽车发动机管理系统。

Embedded systems consist of a processor, memory (typically ROM for firmware and RAM for working data), input interfaces for sensors or buttons, and output interfaces for actuators or displays. Because their software is normally fixed in ROM, embedded systems are highly reliable, respond in real time, and cannot be easily reprogrammed by the user. Comparing embedded systems with general-purpose computers — in terms of purpose, flexibility, interface, and cost — is a favourite 6-mark question.

嵌入式系统由处理器、存储器(通常 ROM 存放固件、RAM 存放运行数据)、传感器或按键的输入接口,以及执行器或显示器的输出接口组成。由于其软件通常固定保存在 ROM 中,嵌入式系统具有高度可靠性、实时响应,且用户不易改写程序。将嵌入式系统与通用计算机在用途、灵活性、接口和成本方面进行对比,是常见的 6 分大题。


10. Factors Affecting CPU Performance | 影响 CPU 性能的因素

The IGCSE syllabus identifies three main factors that determine how quickly a CPU can execute instructions. First, clock speed, measured in hertz (Hz), is the number of fetch–decode–execute cycles the CPU can perform per second. A rise in clock speed from 2.0 GHz to 3.0 GHz directly increases the number of instructions processed per second, though heat generation also increases. Second, cache size affects performance because a larger cache stores more frequently used instructions and data, reducing the number of slow RAM accesses the CPU must wait for.

IGCSE 考纲指出三个影响 CPU 执行指令速度的主要因素。其一,时钟频率,单位为赫兹(Hz),表示 CPU 每秒能完成多少个取指—译码—执行周期。时钟频率从 2.0 GHz 提升到 3.0 GHz 会直接增加每秒处理的指令数,但也会产生更多热量。其二,缓存容量影响性能,因为更大的缓存能保存更多高频使用的指令和数据,从而减少 CPU 等待慢速 RAM 存取的时间。

Third, the number of cores. A multi-core processor contains two or more independent processing units within a single chip. Each core can execute a separate instruction stream simultaneously, so a dual-core processor can outperform a single-core processor at the same clock speed — provided the software has been written to support parallel processing. An important exam nuance is that doubling the number of cores does not double performance, because some tasks cannot be split and because cores share resources such as the memory bus and L3 cache.

其三,核心数量。多核处理器在单个芯片内包含两个或更多独立处理单元。每个核心可同时执行不同的指令流,因此在相同时钟频率下,双核处理器比单核处理器性能更强——前提是软件支持并行处理。考试中一个重要细节是:核心数翻倍并不等于性能翻倍,因为有些任务无法拆分,而且各核心共享内存总线和 L3 缓存等资源。


11. Von Neumann vs. Harvard Architecture | 冯·诺依曼体系结构与哈佛体系结构

The Von Neumann architecture, used in most general-purpose computers, stores both data and program instructions in the same memory space and uses a single bus system for both. The advantage is simplicity and flexibility: memory can be repartitioned between programs and data as needed. The major drawback is the 'Von Neumann bottleneck' — because instructions and data share the same bus, the CPU can only fetch one of them at any instant, limiting throughput.

冯·诺依曼体系结构广泛应用于通用计算机,它将数据和程序指令存储在同一内存空间中,并通过同一套总线系统传输两者。其优点是简单灵活:内存可以按需在程序和数数据间重新分配。主要缺点是“冯·诺依曼瓶颈”——由于指令和数据共用同一条总线,CPU 在任何瞬间只能取其中一种,从而限制了吞吐量。

In the Harvard architecture, instructions and data have separate memory blocks and separate buses. This allows the CPU to fetch an instruction and read/write data simultaneously, improving speed. Harvard architecture is used in embedded systems and digital signal processors. IGCSE candidates should remember that the basic Von Neumann model remains the foundation of the desktop computer, while the Harvard model shines where speed and determinism are critical.

在哈佛体系结构中,指令和数据拥有独立的内存块和独立的总线。这使得 CPU 能够同时取指令和读写数据,从而提高速度。哈佛体系结构常用于嵌入式系统和数字信号处理器。IGCSE 考生应记住:冯·诺依曼模型仍是桌面计算机的基础,而哈佛模型则在速度和确定性至关重要的场景中占据优势。


12. Exam Strategy: Common Mistakes and How to Avoid Them | 应考策略:常见错误与规避方法

In CIE IGCSE Computer Science, hardware questions appear in every examination session, particularly on Paper 1. The most common student mistakes include confusing RAM and ROM (RAM is volatile, ROM is non-volatile; RAM holds running programs, ROM holds the boot program), mixing up the data bus and the address bus, and failing to justify the choice of an input or output device. Always begin a device-selection answer with 'A ... is used because ...' and connect the device's capability directly to the requirement of the scenario.

在 CIE IGCSE 计算机科学考试中,硬件题在每次考卷中都会出现,尤其是卷一。最常见的错误包括:混淆 RAM 与 ROM(RAM 易失、ROM 非易失;RAM 存放正在运行的程序,ROM 存放启动程序);搞混数据总线与地址总线的功能;以及选择输入/输出设备时忘记说明理由。设备选择题的作答应始终以“应使用……,因为……”开头,将设备的功能与场景需求直接挂钩。

Perfect the vocabulary too: 'volatile' and 'non-volatile', 'read-while-write', 'fetch–decode–execute', and 'embedded'. Use block diagrams in revision to show how the CPU, RAM, buses, and I/O controllers interconnect. When comparing HDD vs SSD or inkjet vs laser, always make at least two valid points of contrast in the same table or paragraph structure. With precise terminology and an organised structure, hardware questions become straightforward scoring opportunities.

同时要掌握准确术语:volatile(易失)与 non-volatile(非易失)、read-while-write(边读边写)、fetch–decode–execute(取指—译码—执行)、embedded(嵌入式)。复习时建议画框图展示 CPU、RAM、总线和 I/O 控制器之间的连接关系。当比较 HDD 与 SSD、喷墨与激光打印机时,务必在同一表格或段落结构中提出至少两个有效的对比点。只要术语精确、结构清晰,硬件题就是送分题。


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

广告 / Sponsored
现货 Cambridge International AS & ALevel IT Coursebook剑桥国际IGC…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥467.0

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

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