Digital Electronics
Digital Electronics
Generations of Computers
Computers are developed in different stages called "generations." Each generation is marked
by major technological advancements.
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Required air-conditioning.
ICs were expensive to manufacture.
Limited parallel processing capabilities.
4th Generation of Computers (1971 – Present)
Advantages:
Disadvantages:
Advantages:
Disadvantages:
Computers can be broadly classified based on their size, power, and purpose into three main
types:
1. Supercomputer
Definition: The most powerful computers with the highest processing speed and large
memory. Designed for complex and large-scale scientific calculations.
Features:
Applications:
Examples:
2. Mainframe Computer
Definition: Large, powerful computers used primarily by large organizations for bulk data
processing and enterprise-wide applications.
Features:
Applications:
Examples:
Definition: A computer designed for individual use, generally small, affordable, and easy
to operate.
Features:
Applications:
Examples:
1. Input Unit
Function: Takes input data and instructions from the user or external devices and
converts it into a binary form that the computer can understand.
Examples: Keyboard, Mouse, Scanner, Microphone.
2. Memory Unit
5. Output Unit
Function: Converts processed data from the computer into a form understandable to
the user.
Examples: Monitor (displays visuals), Printer (hard copy), Speaker (audio output).
Input Device:
Keyboard
What is a Keyboard?
A keyboard is a primary input device that allows users to enter text, numbers, and
commands into a computer by pressing keys.
Components of a Keyboard
Keys: Usually around 101 to 104 keys, including letters (A-Z), numbers (0-9),
function keys (F1-F12), control keys (Ctrl, Alt, Shift), navigation keys (arrows, Home,
End), and a numeric keypad.
Switches: Under each key, there is a mechanical or membrane switch that registers a
key press.
Controller: Translates key presses into electrical signals to be sent to the computer.
1. When you press a key, the keyboard’s circuitry detects the key’s position.
2. It sends a corresponding binary code (called a scan code) to the computer’s CPU.
3. The CPU interprets this code as the corresponding character or command.
4. The character appears on the screen, or the command is executed.
Types of Keyboards
Mechanical Keyboard: Uses individual mechanical switches under each key; known
for durability and tactile feedback.
Membrane Keyboard: Uses pressure pads that complete circuits; quieter and less
expensive.
Wireless Keyboard: Connects to the computer via Bluetooth or RF, offering
mobility.
Ergonomic Keyboard: Designed to reduce strain on hands and wrists.
Virtual Keyboard: Software-based keyboard displayed on touchscreens.
Applications of Keyboard
Mouse
What is a Mouse?
A mouse is a handheld pointing device that allows a user to interact with the graphical user
interface (GUI) of a computer by moving a pointer on the screen and performing clicks.
Components of a Mouse
Mechanical Mouse:
Uses a rubber or metal ball that rolls on the surface. Movement of the ball is detected
by sensors inside and translated into cursor movement.
Optical/Laser Mouse:
Uses a light-emitting diode (LED) or laser to detect movement by capturing images of
the surface and tracking changes.
Wireless Mouse:
Sends signals via Bluetooth or radio frequency to the computer receiver.
When you move the mouse, the sensor detects the motion and sends signals to move the
cursor on the screen accordingly. Clicking buttons sends commands like selecting, dragging,
or opening files.
Types of Mouse
Advantages
Joystick
What is a Joystick?
A joystick is a handheld input device consisting of a stick that pivots freely on a base and
can move in multiple directions. It translates physical movement into signals that control
objects or cursors on a computer.
How it Works
Types of Joysticks
Applications
Advantages
Trackball
What is a Trackball?
A trackball is a stationary input device consisting of a large ball housed in a socket that can
be rotated by the user’s fingers, thumb, or palm. It functions like an upside-down mouse.
How it Works
Advantages
Disadvantages
Applications
Light Pen
A light pen is a pen-shaped input device used to interact directly with a computer screen,
especially CRT monitors.
How it Works
The tip of the pen detects the light emitted by the screen.
When the pen touches or points to a spot on the screen, it senses the light at that
location.
It sends a signal to the computer indicating the exact position.
This allows the user to select or draw directly on the display.
Advantages
Disadvantages
Works primarily with CRT screens, not modern LCD or LED monitors.
Requires physical contact with the screen, which can be uncomfortable or impractical.
Less commonly used today due to touchscreens and other input devices.
Applications
Scanner
What is a Scanner?
A scanner is an input device that converts physical documents, photos, or images into digital
form that a computer can process.
How it Works
Types of Scanners
Flatbed Scanner: Has a flat glass surface where you place documents; ideal for
photos and pages.
Sheet-fed Scanner: Pulls paper through rollers; useful for scanning multiple pages
quickly.
Handheld Scanner: A small device moved manually over the document.
Drum Scanner: Uses photomultiplier tubes for very high-resolution scans (used
professionally).
Advantages
Disadvantages
Applications
What is OMR?
OMR is a device that reads marks made on specially designed paper forms, such as filled
bubbles or checkboxes.
How it Works
Applications
Advantages
Disadvantages
A bar code reader scans and decodes barcodes—patterns of parallel lines representing
numbers or characters.
How it Works
Applications
Advantages
Disadvantages
What is MICR?
MICR is a technology that reads characters printed with special magnetic ink, typically
found on bank cheques.
How it Works
Applications
Disadvantages
What is OCR?
OCR is a technology that converts printed or handwritten text into machine-readable digital
text.
How it Works
Applications
Advantages
Disadvantages
The processing device is the brain of the computer that processes data and controls all
operations. It mainly consists of:
The CPU is the core component responsible for executing instructions and managing
the flow of data inside the computer.
Often called the "brain" of the computer.
It fetches instructions from memory, decodes them, executes them, and stores the
results.
The CPU consists of two main parts: the Arithmetic Logic Unit (ALU) and the
Control Unit (CU).
The Control Unit manages and coordinates all activities inside the CPU.
It fetches instructions from memory, decodes them, and directs the ALU and other
parts to perform operations.
Controls the flow of data between CPU, memory, and input/output devices.
Sends control signals to synchronize the operations of the computer components.
Summary Table
Component Function
CPU Executes instructions and controls data flow
ALU Performs arithmetic and logical operations
Control Unit (CU) Directs and coordinates CPU activities
Output device
Printer
What is a Printer?
A printer is an output device that converts digital data from a computer into physical hard
copies on paper or other media.
Types of Printers
1. Inkjet Printer
o Sprays tiny droplets of liquid ink directly onto paper through nozzles.
o Can produce high-quality color and photo prints.
o Common in home and small office use.
o Advantages: Good color quality, relatively inexpensive.
o Disadvantages: Ink cartridges can be costly and run out quickly; slower than
laser printers.
2. Laser Printer
o Uses a laser beam to form an electrostatic image on a drum.
o Toner (powdered ink) sticks to the charged areas.
o Heat and pressure fuse toner onto paper.
o Common in offices due to speed and efficiency.
o Advantages: Fast printing, sharp text quality, economical for high volume.
o Disadvantages: Higher initial cost; color laser printers are expensive.
3. Dot Matrix Printer
o Impact printer that strikes an inked ribbon to form characters or images.
o Prints using a matrix of dots.
o Useful for printing multi-part forms (carbon copies).
o Advantages: Can print on multi-layer forms; durable and cheap.
o Disadvantages: Noisy; low print quality compared to inkjet and laser.
4. Thermal Printer
o Uses heat to produce images on special heat-sensitive paper.
o Often used in receipts and labels.
o Advantages: Quiet, fast, low maintenance.
o Disadvantages: Requires special paper; prints fade over time.
Applications of Printers
Advantages of Printers
Disadvantages of Printers
Monitor
What is a Monitor?
A monitor is an output device that displays visual information generated by the computer. It
shows text, images, videos, and graphical user interfaces.
Types of Monitors
Applications
Advantages of Monitors
Disadvantages of Monitors
Plotter
What is a Plotter?
Unlike printers that print pixel-based images, plotters draw continuous lines directly
onto paper.
A pen or multiple pens move over the paper guided by computer-controlled motors.
The pen can change colors or thickness depending on the design.
Some modern plotters use cutting tools instead of pens.
Types of Plotters
1. Drum Plotter
o Paper is wrapped around a drum.
o The drum rotates while the pen moves horizontally.
o Suitable for long drawings on continuous paper.
2. Flatbed Plotter
o Paper lies flat on a surface.
o The pen moves in both X (horizontal) and Y (vertical) directions over the paper.
o Offers high precision and is ideal for complex drawings.
3. Cutting Plotter
o Uses blades instead of pens to cut materials like vinyl.
o Used in sign making and stencil creation.
Applications
Advantages
Disadvantages
The storage unit in a computer stores data and instructions needed for processing. It mainly
includes different types of memory such as RAM, ROM, PROM, and EPROM.
Types of RAM:
SRAM (Static RAM) is a fast type of memory that doesn’t require refreshing to maintain data. It
uses flip-flop circuits to store each bit and is commonly used as CPU cache (L1, L2, L3) because of
its speed. However, it is more expensive and has lower storage capacity compared to other RAM
types.
DRAM (Dynamic RAM) is slower than SRAM and needs constant refreshing since it stores data in
tiny capacitors that leak charge. Despite this, DRAM is cheaper and can hold much more data,
making it ideal for main system memory (RAM) in computers and laptops.
Summary Table
Secondary storage devices are used to store data and programs permanently, even when the
computer is turned off. They provide large storage capacity and are slower than primary
memory but essential for long-term data storage.
1. Floppy Disk
Description: Magnetic storage medium in a thin flexible disk inside a square plastic
shell.
Capacity: Typically 1.44 MB (very small by today’s standards).
Use: Earlier used for transferring small files and backup.
Limitations: Slow, low capacity, and now obsolete.
2. Optical Disk
4. Magnetic Tape
Capacity
Device Storage Type Common Use Advantages Disadvantages
Range