What is Memory In computer ?
Memory is one type of components that are used to store data and instructions that a computer's central processing unit (CPU) can access and manipulate.
There are two primary types of memory in a computer:
Primary Memory (Main Memory):
This type of memory is used to store data and instructions that are actively being used or processed by the CPU.
The two main types of primary memory are
RAM (Random Access Memory):
RAM is a volatile type of memory that provides fast read and write access to data.
It is used to store the operating system, application programs, and data that is currently being processed.
Data in RAM is temporary and is lost when the computer is turned off or restarted.
ROM (Read-Only Memory):
ROM is a non-volatile memory used to store firmware or software that is permanently written onto the computer's motherboard or other hardware components.
It contains instructions that are essential for booting up the computer, such as the BIOS (Basic Input/Output System).
Secondary Memory (Storage Devices):
Secondary memory is used to store data and programs that are not actively in use.
Secondary memory is non-volatile, meaning the data remains intact even when the computer is turned off.
Example , Hard Disk Drives,Solid-State Drives,Optical Drives,USB Flash Drives,External Hard Drives
Hard Disk Drives (HDD):
These are magnetic storage devices used for long-term data storage.
They provide large storage capacities but are relatively slower than solid-state drives (SSD) in terms of data access speed.
Solid-State Drives (SSD):
SSDs use flash memory to store data and are faster and more reliable than HDDs.
They are commonly used for operating system and application storage.
Optical Drives:
Optical discs like CDs, DVDs, and Blu-ray discs are used for storing data, music, movies, and software.
USB Flash Drives:
These portable storage devices use flash memory to store data and are often used for data transfer and backup.
External Hard Drives:
These are similar to internal HDDs or SSDs but are housed in an external enclosure and connected to a computer via USB, Thunderbolt, or other interfaces.