📚 Input and Output Devices | 输入与输出设备
Every computer system depends on the flow of data between the user and the machine, or between the machine and its environment. Input devices convert human actions or physical conditions into electrical signals that a computer can process, while output devices take processed data and present it back in a form we can see, hear, or use. This article explores the key input and output devices covered in the Cambridge IGCSE Computer Science syllabus, explaining how they work and where they are typically applied.
每一个计算机系统都依赖于用户与机器之间或机器与环境之间的数据流动。输入设备将人的操作或物理条件转变为计算机能够处理的电信号,而输出设备则将处理后的数据以我们能够看到、听到或使用的方式呈现出来。本文探讨剑桥 IGCSE 计算机科学教学大纲中涉及的主要输入与输出设备,解释它们的工作原理及典型应用场景。
1. What Are Input and Output Devices? | 什么是输入与输出设备?
Input devices are hardware components that send data to a computer. They translate real-world information, such as keystrokes, sounds, or light levels, into binary data that the central processing unit (CPU) can understand. Output devices receive processed data from the computer and convert it into human-readable forms like text, images, sound, or movement. Without these devices, a computer would have no way to interact with people or other machines.
输入设备是向计算机发送数据的硬件组件。它们将击键、声音或光照强度等现实世界的信息转化为中央处理器(CPU)能够理解的二进制数据。输出设备接收计算机处理后的数据,并将其转换为人类可读的形式,如文字、图像、声音或运动。没有这些设备,计算机就无法与人或其他机器进行交互。
2. Keyboards and Pointing Devices | 键盘与指点设备
The keyboard is the most common manual input device. Each key acts as a switch; when pressed, it completes a circuit and sends a unique scan code to the processor, which is then interpreted as a character or command. Keyboards are essential for text entry and command input but can be slow for large amounts of data and may cause repetitive strain injury if used excessively.
键盘是最常见的手动输入设备。每个按键相当于一个开关;按下时接通电路,向处理器发送一个唯一的扫描码,随后被解读为字符或命令。键盘对于文字输入和命令输入必不可少,但输入大量数据时速度较慢,且长时间使用可能导致重复性劳损。
Pointing devices include the mouse, trackball, touchpad, and joystick. A traditional optical mouse uses a LED light and a sensor to detect movement across a surface, translating it into cursor motion on screen. Touchpads, common on laptops, sense the position and movement of a fingertip. Trackballs reverse the mouse design by keeping the body stationary while the user rotates a ball. Joysticks provide directional control, often used in gaming and flight simulations.
指点设备包括鼠标、轨迹球、触摸板和操纵杆。传统光学鼠标利用 LED 灯和传感器探测在表面上的移动,并将其转换为屏幕上的光标移动。笔记本电脑上常见的触摸板感知指尖的位置和运动。轨迹球与鼠标设计的区别在于设备主体静止,由用户旋转球体。操纵杆提供方向控制,常用于游戏和飞行模拟。
3. Touchscreens and Interactive Devices | 触摸屏与交互设备
Touchscreens function as both input and output devices. They display visual output while allowing users to interact directly by touching the screen. Capacitive touchscreens, used in most modern smartphones, rely on the electrical properties of the human body. When a finger touches the glass, it distorts the screen's electrostatic field, and the controller calculates the touch coordinates. Resistive touchscreens sense pressure and are more common in industrial environments because they work with gloves.
触摸屏兼具输入和输出功能。它们在显示视觉输出的同时,允许用户通过触摸屏幕直接交互。大多数现代智能手机使用的电容式触摸屏依赖人体的导电特性。当手指触碰玻璃时,会扭曲屏幕的静电场,控制器据此计算出触摸坐标。电阻式触摸屏通过感应压力工作,更常见于工业环境,因为戴手套也可操作。
Interactive whiteboards and graphic tablets are other examples of combined input-output surfaces. A graphic tablet uses a stylus on a pressure-sensitive pad, giving artists precise control. Interactive whiteboards project a computer image onto a large surface and detect touch or pen input, making them popular in classrooms and boardrooms.
交互式白板和绘图板是其他输入输出一体化的例子。绘图板通过压感垫和触控笔操作,为艺术家提供精确控制。交互式白板将计算机图像投射到大型表面上,并检测触摸或笔输,因此在教室和会议室中很受欢迎。
4. Scanners and Digital Cameras | 扫描仪与数码相机
Scanners convert physical documents or images into digital form. A flatbed scanner uses a moving light source and a charge-coupled device (CCD) to capture the reflection of light from the document, building a digital image line by line. Handheld scanners are portable but require a steady hand. Scanned output can be stored as an image, or optical character recognition (OCR) software can convert the text into editable digital characters.
扫描仪将纸质文档或图像转换为数字形式。平板扫描仪使用移动光源和电荷耦合器件(CCD)逐行捕获文档反射光,生成数字图像。手持扫描仪便携性好,但需要手部稳定。扫描结果可存储为图像,或通过光学字符识别(OCR)软件将文字转换为可编辑的数字字符。
Digital cameras capture still images and video using a lens and an image sensor, typically a CCD or complementary metal–oxide–semiconductor (CMOS) chip. The sensor records the intensity and colour of light on millions of tiny photosites. The camera’s processor then compresses the data into formats such as JPEG. Modern smartphones integrate high-resolution cameras that function as powerful input devices for photography, video calls, and augmented reality.
数码相机使用镜头和图像传感器(通常是 CCD 或互补金属氧化物半导体 CMOS 芯片)拍摄静态图像和视频。传感器在数百万个微小的光敏单元上记录光的强度和颜色。相机处理器随后将数据压缩成 JPEG 等格式。现代智能手机集成了高分辨率相机,成为摄影、视频通话和增强现实的强大输入设备。
5. Barcode and QR Code Readers | 条形码与二维码阅读器
Barcode readers are input devices that scan printed barcodes. A typical laser barcode scanner sweeps a red laser beam across the black-and-white pattern; dark bars absorb light and white spaces reflect it. A photodiode measures the reflected light and converts the varying signal into digital data representing the product number. CCD barcode readers use an array of tiny light sensors to capture the entire barcode at once without moving parts.
条形码阅读器是扫描印刷条形码的输入设备。典型的激光条形码扫描仪用红色激光束扫过黑白条纹图案;黑色条吸收光线,白色间隔反射光线。光电二极管测量反射光,将变化的信号转换为代表产品编号的数字数据。CCD 条形码阅读器使用一组微小光传感器一次性捕获整个条形码,无需移动部件。
Quick Response (QR) codes are two-dimensional barcodes that can store much more information, such as URLs or contact details. QR code readers, often built into smartphone cameras, use image processing algorithms to locate the three large squares at the corners, determine orientation, and extract the data from the pixel grid. This technology enables rapid, touchless information transfer in advertising, payments, and ticketing.
快速响应(QR)码是二维条形码,可存储更多信息,例如网址或联系详情。二维码阅读器通常内置于智能手机摄像头中,利用图像处理算法定位角落的三个大方块,确定方向,并从像素网格中提取数据。该技术实现了广告、支付和票务中的快速、非接触式信息传输。
6. Microphones and Sensors | 麦克风与传感器
Microphones convert sound waves into electrical signals. The most common type in computers is the electret condenser microphone, which uses a diaphragm and a charged plate. Sound pressure moves the diaphragm, changing the capacitance and producing a varying voltage that mirrors the original sound. The computer’s sound card samples this analogue signal at tens of thousands of times per second and converts it into digital values.
麦克风将声波转换为电信号。计算机中最常见的类型是驻极体电容式麦克风,它使用振膜和带电极板。声压移动振膜,改变电容,产生与原始声音同步变化的电压。计算机声卡以每秒数万次的频率对该模拟信号进行采样,并将其转换为数字值。
Sensors are input devices that measure physical conditions such as temperature, light, pressure, humidity, or motion. For example, a thermistor changes its resistance with temperature; connected in a circuit, it produces a voltage that an analogue-to-digital converter (ADC) can measure. Infrared sensors detect heat or motion and are used in automatic doors and security systems. Sensors are critical in data logging and control applications, where they continuously monitor environmental variables without human intervention.
传感器是测量温度、光照、压力、湿度或运动等物理条件的输入设备。例如,热敏电阻的阻值随温度变化;接入电路后产生电压,模数转换器(ADC)可以测量该电压。红外传感器探测热量或运动,用于自动门和安防系统。传感器在数据记录与控制应用中至关重要,可在无需人工干预的情况下持续监测环境变量。
7. Monitors and Display Devices | 显示器与显示设备
Monitors are the primary output devices for visual information. Liquid Crystal Display (LCD) screens use a backlight and liquid crystal cells that twist to control the passage of light. Each pixel is composed of red, green, and blue sub-pixels. Light Emitting Diode (LED) monitors are a type of LCD that use LEDs for backlighting, offering better contrast and energy efficiency. Organic LED (OLED) panels emit their own light per pixel, allowing true blacks and thinner designs.
显示器是视觉信息的主要输出设备。液晶显示器(LCD)屏幕使用背光源和液晶单元,液晶扭转以控制光的通过。每个像素由红、绿、蓝子像素组成。发光二极管(LED)显示器是一种使用 LED 作为背光源的液晶显示器,可提供更好的对比度和能效。有机发光二极管(OLED)面板每个像素自行发光,可实现真正的黑色及更薄的设计。
rper images but demands more graphics processing power. Refresh rate, measured in hertz, indicates how many times per second the screen redraws the image— Some modern screens also support touch input, blurring the line between input and output.
显示器的主要规格包括屏幕尺寸(以英寸为单位的对角线长度)、宽高比(如 16:9)以及分辨率(以水平 × 垂直像素表示,例如 1920 × 1080)。分辨率越高图像越清晰,但对图形处理能力要求更高。刷新率以赫兹为单位,表示屏幕每秒重绘图像的次数,对动态画面至关重要。一些现代屏幕还支持触摸输入,模糊了输入与输出的界限。
8. Printers: Inkjet, Laser, and 3D | 打印机:喷墨、激光与 3D 打印
Inkjet printers spray tiny droplets of liquid ink onto paper. The print head contains nozzles, and a heating element or piezoelectric crystal forces ink out. Inkjet printers can produce high-quality colour prints and are affordable, but ink cartridges can be expensive to replace and print speed is moderate. They are best suited for home use and small offices where photographic quality is sometimes needed.
喷墨打印机将微小的墨滴喷射到纸张上。打印头包含喷嘴,加热元件或压电晶体将墨水挤出。喷墨打印机可打印高质量的彩色作品,价格适中,但墨盒更换成本可能较高,打印速度中等。它们最适合家庭和小型办公室使用,有时需要照片级质量输出的场景。
Laser printers use electrostatic charges, a laser beam, and toner powder. The laser draws the page image on a rotating drum, which picks up charged toner and transfers it onto paper. The paper then passes through a fuser that heats and presses the toner into the fibres. Laser printers excel at fast, high-volume text printing and generally have a lower cost per page than inkjets, making them ideal for business environments.
激光打印机利用静电荷、激光束和碳粉工作。激光在旋转的感光鼓上绘制页面影像,感光鼓吸附带电碳粉并将其转印到纸张上。然后纸张通过定影器加热加压,使碳粉融入纤维。激光打印机在快速、大批量文本打印方面表现优异,单页成本通常低于喷墨打印机,因此非常适合商业环境。
3D printers are output devices that create three-dimensional solid objects by building them up layer by layer. Fused deposition modelling (FDM) printers melt a thermoplastic filament and extrude it through a nozzle that moves according to a digital model. Other types use lasers to solidify resin or bind powders. 3D printers are used in prototyping, medicine, aerospace, and education, turning digital designs into tangible artefacts.
3D 打印机是一种通过逐层堆积制造三维实体物体的输出设备。熔融沉积成型(FDM)打印机将热塑性长丝熔化,通过喷嘴按照数字模型移动挤出。其他类型使用激光固化树脂或粘合粉末。3D 打印机用于原型制作、医疗、航空航天和教育领域,将数字设计转化为有形物品。
9. Speakers and Actuators | 扬声器与执行器
Speakers and headphones are output devices that convert electrical signals back into sound. They contain a magnet, a coil of wire, and a cone. When an alternating current representing the audio waveform passes through the coil, it creates a magnetic field that interacts with the permanent magnet, moving the cone and generating pressure waves in the air. The fidelity of the reproduced sound depends on the frequency response and the quality of the components.
扬声器和耳机是将电信号转换回声波的输出设备。它们包含磁铁、线圈和锥盆。当代表音频波形的交流电通过线圈时,产生与永磁体相互作用的磁场,推动锥盆运动并在空气中产生压力波。还原声音的保真度取决于频率响应和组件的质量。
Actuators are output devices that convert electrical signals into physical motion. Electric motors rotate when current flows through their coils inside a magnetic field. Solenoids produce linear motion by pulling a metal plunger when energised. Relays are electrically operated switches. Actuators are essential in control systems: a computer receiving temperature sensor input might activate a motor to open a window or a relay to turn on a heater. This closes the loop between sensing and response.
执行器是将电信号转换为物理运动的输出设备。电动机在电流通过磁场中的线圈时旋转。电磁铁通电时推动金属柱塞产生直线运动。继电器是电控开关。执行器在控制系统中必不可少:接收温度传感器输入的计算机可能会启动电机打开窗户,或驱动继电器开启加热器。这实现了感知与响应之间的闭环。
10. Projectors and Large-Format Displays | 投影仪与大屏显示
Digital projectors output enlarged images onto a screen or wall. Many use LCD panels or digital light processing (DLP) technology. In a DLP projector, a chip covered with thousands of microscopic mirrors tilts each mirror to reflect light toward the lens or away from it, forming the image. Projectors are widely used in lecture halls, cinemas, and home theatre systems. Their brightness, measured in lumens, determines how well the image is visible in ambient light.
数字投影仪将放大的图像输出到屏幕或墙壁上。许多投影仪采用 LCD 面板或数字光处理(DLP)技术。在 DLP 投影仪中,一个布满数千块微镜的芯片通过倾斜每块微镜将光线反射至镜头或偏离镜头,从而形成图像。投影仪广泛用于报告厅、电影院和家庭影院系统。其亮度以流明为单位,决定了图像在有环境光时的可见程度。
Large-format displays such as LED video walls and interactive flat panels also serve as output devices. These often consist of tiled LED modules that form a seamless high-brightness screen, visible even outdoors. They can display dynamic digital content and are common in concert venues, sports arenas, and public advertisement. Interactive flat panels combine a large display with touch or pen input for collaborative work.
LED 视频墙和交互式平板等大型显示设备也是输出设备。它们通常由拼接的 LED 模块构成无缝的高亮度屏幕,即使在户外也清晰可见。这类设备能够显示动态数字内容,常用于音乐会、体育场馆和公共广告。交互式平板将大尺寸显示器与触摸或笔输入相结合,支持协同工作。
11. Comparing Input and Output Devices | 比较输入与输出设备
When choosing an input device, factors such as speed of data entry, accuracy, cost, and the physical environment must be considered. For example, a barcode scanner is much faster and more accurate for stocktaking than manual keyboard entry. A touchscreen is intuitive for menus but less efficient for prolonged typing. Sensors eliminate human error in monitoring applications.
选择输入设备时,必须考虑数据输入速度、准确性、成本和使用环境等因素。例如,在库存盘点中,条形码扫描仪比人工键盘输入更快且更精确。触摸屏用于菜单操作很直观,但长时间打字效率较低。传感器在监测应用中消除了人为错误。
Output devices are compared by resolution, colour accuracy, speed, and operating cost. A laser printer is faster and cheaper per page for text than an inkjet, but the latter is superior for glossy photo prints. OLED monitors offer higher contrast than LCDs but at a higher price. In control systems, the reliability and response time of an actuator may matter more than the speed of a visual display.
比较输出设备时,会关注分辨率、色彩准确度、速度和运行成本。就文本打印而言,激光打印机比喷墨打印机更快且单页成本更低,但后者在光面照片打印方面更胜一筹。OLED 显示器对比度高于液晶显示器,但价格更高。在控制系统中,执行器的可靠性与响应时间可能比视觉显示器的速度更重要。
The table below summarises a few typical devices and their key characteristics.
下表总结了几种典型设备及其关键特征。
| Device | Type | Key Feature | Common Use |
|---|---|---|---|
| Optical Mouse | Input | LED + sensor tracking | Desktop navigation |
| Capacitive Touchscreen | Input / Output | Body capacitance detection | Smartphones, kiosks |
| Laser Printer | Output | Toner + fuser, high speed | Office documents |
| Stepper Motor | Output (Actuator) | Precise angular movement | Robotics, 3D printers |
12. Summary and Exam Tips | 总结与备考建议
Understanding input and output devices is fundamental for IGCSE Computer Science. Remember that input devices feed data into the processor, and output devices present the results. Be prepared to explain how specific devices work in simple, step-by-step terms, linking the physical technology to the digital signal. Many exam questions ask you to recommend a device for a given scenario, justifying your choice with reference to accuracy, speed, cost, and user needs.
理解输入和输出设备是 IGCSE 计算机科学的基础。请牢记输入设备向处理器提供数据,而输出设备呈现处理结果。要准备好用简单的步骤解释特定设备的工作原理,将物理技术与数字信号联系起来。许多考题会要求你针对特定场景推荐设备,并从准确性、速度、成本和用户需求等方面说明理由。
When revising, create flashcards that pair a device image with its operation and an application. Practise drawing labelled diagrams of a keyboard matrix, a barcode scanner, or a laser printer drum. Always link sensors and actuators back to the concept of a control loop: input, process, output. With a strong grasp of these fundamentals, you will be well prepared for the examination.
复习时,可以制作抽认卡,将设备图片、工作原理和应用配对。练习绘制键盘矩阵、条形码扫描仪或激光打印机感光鼓的标注示意图。始终将传感器和执行器与“输入—处理—输出”的控制回路概念联系起来。扎实掌握这些基础知识,你将为考试做好充分准备。
Published by TutorHao | Computer Science Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

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