0% found this document useful (0 votes)
39 views25 pages

Comp Fundamentals

Uploaded by

sainiparsa9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views25 pages

Comp Fundamentals

Uploaded by

sainiparsa9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

" Computer Fundamentals:

Evolution of Computers through generations, Characteristics of Computers, Strengths


and Limitations of Computers, Classification of Computers, Functional Components of
a Computer System, Applications of computers in Various Fields."

I’ll break these down at an ultra–graduation level, with deep explanations, technical
insights, examples, and diagrams in mind-map style.

Evolution of Computers Through Generations


Introduction

The history of modern computers is divided into generations, each marked by a major
technological breakthrough in hardware and software. This progression improved speed, size,
cost efficiency, storage capacity, and versatility.

First Generation (1940–1956) – Vacuum Tubes

Technology:

 Used vacuum tubes for circuits


 Magnetic drums for primary memory

Features:

 Large in size, occupied entire rooms


 Power-hungry and produced excessive heat
 Programming done in machine language (binary)
 Input: Punched cards / paper tape
 Output: Printouts

Examples: ENIAC, EDVAC, UNIVAC I

Advantages:

 First step in fully electronic computing


 Much faster than mechanical calculators

Limitations:

 Frequent tube failures


 Very costly
 Limited storage and programming flexibility

1
Second Generation (1956–1963) – Transistors

Technology:

 Transistors replaced vacuum tubes → smaller, faster, more reliable


 Magnetic core memory

Features:

 Speed in microseconds
 Lower heat generation and power consumption
 Programming in assembly language and early high-level languages (COBOL,
FORTRAN)
 Batch processing OS introduced

Examples: IBM 1401, IBM 7090

Advantages:

 More reliable, smaller size


 Easier maintenance
 Greater programming capability

Limitations:

 Still expensive
 Input/output mainly via punched cards

Third Generation (1964–1971) – Integrated Circuits

Technology:

 Integrated Circuits (ICs) replaced individual transistors


 Semiconductor memory

Features:

 Speed in nanoseconds
 Smaller, more powerful machines
 Multiprogramming & time-sharing OS
 Programming in higher-level languages became standard (BASIC, Pascal)

Examples: IBM System/360, Honeywell 6000 series

Advantages:

2
 Greatly increased processing speed
 Reduced cost per unit of processing power
 Supported more applications

Limitations:

 Still required controlled environments


 Manufacturing complexity increased

Fourth Generation (1971–Present) – Microprocessors

Technology:

 Microprocessors: entire CPU on a single chip


 Use of Very Large Scale Integration (VLSI) circuits

Features:

 Personal computers (PCs) emerge


 Graphical User Interfaces (GUIs), networking, and portability
 Wide range of programming languages
 Mass storage: hard drives, optical disks

Examples: Intel 4004, IBM PC, Apple Macintosh

Advantages:

 High processing power in small devices


 Affordable for individuals and small businesses
 Extremely versatile applications

Limitations:

 Obsolescence rate is high due to fast innovation

Fifth Generation (Present & Future) – Artificial Intelligence

Technology:

 Ultra Large Scale Integration (ULSI)


 AI & Machine Learning, Natural Language Processing
 Quantum computing research

Features:

3
 Knowledge-based systems, expert systems
 Voice recognition, robotics
 Parallel processing & cloud computing

Examples: IBM Watson, Google DeepMind, Quantum prototypes

Advantages:

 Intelligent decision-making
 Vast processing capabilities
 Automation of complex tasks

Limitations:

 Ethical concerns and dependency risks


 High research and development cost

Computers evolved in five major generations, each marked by technological breakthroughs


in hardware, software, and processing capabilities.

Programming
Generation Period Key Technology Characteristics Example
Language
Huge size, high
1940s– power consumption, ENIAC,
1st Gen Vacuum tubes Machine language
1956 heat, limited UNIVAC
memory
1956– Smaller, faster, more
2nd Gen Transistors Assembly language IBM 1401
1963 reliable
High-level
1964– Integrated languages Multiprogramming,
3rd Gen IBM 360
1971 Circuits (ICs) (FORTRAN, less cost
COBOL)
1971– Microprocessors Personal computers Apple II,
4th Gen C, Pascal
1980s (VLSI) emerge IBM PC
AI, ULSI, Modern
1980s– Python, Java, AI Natural language
5th Gen parallel AI
Present languages processing, robotics
processing systems

