Computer Memory New File ENGLISH
Computer Memory New File ENGLISH
Dynamic RAM(DRAM)
256M-16G
Magnetic disk
Interface:
SC SI,RAID,
IDE, 1394 Optical disk/Magnetic
80G-300G tapes
AN EXAMPLE OF MEMORY HIERARCHY
L0: Registers ✓ CPU registers hold words retrieved
from L1 cache
Smaller,
Faster L1: L1 cache(SRAM) ✓ L1 cache holds cache lines retrieved
Costlier
Per byte
L2: L2 cache(SRAM) ✓ L2 cache holds cache lines retrieved
from main memory
L3: Main memory (DRAM) ✓ Main memory holds disk bio retrieved
from main memory
Larger,
Slower L4: Local secondary ✓ Local disks hold files retrieved from
Cheaper storage(local disks) disks on remote network servers
Per byte
L5: Remote secondary
storage (tapes,web)
REGISTERS
✓ A processor register is a small, fast storage area within the CPU used to hold data
Meaning temporarily for quick access.
✓ Top of Memory Hierarchy: Registers are the fastest memory available to the CPU.
✓ Inbuilt Memory: Registers are integral to the CPU, storing data for immediate
Features processing.
✓ Limited Capacity: Registers hold specific data types, such as instructions or addresses
✓ Speed: Faster than cache or main memory, leading to quicker data retrieval.
✓ Deterministic: No cache misses, ensuring reliable data access.
Advantages ✓ Efficiency: Reduces memory traffic by keeping frequently accessed data close to the
CPU.
✓ Cache memory is a small, high-speed storage area that temporarily holds frequently
Meaning accessed data for quick retrieval by the CPU.
✓ Integrated with CPU: Cache is built into the CPU, making it quickly accessible.
✓ Temporary Storage: Stores data that the CPU needs frequently, acting as a quick-
Features access buffer.
✓ Faster Access: Enables much quicker data retrieval compared to regular memory.
✓ Speed: Works much faster than regular memory, boosting overall speed.
Advantages ✓ Efficiency: Reduces CPU wait times by providing fast access to data.
✓ Improved Performance: Helps the system run more smoothly by minimizing delays.
✓ Memory is present inside the CPU ✓ It can be present inside or outside the ✓ It is located outside the CPU.
itself. CPU.
✓ It can work as the same speed as ✓ They are slower than L1. ✓ It is slower than L1 and L2
of the CPU.
✓ Each core of CPU have its own ✓ Each core of CPU can have its own L2 ✓ It is shared by all the cores of CPU.
level 1 Cache Cache or there single L2 Cache,
DIFFERENCE BETWEEN CACHE MEMORY AND VIRTUAL MEMORY
Basis for Comparison Cache Memory Virtual Memory
Basic ✓ It extends the capacity of main memory ✓ It fastens the data accessing speed of CPU.
for the user.
Function ✓ It allows execution of the program that is ✓ It stores the copies of original data that has
larger than the main memory been recently used.
✓ Primary memory stores the data and instructions that the computer is currently
Meaning using.
✓ Temporary Storage: Stores data only while the computer is powered on.
Features ✓ Limited Capacity: Can only hold a certain amount of data.
✓ Immediate Access: Data is readily accessible by the CPU for processing
Primary Memory
RAM ROM
DRAM SPRAM
✓ RAM is a type of volatile memory that temporarily stores data and instructions
Meaning needed by the CPU for immediate tasks.
✓ SRAM is a type of volatile memory that uses flip-flops to store data, offering faster
Meaning access speeds.
✓ DRAM is a type of volatile memory that stores each bit of data in a capacitor, which
Meaning requires periodic refreshing.
Full Form ✓ Static Random Access Memory ✓ Dynamic Random Access Memory
Storage Component ✓ Uses transistor to store single bit of ✓ Uses separate capacitor to store each bit of
information. data.
Refresh ✓ No need to refresh for maintaining data. ✓ Needs to be refreshed thousands of time
every second.
Storage per bit ✓ Can store many bits per chip ✓ Cannot store many bits per chip
RDRAM (RAMBUS DYNAMIC RAM)
✓ Non-volatile memory that stores permanent data essential for computer startup and
Meaning operation.
✓ Permanent Storage: Stores essential instructions that do not change over time.
Features ✓ Non-volatile: Retains data even when the computer is powered off.
✓ Read-Only: Data can only be read, not modified by the user.
ROM Read-Only Memory Chips ✓ Information is written to a ROM chip when it is manufactured.
✓ A ROM chip cannot be erased or re-written and cab become
obsolete.
Modification ✓ A Read Only Memory ✓ A programmable ROM that ✓ A user-modified ROM that can
(ROM) that can be can be erased and reused. be erased and reprogrammed
modified only by a users repeatedly through a normal
electrical voltage.
Full Form ✓ Stands for Programmable ✓ Stands for Erasable ✓ Stands for Electrically Erasable
Read Only Memory Programmable Read Only Programmable Read Only
Memory Memory
Use ✓ Used to store the data that has to be currently ✓ It stores the instructions required during
processed by CPU temporarily. bootstrap of the computer.
Modification ✓ Data in RAM can be modified. ✓ Data in ROM can not be modified.
Capacity ✓ RAM sizes from 64 MB to 4GB. ✓ ROM is comparatively smaller than RAM
Accessibility ✓ RAM can be directly accessed by the processor. ✓ ROM can’t be directly accessed by the processor
since t is transferred to RAM
Storage ✓ RAM is used to store the temporary ✓ ROM is used to store permanent information
information for limited time which can’t be deleted
Definition ✓ Volatile memory is the type of memory ✓ Non-volatile memory is a type of memory
where data is lost when power is turned where the data is not lost when a computer
off is switched off
Storage Capacity ✓ It has less storage capacity ✓ It has more storage capacity than volatile
memory
Economical ✓ It is more costly per unit size ✓ It is less costly per unit size.
Data Access ✓ CPU has direct access to data ✓ CPU has no direct access to data
Impact ✓ It has a high impact on the system’s ✓ It has a high impact on system’s storage
performance. capacity.
Data Stored in ✓ Data and program that are currently fetch ✓ Any kind of data and programs are stored
by CPU are stored in volatile memory. in non-volatile memory.
Process ✓ Process can read and write ✓ Process can only read
Example ✓ Example: RAM and Cache memory ✓ Example: ROM and HDD
SECONDARY STORAGE
✓ Type of non-volatile memory that retains data permanently, even when the power is
Meaning turned off, making it essential for long-term data storage.
Magnetic Tape
Magnetic Disks Optical Disks Memory Storage Devices
CD WORM Blu-Ray
Floppy Disks Hard Disks CD-RW DVD
ROM CD-R Disk
Winchester
Zip Disk Disk Pack Flash Drive Memory Card
Disk
MAGNETIC TAPE
✓ Magnetic tape is a serial access storage medium used to store large volumes of data
Meaning at low costs.
✓ Slow Access: Serial access can be slow compared to other storage types.
Disadvantages ✓ Special Equipment Required: Needs specific devices to read and write data.
✓ Data Corruption Risk: Susceptible to magnetic fields, which can corrupt data.
MAGNETIC DISK
✓ Magnetic disks are storage devices made of rigid metals or synthetic materials, used
Meaning for direct access data storage.
✓ Durability: More durable than other storage forms like magnetic tapes.
Advantages ✓ Capacity: Offers higher storage capacity compared to older storage methods.
✓ Speed: Provides faster data retrieval through direct access.
Access Methods ✓ Data is accessed in a linear, sequential ✓ Data is accessed directly by specifying the
manner. address or location.
Data Retrieval ✓ Specific data is retrieved by scanning ✓ Specific data is retrieved instantly without
through all preceding data. scanning preceding data.
Efficiency ✓ Efficient for reading large volumes of ✓ Efficient for random access and quick data
data sequentially. retrieval.
Storage Media ✓ Commonly used in tape drives and ✓ Commonly used in HDDs, SSDs, and
streaming media. magnetic disks.
Use Cases ✓ Suitable for batch processing tasks, ✓ Ideal for interactive applications, databases,
backups, and archival purposes. and file systems.
DIFFERENCE BETWEEN MAGNETIC TAPE AND MAGNETIC DISK
Basis for Comparison Magnetic Tape Magnetic Disk
Basic ✓ Used for backup, and storage of less ✓ Used as a secondary storage.
frequently used information.
Physical ✓ Plastic thin, long, narrow strip coated ✓ Several platters arranged above each other
with magnetic material. to form a cylinder, each platter has a read-
write head.
✓ A floppy disk is a small, portable storage device used to transfer up to 1.4 MB of data,
Meaning enclosed in a plastic jacket, and was once popular for file transfer between computers.
✓ Series of Platters: Disks coated with magnetic material, stacked around a spindle.
Features ✓ High-Speed Rotation: Platters spin quickly at 5400 to 7200 RPM for fast data access.
✓ Large Capacity: Stores large amounts of data, from GBs to TBs.
✓ Popularity: Gaining popularity in secondary ✓ Structure: Consists of multiple hard disk platters
storage due to its higher capacity. mounted on a single central shaft, rotating
✓ Capacity: A single ZIP disk can store 100 MB, together.
equivalent to 70 floppy disks. ✓ Read/Write: Each disk in the pack has its own
✓ Convenience: Allows for easy storage and read/write head, except for the top and bottom
transport of larger files that are too big for surfaces.
floppies. ✓ Removable: Disk packs are removable and
✓ Versatility: Available in both portable and fixed interchangeable, allowing them to be mounted or
types, catering to different user needs. kept offline.
✓ Usage: Ideal for users needing to store and ✓ Flexibility: Different disk packs can be mounted
transfer medium-sized data conveniently. on the same drive at different times, offering
flexibility.
✓ Storage: Provides virtually unlimited storage
capacity by allowing multiple disk packs to be
used.
DIFFERENCE BETWEEN HARD DISK DRIVE AND FLOPPY DISK
Basis for Comparison Hard Disk Drive Floppy Disk
Location ✓ Can be inserted in and removed from a disk ✓ It is not removable like the floppy disk, but
drive. It can also be transferred between permanently housed in a disc unit inside the
computers. computer.
Made of ✓ Made of a flexible plastic and can bend ✓ Made of a metal and is usually rigid/firm.
easily.
Consists ✓ Consists of a single platter/disk ✓ Consist of more than 1 platter arranged one
on top of the other to form a disk pack
Nature ✓ Floppy disk drive only begin rotating when ✓ Hard disk drive spin continuously i.e., they
they are required to read & write data start rotating when a computer is switched on
Function ✓ Have a spindle hole ✓ Have a rotating spindle that holds the disk
plates together in a disk pack & is used to
rotate the disk pack when reading or writing
onto the disk.
OPTICAL DISKS
✓ Storage devices that use light reflection to store data in the form of bit values,
Meaning providing a durable and standardized medium for storing and accessing information.
✓ High Area Density: Provides greater storage capacity than magnetic storage.
Features ✓ Standardized: Widely used and compatible with various devices.
✓ Longer Data Life: More durable than magnetic storage.
✓ Lower Speed: Slower read/write speeds compared to other modern storage options.
✓ Limited Reusability: Some formats are read-only or have limited rewrites.
Disadvantages ✓ Physical Fragility: Susceptible to scratches and physical damage, which can render
them unusable.
TYPES OF OPTICAL DISKS
Types of Optical Disks Meaning Features
CD-ROM ✓ A read-only compact disk where data ✓ 1. Stores up to 700 MB of data.
is pre-recorded and cannot be ✓ 2. Commonly used for software and media distribution.
altered. ✓ 3. Data is written during manufacturing.
WORM ✓ Write-Once, Read-Many optical disk ✓ 1. Permanent data storage.
where data can be written once but ✓ 2. Ideal for archiving.
read many times. ✓ 3. Data cannot be modified after recording.
CD-R ✓ A recordable CD that allows users to ✓ 1. Can be written once by the user.
write data once; the data cannot be ✓ 2. Stores up to 700 MB of data.
changed or erased. ✓ 3. Used for backup and data transfer
Error correction codes ✓ CIRC and EFMP ✓ RS-PC and EFM plus
DIFFERENCE BETWEEN DVD AND BLU-RAY DISC
Basis for Comparison DVD Blu-Ray Disk
Storage Capacity ✓ Typically holds around 4.7GB (single-layer) ✓ Offers higher capacity, ranging from 25GB
or 8.5GB (dual-layer) of data. (single-layer) to 50GB (dual-layer).
Data Density ✓ Lower data density, limiting high-definition ✓ Higher data density, enabling storage of full HD
content and data quality. and 4K content with better quality.
Laser Technology ✓ Uses red laser (650nm wavelength) for ✓ Utilizes blue-violet laser (405nm wavelength),
reading/writing data. allowing for greater precision and increased
storage.
Playback Quality ✓ Limited to standard definition (SD) and ✓ Supports high-definition (HD) and ultra-high-
lower-quality video. definition (UHD) video for superior visual
experience.
Compatibility ✓ Compatible with most older DVD players ✓ Requires specialized Blu-ray players and drives,
and drives. not backward-compatible with DVD players.
DIFFERENCE BETWEEN FLASH DRIVE AND MEMORY CARD
Basis for Comparison Flash Drive Memory Card
Physical Form ✓ Compact USB stick with a built-in USB ✓ Small, portable card often used in cameras,
connector for direct computer connection. smartphones, and other devices.
Usage ✓ Used mainly for data storage and transfer ✓ Typically employed as storage in devices like
between computers. cameras and phones
Connectivity ✓ Plugs directly into USB ports on computers ✓ Requires a card reader or device with a card
and other devices. slot for data access.
Variants ✓ Usually comes in standard USB-A or newer ✓ Various formats like SD, micro SD, CF, etc., with
USB-C formats. different capacities.
Portability ✓ Easier to carry and use due to integrated ✓ Compact but may need a card reader for
design. broader use.
COMPARISON CHART
Basis for Floppy Disk Hard Disk Magnetic Tape Optical Disk
Comparison
Access Mode ✓ Direct Access ✓ Direct Access ✓ Sequential Access ✓ Direct Access
Typical Use ✓ Store data files ✓ Store programs and ✓ Backup programs ✓ Reference material
data and data
DIFFERENCE BETWEEN PRIMARY AND SECONDARY MEMORY
Basis for Comparison Primary Memory Secondary Memory
Also Known as ✓ Also known as Primary memory or active ✓ Also known as additional memory or back
memory or internal memory memory or external memory
Nature ✓ Categorized as volatile and non volatile ✓ Always categorized as non volatile
memories, RAM is volatile memory
Whereas ROM is non volatile memory
DVD-ROM Known as read-only disc, usually used to 4.7 GB Highly compatible most computers and devices
store commercial program and data. You
can’t add or delete information on a
DVD-ROM.
DVD-RW You can burn files to these DVD disc types 4.7 GB You don’t need to close the session to read this
more than once. Also it allows deleting disc in another computer. Compatible with many
DVD+RW unwanted files from the disc to provide 4.7 GB computers and some devices.
space and add additional files. So it can be As the DVD-RW you don’t need to close the
DVD-RAM burned and erased many times. 2.6 GB session to read this disc in another computer.
4.7 GB Compatible with many computers and some
5.2 GB devices.
DVD-RAM discs can generally be used only in
DVD-RAM drives. It might not be readable by
DVD players and other devices.
Blue-Ray You can burn files to a BD-R once, but you 25 GB You must close the session to read this disc in
can’t delete files different computers. Compatible with computers
From the disc. Each burn is permanent running windows 7.
SECONDARY MEMORY DEVICE AND THEIR STORAGE METHOD & CAPACITY
Secondary Memory Device Storage Capacity