Input and Output Devices Summary
Input Devices
Definition: Input devices gather real-world data or user commands and convert them into digital binary signals (s and s) that a computer microprocessor can process.
Barcode Scanners:
How It Works: Uses a red laser or LED light reflected off dark lines and light spaces to measure varying light intensities and decode data.
Use: Supermarket checkouts to scan product barcodes for instant price lookup and automatic stock control.
Advantage: Fast scanning speed with high accuracy, eliminating human typing errors.
Disadvantage: Requires a direct line-of-sight and fails if barcodes are damaged, crinkled, or obscured.
QR Code Scanners:
How It Works: Reads a two-dimensional matrix grid of dark and light squares using optical sensors or digital camera software.
Use: Directing users to website URLs, processing promotional codes, mobile event tickets, and electronic boarding passes.
Advantage: Holds significantly more data capacity than traditional 1D barcodes and can be read by standard smartphone cameras without dedicated hardware.
Disadvantage: Susceptible to security risks such as malicious code execution or redirecting users to phishing websites.
Digital Cameras:
How It Works: Focuses light through a lens onto a light-sensitive sensor (CCD/CMOS) that breaks images into pixels and assigns binary color values.
Use: Capturing high-resolution photographs in smartphones, professional photography, and security surveillance systems.
Advantage: Allows instant image preview, easy digital editing, and immediate wireless transmission via Wi-Fi or Bluetooth.
Disadvantage: High-resolution photos produce large file sizes that consume significant storage space.
Keyboards:
How It Works: Pressing a physical key completes an electrical circuit; a microprocessor identifies the key switch pressed and uses a character set (such as ASCII or Unicode) to translate it to binary.
Use: Manual entry of text, numerical data, and commands in word processors, databases, and control room interfaces.
Advantage: Highly versatile and direct method for entering detailed text; concept keyboards with picture buttons allow fast single-touch entry in restaurants.
Disadvantage: Relatively slow data entry speed, prone to human typing error, and prolonged repetitive use can cause Repetitive Strain Injury (RSI).
Microphones:
How It Works: Sound waves cause an internal flexible diaphragm to vibrate, creating an analogue electrical signal that an Analogue-to-Digital Converter (ADC) converts into digital audio.
Use: Voice recognition systems, sound recording, VoIP calls, and real-time audio conferencing.
Advantage: Enables hands-free control and real-time audio communication for accessibility.
Disadvantage: Ambient background noise can distort the audio recording and significantly lower voice recognition accuracy.
Optical Mice:
How It Works: An LED or laser bounces light off a surface onto an optical sensor, taking thousands of microscopic snapshots per second to track movement direction and speed.
Use: Navigating, selecting, and manipulating graphical user interface (GUI) elements on a screen.
Advantage: Works on almost any surface with no exposed mechanical moving parts to collect dirt or wear out.
Disadvantage: Requires a flat, stable physical surface to operate and can cause wrist strain over long periods.
2D Scanners:
How It Works: Illuminates flat paper documents with a light source, uses CCD sensors to capture a digital image, and applies Optical Character Recognition (OCR) software to translate text images into editable text files.
Use: Scanning passports at airport security gates and converting paper records into digital files.
Advantage: Quickly converts physical paper documents into editable digital text and high-resolution JPEG images.
Disadvantage: Restricted strictly to flat, two-dimensional paper media.
3D Scanners:
How It Works: Measures physical shape using lasers, structured light, or CT tomography slices to capture spatial coordinates (, , ) layer-by-layer.
Use: Creating precise 3D digital CAD models for engineering, medical CT body scans, and reverse engineering.
Advantage: Accurately constructs full 3D digital models of complex physical objects.
Disadvantage: Generates massive file sizes that require powerful processing hardware and expensive scanning equipment.
Touch Screen Technologies
Capacitive:
How It Works: Uses a grid of conductive layers that store electrical charge; touching the screen with a conductive finger draws charge to that point, allowing sensors to calculate touch coordinates.
Use: Smartphones, tablet computers, and modern laptops.
Advantage: High image clarity, rapid response time, supports multi-touch gestures, and remains functional even if the top glass shatters.
Disadvantage: Cannot be operated with standard non-conductive cloth gloves or plastic styluses.
Infrared:
How It Works: Projects an invisible grid of infrared light beams across the screen surface; a finger or stylus breaks specific light beams, allowing microprocessors to calculate touch position.
Use: Large outdoor interactive displays, information kiosks, and medical equipment displays.
Advantage: Supports multi-touch, usable with gloves or any input tool, highly durable, and functions when shattered.
Disadvantage: High hardware cost and sensitive to performance drops if dust, dirt, or oil accumulates on the screen edges.
Resistive:
How It Works: Consists of a flexible top glass layer and a rigid bottom layer separated by air gaps; physical pressure forces the layers together to complete an electrical circuit at the contact point.
Use: ATMs, factory control panels, and medical devices.
Advantage: Low manufacturing cost, waterproof, low energy consumption, and works with gloved hands or styluses.
Disadvantage: Poor visibility in direct sunlight, low screen resolution, prone to surface scratches, and lacks multi-touch capabilities.
Output Devices
Definition: Output devices receive digital processing results from a computer and convert them into human-readable visual displays, audible sound, or physical motion.
Actuators:
How It Works: Microprocessor signals trigger electromagnetic coils or motors to convert electrical energy into physical mechanical movement.
Use: Controlling industrial machinery, automated robotic arms, motorized valves, and automatic door mechanisms.
Advantage: Provides automated, precise physical movement directly controlled by software.
Disadvantage: Physical mechanical parts experience physical wear, tear, and mechanical failure over time.
Speakers:
How It Works: Digital audio signals are passed through a Digital-to-Analogue Converter (DAC) and amplifier, driving an electromagnet that moves a speaker cone to produce sound waves in the air.
Use: Music playback, video audio tracks, system warnings/alarms, and voice communication.
Advantage: Allows clear broadcasting of sound to individuals or large groups of people.
Disadvantage: Requires external power amplification and DAC hardware, and audio can cause environmental noise disturbance.
LED Screens:
How It Works: Flat-panel displays that use liquid crystals illuminated by efficient Light Emitting Diodes (LEDs) behind the panel.
Use: Televisions, desktop monitors, and mobile device displays.
Advantage: High contrast ratio, energy-efficient, reaches maximum brightness instantly, and contains no toxic mercury.
Disadvantage: Higher initial purchase cost compared to older CCFL LCD technology.
LCD Screens:
How It Works: Uses liquid crystals backed by Cold Cathode Fluorescent Lamps (CCFLs) to manipulate light pass-through for pixel displays.
Use: Budget desktop monitors and public transit information screens.
Advantage: Cheaper manufacturing costs than LED screens with no screen burn-in or flickering issues.
Disadvantage: Consumes more electrical power, runs warmer, and has slower pixel response times than LED screens.
Printers and Projectors
Printers:
Inkjet Printers:
How It Works: Sprays precise microscopic droplets of liquid ink through tiny print-head nozzles onto paper.
Use: Low-volume, high-quality printing of digital photographs and personal documents.
Advantage: Delivers photo-realistic print quality at a low initial printer purchase cost.
Disadvantage: Slow print throughput speed and expensive replacement ink cartridges resulting in a high cost per page.
Laser Printers:
How It Works: Uses a laser beam to create an electrostatic image on a rotating drum, attracting powdered toner which is fused onto paper using heat and pressure rollers.
Use: High-volume office printing of text documents, leaflets, and manuals.
Advantage: Exceptionally fast print speeds, prints entire pages at once, and maintains a low cost per page.
Disadvantage: High purchase price for the printer and toner cartridges, with longer initial warm-up times.
3D Printers:
How It Works: Follows computer-aided design (CAD) files to deposit molten plastic, resin, or metal powder layer-by-layer until a solid object is built.
Use: Rapid prototyping, custom medical prosthetics, and architectural models.
Advantage: Constructs complex, custom physical 3D geometries directly from CAD software files.
Disadvantage: Very slow manufacturing process and expensive raw filament materials.
Projectors:
Digital Light Projectors (DLP):
How It Works: Shines light through a spinning color wheel onto a Digital Micromirror Device (DMD) chip containing millions of tiny tilting micro-mirrors.
Use: Portable presentation projectors for mobile business presentations and movie cinemas.
Advantage: High contrast ratios, lightweight/compact body, and high durability in dusty conditions.
Disadvantage: Can display visual "rainbow effect" artifacts, lower color resolution, and higher power usage.
LCD Projectors:
How It Works: Splits light into primary red, green, and blue beams, passing each through individual LCD panels before recombining them into a single projected image through a lens.
Use: Stationary classroom and corporate boardroom presentation setups.
Advantage: High image resolution, vivid accurate color reproduction, brighter output, and free of rainbow artifacts.
Disadvantage: Lower contrast ratios, bulkier design, and colors degrade or turn yellow over long periods of light exposure.
Fetch-Decode-Execute Cycle Basics
Definition: The fundamental operational cycle continuously executed by the Central Processing Unit (CPU) to fetch instructions from system memory, decode their meaning, and execute the requested instructions.
Fetch Stage:
Program Counter (PC): Holds the memory address of the next instruction to be processed.
Memory Address Register (MAR): The address in the PC is copied to the MAR via the address bus.
Instruction Retrieval: The CPU requests the data at the MAR address in RAM, which travels along the data bus into the Memory Data Register (MDR).
Instruction Register (IR) & PC Update: The instruction in the MDR is copied to the IR, and the PC increments () to point to the next sequential address.
Decode Stage:
The Control Unit (CU) reads and decodes the instruction opcode stored in the IR.
The CU identifies what operation needs to be performed and which registers or memory addresses contain the required data operands.
The CU prepares internal control signals to route signals to the correct hardware components.
Execute Stage:
The instruction is carried out across CPU hardware components.
If arithmetic or logical operations are needed, the Arithmetic Logic Unit (ALU) performs the calculations.
Results are written back to internal registers (such as the Accumulator) or main system memory.
Questions & Discussion
Question: How is keyboard text converted to binary data?
Response: When a key is pressed, it closes a circuit switch. The keyboard controller detects the key grid position and translates it into a unique character code defined by a standard character set (such as ASCII or Unicode). This code is represented as a specific sequence of binary bits (s and s) for CPU processing.