Mind Map:

Evolution of Computers
├── 1st Gen → Vacuum Tubes
├── 2nd Gen → Transistors
├── 3rd Gen → ICs
├── 4th Gen → Microprocessors

4
└── 5th Gen → AI & ULSI

2. Characteristics of Computers
Computers possess unique traits that distinguish them from human processing:

 Speed:
Measured in Hz, MHz, GHz — modern CPUs process billions of instructions per
second.
 Accuracy:
Virtually error-free when given correct instructions; errors usually due to faulty
programming or hardware failure.
 Automation:
Once started, executes tasks without further intervention.
 Storage:
Can store vast data — from MBs to exabytes — with instant retrieval.
 Versatility:
Handles diverse tasks: numerical, logical, multimedia processing.
 Connectivity:
Integrated into networks, enabling global communication.

Diagram — Key Traits:

+-----------+
| Speed |
+-----------+
|
+-----------+ | +-----------+
| Accuracy | | | Automation|
+-----------+ | +-----------+
|
+------------------+
| Storage & Versatility |
+------------------+

3. Strengths and Limitations of Computers


Strengths:

 High Processing Power: Multi-core CPUs and GPUs for complex simulations.
 Data Handling: Can manage huge datasets for analytics.
 Consistency: No fatigue; same performance over time.
 Connectivity: Cloud computing, IoT integration.
 Cost Efficiency (over time): Low per-task cost.

Limitations:

 No Self-thinking: Operates strictly on instructions; lacks human judgment.


 Dependency on Input Quality: Garbage in, garbage out (GIGO).

5
 No Creativity (without AI programming): Can’t innovate by itself.
 Vulnerability: Security risks, malware.

Classification of Computers
Computers can be classified based on purpose, data handling, size, and generation.
Each classification focuses on a different aspect of a computer’s design and usage.

Based on Purpose

a) Special Purpose Computers

 Designed to perform a specific task only.


 Optimized for that task → faster and more efficient than general-purpose machines
for that function.
 Examples:
o Weather forecasting systems
o Traffic control systems
o Embedded systems in appliances

b) General Purpose Computers

 Can perform a wide variety of tasks using different programs.


 Examples: Desktop PCs, laptops, servers.

Based on Data Handling (Type of Data Processed)

a) Analog Computers

 Process continuous data (values change smoothly over time).


 Used for scientific and engineering simulations.
 Example: Old mechanical speedometers, flight simulators.

b) Digital Computers

 Process discrete data (binary form – 0s & 1s).


 Most modern computers are digital.
 Examples: Laptops, smartphones.

c) Hybrid Computers

 Combine analog and digital features.


 Analog part handles continuous data, digital part converts it to binary for processing.

6
 Examples: Hospital ECG machines, industrial control systems.

Based on Size and Processing Power

a) Microcomputers

 Smallest type, based on microprocessors.


 Designed for individual use.
 Examples: Desktops, laptops, tablets.

b) Minicomputers

 Mid-range size; can serve multiple users at once.


 Used in small/medium organizations.
 Examples: PDP-11, IBM AS/400.

c) Mainframe Computers

 Large, powerful systems capable of handling hundreds or thousands of users


simultaneously.
 Used in banks, airlines, large corporations.
 Examples: IBM zSeries.

d) Supercomputers

 Extremely fast; used for complex scientific calculations.


 Applications: weather modeling, space research, cryptography.
 Examples: Cray-1, PARAM, Fugaku.

Based on Generation

 First Generation: Vacuum tubes (1940–1956)


 Second Generation: Transistors (1956–1963)
 Third Generation: Integrated Circuits (1964–1971)
 Fourth Generation: Microprocessors (1971–Present)
 Fifth Generation: AI and quantum research (Present & Future)

5. Functional Components of a Computer System


