Skip to main content

Highlight Cell Using Sortcuts #shortsviral #trending

प्राइमरी और सेकेंडरी मेमोरी में क्या अंतर है • What is the difference between primary and secondary memory

 In the world of computers, memory refers to the space where data and instructions are stored for processing. There are two types of memory in a computer: primary memory (also known as main memory) and secondary memory (also known as auxiliary memory).


Primary Memory:


Primary memory is the main memory of a computer, which is directly accessible to the processor. It is also called the volatile memory because it loses its contents when the computer is turned off. Primary memory is used to store data that is currently being used by the CPU, including the operating system, programs, and data that the CPU is actively processing.


There are two main types of primary memory: Random Access Memory (RAM) and Read-Only Memory (ROM).


RAM is a type of primary memory that can be read and written to by the CPU. It is used to store the data and programs that are currently being used by the computer. When the computer is turned off, the contents of RAM are lost. This is why RAM is also called volatile memory.


ROM, on the other hand, is a type of primary memory that can only be read. It is used to store the firmware and other essential software that are needed to boot up the computer. ROM is non-volatile memory, which means that its contents are retained even when the computer is turned off.


Secondary Memory:


Secondary memory is the auxiliary memory of a computer, which is used to store data and programs that are not currently being used by the CPU. Unlike primary memory, secondary memory is non-volatile, which means that its contents are retained even when the computer is turned off.


There are several types of secondary memory, including hard disk drives (HDD), solid-state drives (SSD), and external storage devices such as USB drives and memory cards.


HDDs are the most common type of secondary memory. They consist of spinning disks that are coated with magnetic material, which can be used to store data. Data can be read from and written to the disk using a read/write head that moves back and forth across the disk.


SSDs are a newer type of secondary memory that uses flash memory to store data. They are faster than HDDs, but also more expensive.


External storage devices such as USB drives and memory cards are also a type of secondary memory. They are convenient for storing and transferring data between computers, but they are generally slower than internal HDDs and SSDs.


In summary, primary memory (or main memory) is the volatile memory that is directly accessible to the processor and used to store data and programs that are currently being used by the CPU. Secondary memory (or auxiliary memory) is the non-volatile memory that is used to store data and programs that are not currently being used by the CPU.





Comments

Popular posts from this blog

What is the hard disk drive? || हार्ड डिस्क ड्राइव क्या है?

WHAT IS THE HARD DISK DRIVE? A hard disk, also known as a hard drive, is a storage device used in computers and other digital devices to store data. It is a non-volatile storage device, which means that data is retained even when the power is turned off. The hard disk consists of one or more metal platters coated with a magnetic material. These platters spin rapidly while a read/write head moves across the surface to read or write data. The read/write head is mounted on an arm that can move in and out, allowing it to access different parts of the platter. The data on a hard disk is stored in binary form as magnetic patterns on the surface of the platters. The read/write head can change the magnetic state of these patterns, which allows it to write data to the disk or read data from the disk. Hard disks are available in various sizes and capacities, ranging from a few gigabytes to several terabytes. They are commonly used in desktop and laptop computers, servers, and other digital devic...

What is the difference between CPU and GPU

  CPU (Central Processing Unit) and GPU (Graphics Processing Unit) are both types of processors used in computing, but they have different functions and characteristics. CPU: The CPU is the "brain" of a computer and is responsible for performing most of the computing tasks. It typically has a few processing cores, each capable of executing a single thread or process at a time. It is designed for handling a wide range of tasks, including running the operating system, managing programs, performing mathematical calculations, and handling input/output operations. It has a high clock speed, which means it can perform a large number of operations per second, but at the cost of power consumption and heat generation. It is optimized for handling serial processing, where a single task is performed step by step. GPU: The GPU is specialized for performing complex mathematical calculations required for rendering graphics and video processing. It has hundreds or even thousands of processi...