📚 Input and Output Devices: Principles & Classification | IGCSE计算机:输入输出设备原理与分类
In the IGCSE Computer Science syllabus (CIE 0478/0984), input and output devices are essential components of the computer system. Understanding how they work, how data is represented, and how they are classified allows students to analyse system performance and make appropriate device choices for real-world applications.
在 IGCSE 计算机科学课程(CIE 0478/0984)中,输入和输出设备是计算机系统的关键组成部分。理解其工作原理、数据表示方式以及分类方法,能帮助学生分析系统性能,并在真实应用场景中做出恰当的设备选择。
1. The Role of I/O Devices in a Computer System | 输入输出设备在计算机系统中的作用
Every computer system interacts with the outside world through input and output devices. Input devices convert user actions or physical phenomena into digital signals that the central processing unit (CPU) can process. Output devices perform the reverse: they convert binary data back into a human-perceptible form, such as text, images, sound, or physical motion.
每台计算机系统都通过输入和输出设备与外部世界交互。输入设备将用户操作或物理现象转换成 CPU 可以处理的数字信号;输出设备则执行相反的过程:将二进制数据转换回人类可感知的形式,如文本、图像、声音或物理运动。
Data transfer between I/O devices and the CPU is typically managed by the processor using dedicated instructions, memory-mapped registers, or a bus system. In modern systems, I/O controllers act as intermediaries, ensuring that the CPU is not slowed down by slower peripheral devices.
I/O 设备与 CPU 之间的数据传输通常由处理器借助专用指令、内存映射寄存器或总线系统进行管理。在现代系统中,I/O 控制器充当中间层,确保较慢的外围设备不会拖慢 CPU 的速度。
2. Principles of Input Devices | 输入设备的基本原理
Input devices capture data and translate it into a format the computer understands. This usually involves converting continuous physical quantities—such as pressure, light, or position—into discrete binary values. The process requires sampling, quantisation, and encoding.
输入设备捕捉数据并将其转换为计算机能够理解的格式。这通常涉及将连续的物理量(如压力、光线或位置)转换为离散的二进制值。该过程需要采样、量化与编码。
For example, a keyboard uses a switch matrix: pressing a key closes an electrical circuit, generating a unique scan code. The scan code is then mapped to a character code (e.g., ASCII or Unicode) by the keyboard controller. A mouse uses optical sensors to track surface movement; the measured displacement is sent to the computer in the form of relative coordinates.
例如,键盘采用开关矩阵:按下按键会闭合电路,生成唯一的扫描码。随后,扫描码由键盘控制器映射为字符编码(如 ASCII 或 Unicode)。鼠标利用光学传感器跟踪表面移动,测量的位移以相对坐标形式发送至计算机。
Key input principle: all analogue input must be converted to digital using an analogue-to-digital converter (ADC) before the CPU can process it.
关键输入原理:任何模拟输入都必须先通过模数转换器(ADC)转换为数字信号,CPU 才能处理。
3. Classification of Input Devices | 输入设备的分类
Input devices can be classified into two broad categories: manual input devices and automatic input devices (also called sensor-based or direct data entry devices).
输入设备可分为两大类:手动输入设备与自动输入设备(也称基于传感器的设备或直接数据录入设备)。
- Manual input devices: keyboard, mouse, touchscreen, tracker ball, graphics tablet, microphone, scanner.
- 手动输入设备:键盘、鼠标、触摸屏、轨迹球、数位板、麦克风、扫描仪。
- Automatic input devices: barcode readers, QR code scanners, magnetic stripe readers, RFID readers, optical mark recognition (OMR), optical character recognition (OCR), sensors (temperature, light, pressure, infrared, etc.).
- 自动输入设备:条形码阅读器、二维码扫描器、磁条阅读器、RFID 读卡器、光学标记识别(OMR)、光学字符识别(OCR)、各类传感器(温度、光线、压力、红外等)。
Another useful classification is by data type: text/key input, pointing/position input, sound input, image/vision input, and environmental data input. This cross-classification helps students match devices to the nature of the data being captured.
另一种常用分类依据是数据类型:文本/按键输入、定位/指针输入、声音输入、图像/视觉输入以及环境数据输入。这种交叉分类有助于学生根据所采集数据的性质来匹配设备。
4. Principles of Output Devices | 输出设备的基本原理
Output devices accept binary data from the CPU and convert it into forms comprehensible by humans or by other machines. The most common output modalities are visual (displays and printers), auditory (speakers and headphones), and physical (actuators and motors).
输出设备从 CPU 接收二进制数据,并将其转换为人类或其他机器可理解的形式。最常见的输出模态包括视觉(显示器和打印机)、听觉(扬声器和耳机)以及物理输出(执行器和电机)。
For a display, the CPU sends frame buffer data to the graphics adapter, which converts pixel values into voltage signals that drive liquid crystal cells or light-emitting diodes. For printers, a print controller rasterises text and images into dots; laser printers use electrostatic charge and toner, while inkjet printers eject microscopic droplets of ink using thermal or piezoelectric technology.
对于显示器,CPU 将帧缓冲数据发送给显卡,显卡将像素值转换为驱动液晶单元或发光二极管的电压信号。对于打印机,打印控制器将文本和图像栅格化为点阵;激光打印机利用静电电荷和碳粉,喷墨打印机则通过热气泡或压电技术喷射微小墨滴。
Sound output relies on a digital-to-analogue converter (DAC). The CPU sends a sequence of discrete numerical samples, and the DAC reconstructs a continuous voltage waveform which is amplified and sent to the speaker.
声音输出依赖数模转换器(DAC)。CPU 发送一系列离散数值样本,DAC 重建连续电压波形,经放大后传送至扬声器。
5. Classification of Output Devices | 输出设备的分类
Output devices are generally classified into four categories: soft copy output, hard copy output, audio output, and physical/mechanical output.
输出设备通常分为四类:软拷贝输出、硬拷贝输出、音频输出以及物理/机械输出。
- Soft copy output: monitors (LCD, LED, OLED), projectors, virtual reality headsets.
- 软拷贝输出:监视器(LCD、LED、OLED)、投影仪、虚拟现实头戴设备。
- Hard copy output: inkjet printers, laser printers, thermal printers, 3D printers, plotters.
- 硬拷贝输出:喷墨打印机、激光打印机、热敏打印机、3D 打印机、绘图仪。
- Audio output: speakers, headphones, earbuds, buzzers.
- 音频输出:扬声器、头戴式耳机、入耳式耳机、蜂鸣器。
- Physical/mechanical output: actuators, motors, robotic arms, solenoids.
- 物理/机械输出:执行器、电机、机械臂、电磁阀。
It is also important to distinguish between display technologies. LCD monitors require a backlight and use liquid crystals to modulate light; LED monitors use an array of light-emitting diodes; OLED displays produce light directly from organic compounds, offering higher contrast and faster response times.
同时,区分显示技术十分重要。LCD 显示器需要背光并通过液晶调制光线;LED 显示器使用发光二极管阵列;OLED 显示屏则通过有机化合物直接发光,具有更高对比度和更快响应速度。
6. Sensors as Input Devices | 传感器作为输入设备
Sensors are automatic input devices that measure physical quantities and convert them into electrical signals. In IGCSE contexts, sensors are widely used in control systems, environmental monitoring, and automation.
传感器是自动输入设备,用于测量物理量并将其转换为电信号。在 IGCSE 中,传感器广泛应用于控制系统、环境监测和自动化领域。
| Sensor 传感器 | Physical Quantity 物理量 | Typical Use 典型用途 |
|---|---|---|
| Temperature sensor / 温度传感器 | Heat 热量 | Greenhouse control, oven thermostat 温室控制、烤箱温控 |
| Light sensor / 光敏传感器 | Illuminance 光照强度 | Automatic street lights, camera exposure 自动路灯、相机曝光 |
| Pressure sensor / 压力传感器 | Force 力 | Security alarms, touch-sensitive floors 安防警报、触敏地板 |
| Infrared sensor / 红外传感器 | Heat radiation 热辐射 | Motion detection, remote controls 人体检测、遥控器 |
| Ultrasonic sensor / 超声波传感器 | Distance 距离 | Robot navigation, reversing alarms 机器人导航、倒车雷达 |
In a typical feedback control system, a sensor measures the current condition (input), the computer compares it with a desired value, and an actuator adjusts the system (output). This closed-loop operation is central to many IGCSE exam questions.
在典型的反馈控制系统中,传感器测量当前条件(输入),计算机将其与期望值比较,并由执行器调整系统(输出)。这种闭环操作是许多 IGCSE 考题的核心。
7. How the CPU Communicates with I/O Devices | CPU 如何与 I/O 设备通信
The CPU communicates with input and output devices using a combination of the address bus, data bus, and control bus. Each I/O device has a unique address assigned by the system; the CPU sends the address of the device it wishes to communicate with, along with a read or write control signal.
CPU 通过地址总线、数据总线和控制总线与输入输出设备通信。每个 I/O 设备由系统分配唯一地址;CPU 发送目标设备地址以及读/写控制信号。
Two common methods of addressing are memory-mapped I/O and port-based (isolated) I/O. In memory-mapped I/O, device registers share the same address space as memory, allowing the CPU to use ordinary load/store instructions. In port-based I/O, the CPU uses special input/output instructions.
两种常见寻址方式是内存映射 I/O 和独立端口 I/O。在内存映射 I/O 中,设备寄存器与内存共享同一地址空间,CPU 可以使用普通加载/存储指令;在独立端口 I/O 中,CPU 使用专门的输入/输出指令。
Because most peripherals operate much slower than the CPU, an interrupt system is used. When a device is ready to transfer data, it sends an interrupt request to the CPU. The CPU suspends its current task, runs an interrupt service routine, and then resumes normal execution.
由于大多数外设运行速度远低于 CPU,因此采用中断机制。当设备准备好传输数据时,向 CPU 发送中断请求;CPU 暂停当前任务,执行中断服务程序,然后恢复正常执行。
8. Choosing an Appropriate Device | 如何选择合适的设备
When deciding which input or output device to use, IGCSE students should consider accuracy, speed, cost, durability, data volume, and the physical environment. Each criterion may be weighted differently depending on the scenario.
在选择输入或输出设备时,IGCSE 学生应考虑准确性、速度、成本、耐用性、数据量和物理环境等因素。不同场景下,各标准的权重会有所不同。
For example, in a supermarket checkout, a laser barcode scanner is chosen because it is fast, accurate, and requires minimal user training, while manual keyboard entry would be too slow and error-prone. In a school exam, OMR scanners are preferred for multiple-choice answer sheets because they can process thousands of sheets in a short time with high reliability.
例如,在超市收银台,激光条码扫描器因速度快、准确且几乎不需培训而被选用;如果采用人工键盘输入则太慢且容易出错。在学校考试中,OMR 扫描器适合处理选择题答题卡,因为它能短时间内高可靠地处理数千张答题卡。
For output, a laser printer is appropriate for high-volume text documents due to lower cost per page and faster printing speed. An inkjet printer is better for small-scale photo printing because it can reproduce finer colour gradients. For projecting a presentation in a large conference hall, a high-lumen projector is better than a monitor due to screen size and visibility.
对于输出,激光打印机适合大批量文本文档,因为每页成本低、打印速度快;喷墨打印机更适合小规模照片打印,因为它能再现更细腻的色彩渐变。在大型会议厅投射演示文稿时,高流明投影仪优于显示器,因为其屏幕更大、可视性更好。
9. Direct Data Entry vs Manual Data Entry | 直接数据录入与手动数据录入
Direct data entry devices reduce human error and speed up the input process. Examples include magnetic stripe readers, chip-and-PIN readers, contactless smart cards, RFID readers, and OMR/OCR systems. Manual data entry devices require human involvement at every step, such as keyboards and mice.
直接数据录入设备可减少人为错误并加快输入速度,典型例子包括磁条阅读器、芯片密码读卡器、非接触式智能卡、RFID 读卡器以及 OMR/OCR 系统。手动数据录入设备每一步都需要人工参与,例如键盘和鼠标。
In examinations, students are often asked to compare these methods. The comparison should include reliability, speed, security, cost of implementation, and suitability for the data being captured.
考试中常要求学生比较这几种方法。比较时应包含可靠性、速度、安全性、实施成本以及对所采集数据的适用性。
Data Capture Speed: Direct Entry ≫ Manual Entry
数据采集速度:直接录入 ≫ 手动录入
10. Exam-Style Summary | 考点总结
The following list summarises the MUST-KNOW points for the CIE IGCSE examination:
以下列表总结了 CIE IGCSE 考试中必须掌握的知识点:
- Identify input devices from a given scenario and justify the choice.
- Identify output devices from a given scenario and justify the choice.
- Distinguish between manual input and automatic input.
- Distinguish between soft copy output and hard copy output.
- Describe how sensors feed data to a computer in a control system.
- Explain the role of ADC and DAC in input/output processes.
- Describe the basic working principle of a laser printer vs an inkjet printer.
- Explain why direct data entry is more accurate than manual entry for large volumes of data.
- 能够从给定场景中识别输入设备并说明理由。
- 能够从给定场景中识别输出设备并说明理由。
- 能够区分手动输入和自动输入。
- 能够区分软拷贝输出和硬拷贝输出。
- 能够描述传感器如何在控制系统中向计算机提供数据。
- 能够解释 ADC 和 DAC 在输入输出过程中的作用。
- 能够描述激光打印机与喷墨打印机的基本工作原理。
- 能够解释为什么对大量数据而言,直接数据录入比手动录入更准确。
Mastering the principles and classification of input/output devices is a fundamental step for IGCSE Computer Science students. A clear understanding of how data flows into and out of a computer system, supported by the ability to compare devices on practical criteria, will enable you to answer both short-answer and scenario-based questions with confidence.
掌握输入输出设备的原理与分类是 IGCSE 计算机科学学生的关键一步。清晰理解数据如何流入和流出计算机系统,并能够依据实际标准比较不同设备,将使你自信应对简答题和情境题。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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