Based on Von Neumann Architecture:

 Input Unit: Devices like keyboard, mouse — data entry.


 Output Unit: Monitor, printer — displays results.

7
 Storage Unit:
o Primary: RAM, cache.
o Secondary: HDD, SSD.
 CPU:
o Control Unit (CU): Directs operations.
o Arithmetic Logic Unit (ALU): Performs calculations.
 Software Layer: Operating system + applications.

Block Diagram:

Input → Processing Unit (CU + ALU) ↔ Memory ↔ Output

Applications of Computers in Various Fields


Computers are used in almost every domain due to their speed, accuracy, storage capacity,
and automation abilities.

Education

 E-learning platforms (Google Classroom, Moodle, BYJU’s)


 Computer-Based Training (CBT) and simulations
 Online examinations and grading systems
 Virtual labs for experiments and interactive learning
 Research tools: digital libraries, online journals

Business & Commerce

 Accounting software (Tally, QuickBooks)


 Inventory management systems
 Payroll automation
 Online marketing and e-commerce platforms (Amazon, Flipkart)
 Data analytics for decision-making

Healthcare

 Medical imaging (MRI, CT scan)


 Patient record management systems (EMR/EHR)
 Hospital management software
 Telemedicine & remote diagnosis
 Research in drug discovery using supercomputers

8
Banking & Finance

 Core banking systems for online transactions


 ATM services and mobile banking apps
 Fraud detection systems using AI
 Stock market analysis and algorithmic trading
 Secure online payment gateways (UPI, PayPal)

Science & Engineering

 Scientific simulations (climate models, space research)


 CAD/CAM for product design
 Robotics and automation
 Research data analysis
 High-performance computing for experiments

Government & Administration

 E-governance portals for public services


 Digital identity systems (Aadhaar, Social Security)
 Census and statistical analysis
 Public safety and law enforcement databases

Communication

 Email, video conferencing (Zoom, MS Teams)


 Social networking platforms
 Real-time messaging apps
 Satellite communication systems

Entertainment & Media

 Video and audio editing software


 Animation and game development
 Online streaming (YouTube, Netflix)
 Digital photography and music production

Transportation

9
 Airline reservation systems
 GPS navigation and tracking
 Traffic management systems
 Autonomous vehicle research

Defense & Security

 Missile guidance systems


 Military communication networks
 Cybersecurity and encryption
 Surveillance and drone technology

Types of software.
System Software
Definition:
System software is the core set of programs that manage computer hardware, coordinate
between the hardware and user-level applications, and ensure overall system stability. It is
indispensable — without it, the computer is essentially a “dead” machine.

Technical Points:

 Operates in the background and runs as soon as the computer is powered on.
 Often written in low-level languages like C, C++, or assembly for speed and direct
hardware control.
 Consumes fewer resources than application software but is essential for their
execution.

Components:

1. Operating System (OS) – Kernel, shell, and system libraries.


2. Device Drivers – Facilitate communication between OS and hardware.
3. Language Translators – Convert high-level code to machine code (compiler,
interpreter, assembler).

Pros:

 Controls system resources efficiently


 Ensures hardware-software compatibility

10
Cons:

 Complex to design and maintain


 High dependency — if system software crashes, all tasks halt

Examples: Windows, macOS, Linux, Android, iOS.

Application Software
Definition:
Application software is designed to solve specific problems or perform specific user tasks.
It cannot function without system software.

Technical Points:

 Can be general-purpose or domain-specific.


 Written in high-level languages such as Python, Java, or C#.
 User interacts with it through a GUI or CLI.

Categories:

 General Purpose – Office tools, browsers, media players.


 Special Purpose – Industry-focused (e.g., hospital management systems).
 Custom-Made – Tailored for a particular organization’s needs.

Pros:

 Increases productivity
 User-friendly design for targeted tasks

Cons:

 May require license fees


 Limited to the functions it was designed for

Examples: MS Word, Photoshop, MATLAB, WhatsApp.

Utility Software
Definition:
A type of system software focused on maintenance, optimization, and protection of a
computer’s functionality.

Technical Points:

11
 Runs in the background or on-demand.
 Can be bundled with OS or installed separately.
 Often uses low-level access to perform operations like defragmentation, cleanup, or
encryption.

Functions:

 Backup and recovery


 Virus and malware removal
 File compression and decompression
 Disk and memory optimization

Pros:

 Prevents slowdowns and data loss


 Enhances system performance

Cons:

 Some utilities consume high CPU/RAM


 Frequent updates may be required for security

Examples: Avast Antivirus, CCleaner, WinRAR, Acronis True Image.

Shareware
Definition:
Proprietary software provided on a trial basis to let users test before purchasing.

Technical Points:

 May be time-limited (e.g., 30-day trial) or feature-limited (e.g., watermark, export


limits).
 Intended as a marketing approach to encourage purchases.
 Legally, you cannot modify or redistribute it without permission.

Pros:

 Try before you buy


 Often cheaper than enterprise-grade software

Cons:

 Full functionality only after payment


 Can stop working after trial expires

Examples: WinRAR trial version, IDM trial, Filmora with watermark.

12
Freeware
Definition:
Software available for free use without any time restrictions but still under copyright
protection.

Technical Points:

 Distributed freely but source code is usually closed.


 May be monetized through ads or in-app purchases.
 Cannot legally be modified or sold without permission.

Pros:

 Cost-free
 Easy to access and use

Cons:

 No guarantee of updates or security


 May include ads or tracking software

Examples: Google Chrome, Adobe Reader, Skype, VLC Media Player.

Firmware
Definition:
Firmware is permanent or semi-permanent software programmed directly into hardware
devices to control their functions.

Technical Points:

 Stored in ROM, EEPROM, or flash memory inside the device.


 Low-level code close to the hardware layer.
 Updates are possible (firmware upgrades) to improve functionality or patch security
issues.

Pros:

 Device can operate without external software


 Optimized for specific hardware

Cons:

13
 Updating firmware incorrectly can "brick" the device
 Not as flexible as application software

Examples: BIOS in PCs, smartphone bootloader, router OS, smart TV firmware.

Free Software (Freedom-based, not price-based)


Definition:
Software that gives the user freedom to use, study, modify, and share it.
Popularized by Richard Stallman and the Free Software Foundation (FSF).

Four Freedoms:

1. Run the program for any purpose


2. Study and modify the program (requires source code access)
3. Redistribute copies
4. Improve and share improvements

Technical Points:

 Often open-source, but “free software” emphasizes freedom, not cost.


 Licensed under GPL, MIT, Apache, etc.

Pros:

 Transparent and community-driven


 Encourages innovation and collaboration

Cons:

 May lack dedicated technical support


 Quality can vary depending on contributors

Examples: GNU/Linux, LibreOffice, GIMP, Mozilla Firefox.

Memory System
Concept of Bit, Byte, Word, and Nibble
Bit (Binary Digit)

14
 Definition: The smallest unit of data in a computer, representing a binary value —
either 0 (OFF) or 1 (ON).
 Physical Representation: Electrical voltage levels, magnetic polarity, or light pulses
in optical storage.
 Importance: All complex data — text, images, videos — are internally represented
as sequences of bits.
 Example: 1011 → 4 bits.

Nibble

 Definition: A group of 4 bits.


 Relation:
o 1 Nibble = 4 Bits
o Can represent 24=162^4 = 16 different values (0 to 15 in decimal or 0 to F in
hexadecimal).
 Usage: Often used in hexadecimal representation because 1 hex digit corresponds
exactly to 4 bits.
 Example:
o Binary: 1010 = Hexadecimal A = Decimal 10.

Byte

 Definition: A group of 8 bits (2 nibbles).


 Relation:
o 1 Byte = 8 Bits
o Can represent 28=2562^8 = 256 values (0 to 255 in decimal).
 Importance: Basic addressable storage unit in most computer systems.
 Example: ASCII code for the letter A is 01000001 (binary) → 65 (decimal).

Word

 Definition: A fixed-size group of bits that a computer’s CPU can process at once as a
single unit.
 Word Length: Depends on CPU architecture — common sizes: 16-bit, 32-bit, 64-bit.
 Relation:
o Word size = CPU register size = Data bus width.

15
Unit Symbol Size (in bits) Description

Bit b 1 Smallest unit of data; can be 0 or 1.


Nibble — 4 bits Half a byte; often used in BCD coding.
Byte B 8 bits Basic addressable unit in memory.
CPU dependent (16, 32,
Word — Group of bits processed by CPU as one unit.
64 bits)
 Example: A 32-bit processor has a word size of 32 bits (4 bytes).

Storage, Locations, and Addresses


Storage Location

 Each location in memory can store a fixed-size data unit (usually 1 byte).
 Numbering: Each location has a unique address (like a house number in a street).
 Address space depends on word size:
o n-bit address bus → 2n2^n unique addresses.
o Example: 32-bit address bus → 2322^{32} addresses = 4 GB addressable
space.

Memory Address

 Definition: A numeric label that uniquely identifies a memory location.


 Addressing Types:
1. Byte-addressable (most modern systems) — each address points to 1 byte.
2. Word-addressable — each address points to 1 word.

Measuring Units of Storage Capacities


Since 1 byte = 8 bits, larger units are multiples of bytes:

Unit Symbol Value in Bytes Value in Bits


Kilobyte KB 210=10242^{10} = 1024 B 8192 bits
220=1,048,5762^{20} =
Megabyte MB ~8 million bits
1,048,576 B
Gigabyte GB 2302^{30} B ~8 billion bits
Terabyte TB 2402^{40} B ~8 trillion bits
Petabyte PB 2502^{50} B ~8 quadrillion bits
Exabyte EB 2602^{60} B ~8 quintillion bits

Note: In marketing, 1 KB is often taken as 1000 bytes (decimal), but in computing,


binary multiples (KiB, MiB, GiB) are more precise.

16
Access Time
 Definition: Time taken to read or write data to/from memory after the address is
provided.
 Measured in: Nanoseconds (ns) or milliseconds (ms).
 Factors Affecting Access Time:
o Type of memory (SRAM, DRAM, HDD, SSD).
o Memory bus speed.
o Caching mechanisms.

Typical Access Times:

 CPU Registers → <1 ns


 Cache → 1–10 ns
 Main Memory (DRAM) → 50–100 ns
 SSD → ~100 µs
 HDD → ~5–15 ms

Concept of Memory Hierarchy


Why Memory Hierarchy Exists

 Different memory types have different speeds, sizes, and costs.


 Faster memory is more expensive; slower memory is cheaper.
 Goal: Provide illusion of a large, fast, cheap memory.

Hierarchy Levels (Top to Bottom)

Speed (Fastest → Size (Smallest → Cost per Bit (Highest →


Level Example
Slowest) Largest) Lowest)

CPU Registers Processor registers ~0.3 ns Few Bytes $$$$

Cache (L1, L2,


SRAM 1–10 ns KB–MB $$$
L3)
Main Memory DRAM 50–100 ns GB $$
Secondary
SSD, HDD 0.1–15 ms GB–TB $
Storage

17
Speed (Fastest → Size (Smallest → Cost per Bit (Highest →
Level Example
Slowest) Largest) Lowest)

Tertiary Storage Optical Disks, Tape Seconds TB–PB Very low

CPU Registers (fastest, smallest)



Cache Memory (L1, L2, L3)

Primary Memory (RAM)

Secondary Memory (HDD, SSD)

Tertiary Storage (Magnetic Tape)

Principle of Locality

Two types:

1. Temporal Locality: Recently accessed data is likely to be accessed again soon.


2. Spatial Locality: Data close to recently accessed data is likely to be accessed soon.

Caches exploit these to speed up processing.

Diagram (Text Representation)


FAST, COSTLY, SMALL
┌──────────────┐
│ Registers │
├──────────────┤
│ Cache │
├──────────────┤
│ Main Memory │
├──────────────┤
│ SSD / HDD │
├──────────────┤
│ Tape / Cloud │
└──────────────┘
SLOW, CHEAP, LARGE

Primary Memory – RAM & ROM (and


Their Types)

18
Primary Memory – Overview
Definition

Primary memory, also called main memory, is the internal storage directly accessible by
the CPU for reading and writing instructions and data currently in use.

 Purpose: Stores the operating system, application programs, and data that the CPU is
actively using.
 Nature:
o Volatile (loses contents when power is turned off) — except for ROM.
o Faster than secondary memory.
o Located on the motherboard close to the CPU for high-speed data transfer.

Key Features

 Directly Accessible by the CPU through the memory bus.


 Small in Size compared to secondary storage.
 High Speed but more expensive per bit.
 Works in sync with CPU’s clock speed.

Role in CPU Processing

When a program is run:

1. Data and instructions are fetched from secondary storage (like SSD/HDD) into
primary memory.
2. CPU executes instructions from primary memory directly.
3. Results can be temporarily stored back in primary memory before being sent to output
devices or secondary storage.

Types of Primary Memory


Two main categories:

1. RAM (Random Access Memory) → Volatile.


2. ROM (Read Only Memory) → Non-volatile.

RAM – Random Access Memory


19
Definition

 Temporary storage where the CPU can read and write data quickly.
 “Random Access” means any memory cell can be accessed directly without
sequential search.

Characteristics

 Volatile: Loses content when power is off.


 High-speed data access.
 Used for: Storing programs, data, and OS during execution.
 Measured in: GB (e.g., 8 GB RAM).

Types of RAM

A) SRAM – Static RAM

 Stores data using flip-flop circuits.


 No need to refresh as long as power is supplied.
 Faster, more expensive, lower density.
 Used for cache memory in CPUs.
 Access Time: ~1–10 ns.

B) DRAM – Dynamic RAM

 Stores data in capacitors; charge leaks over time, so it needs periodic refreshing.
 Slower than SRAM, cheaper, higher density.
 Used for main memory in computers.
 Access Time: ~50–100 ns.

Types of DRAM:

1. SDRAM (Synchronous DRAM) – Works in sync with CPU clock.


2. DDR SDRAM (Double Data Rate) – Transfers data on both rising & falling edges of
the clock.
o DDR, DDR2, DDR3, DDR4, DDR5 (increasing speed & efficiency).
3. RDRAM (Rambus DRAM) – High-speed interface (less common today).

ROM – Read Only Memory


20
Definition

 Non-volatile memory pre-programmed with data that cannot be (easily) modified.


 Stores firmware (permanent instructions essential for hardware initialization).

Characteristics

 Non-volatile: Retains data even when power is off.


 Slower than RAM.
 Read-only during normal operation.

Types of ROM

A) Mask ROM

 Programmed during manufacturing.


 Cannot be altered afterward.
 Used in devices with fixed firmware.

B) PROM (Programmable ROM)

 Blank ROM that can be programmed once by the user using a PROM programmer.
 Once programmed, it becomes permanent.

C) EPROM (Erasable Programmable ROM)

 Can be erased by UV light exposure and reprogrammed.


 Has a quartz window for UV light access.

D) EEPROM (Electrically Erasable Programmable ROM)

 Can be erased and reprogrammed electrically.


 No need for UV light.
 Supports selective data erasing.

E) Flash Memory

21
 A type of EEPROM with block-level erasing.
 Used in USB drives, SSDs, and modern BIOS chips.

RAM vs ROM – Comparison Table


Feature RAM ROM
Volatility Volatile (data lost on power off) Non-volatile
Speed Faster Slower
Read/Write Read & Write Mostly Read-only
Use Temporary storage for programs/data Permanent storage for firmware
Cost per Bit Higher Lower

Diagram (Text Representation)


Primary Memory
/ \
RAM (Volatile) ROM (Non-volatile)
/ \ / | \
SRAM DRAM MaskROM PROM EEPROM
| | |
SDRAM EPROM Flash

Alright — here’s your Graduation-level, ultra-detailed explanation of Secondary Memory


with the types you mentioned. I’ll break it down with theory, working principles, advantages,
limitations, and examples.

Secondary Memory – Detailed Explanation

Overview
Definition

Secondary memory (also called auxiliary storage or external memory) refers to non-volatile
storage devices that hold data permanently until it is deleted or overwritten.

 Purpose: Stores large amounts of data, programs, backups, and archives.


 Nature:
o Non-volatile (data persists even after power is off)

22
o Slower access compared to primary memory
o Much higher storage capacity
 Connection: Accessed through I/O controllers rather than directly by the CPU.

Why Secondary Memory is Needed

1. Primary memory (RAM/ROM) is limited and volatile.


2. Permanent storage for operating systems, applications, and user data.
3. Cheaper cost per GB compared to main memory.
4. Enables data backup and sharing between systems.

Types of Storage Devices


Secondary storage can be classified into:

1. Magnetic Storage Devices


2. Optical Storage Devices
3. Solid-State (Flash) Storage Devices
4. Cloud Storage (modern category)

Magnetic Storage Devices


(A) Magnetic Tape

 Definition: Long strip of plastic coated with a magnetic oxide material used to store
data in sequential format.
 Data Access: Sequential access → must read through previous data to get to desired
location.
 Working Principle:
o Read/write head magnetizes small spots on the tape in patterns representing
binary data.
 Uses: Archival storage, backups in large organizations.
 Advantages:
o Very high capacity.
o Low cost per bit.
 Limitations:
o Slow access time.
o Not ideal for frequently changing data.

(B) Hard Disk Drive (HDD)

23
 Definition: A magnetic storage device with one or more spinning platters coated
with magnetic material.
 Data Access: Random access using read/write heads that move radially over platters.
 Working Principle:
o Platters spin (5,400–15,000 RPM) while magnetic heads read/write binary
data.
o Data stored in tracks, sectors, and cylinders.
 Uses: OS storage, applications, bulk data storage.
 Advantages:
o Large storage capacity (up to 20 TB+).
o Cheaper than SSD.
 Limitations:
o Slower than SSD.
o Mechanical parts prone to failure.
o Sensitive to shocks.

Optical Storage Devices


(A) Optical Disc

 Definition: Circular plastic disc that stores data using laser light technology.
 Working Principle:
o A laser beam burns microscopic pits into the disc surface (or changes
reflective properties).
o Data is read by detecting light reflections from pits (binary 0/1).
 Examples:
o CD (Compact Disc): ~700 MB
o DVD (Digital Versatile Disc): 4.7–8.5 GB
o Blu-ray Disc: 25–50 GB
 Advantages:
o Portable, inexpensive.
o Good for distributing software, music, and movies.
 Limitations:
o Slower access than HDD/SSD.
o Can be scratched/damaged.

Solid-State Storage Devices


(A) Flash Memory

 Definition: Non-volatile solid-state memory using floating-gate transistors to store


charge.
 Working Principle:
o Data stored as an electrical charge in memory cells.

24
o Read/write without moving parts (purely electronic).
 Examples:
o USB flash drives.
o SSDs (Solid-State Drives).
o Memory cards (SD, microSD).
 Advantages:
o High speed (faster than HDDs).
o Portable, shock-resistant.
 Limitations:
o Higher cost per GB than HDDs.
o Limited write cycles.

Quick Comparison Table


Access
Type Speed Capacity Cost/GB Portability Lifespan
Method
Magnetic Very Very high Very Long (if stored
Sequential Low
Tape slow (TBs) low well)
Hard Disk Medium
Random Medium High (TBs) Low Low
Drive (mechanical wear)
Low–
Optical Disc Sequential Slow Low Medium Medium
Medium
Flash Medium– Medium (write
Random High Higher High
Memory High cycles)

Diagram (Text Representation)


Secondary Storage
├── Magnetic Storage
│ ├── Magnetic Tape
│ └── Hard Disk Drive
├── Optical Storage
│ └── Optical Disc (CD, DVD, Blu-ray)
└── Solid-State Storage
└── Flash Memory (SSD, USB, SD Card)

If you want, I can now merge this Secondary Memory section with the Primary Memory
explanation we just did and also include memory hierarchy diagrams so you have one
complete “Memory System” chapter ready for exams.

Do you want me to prepare that combined version next?

25

You might also like