What is Memory?

Memory is very much lượt thích our brain as it is used lớn store data và instructions. Computer memory is the storage space where data is lớn be processed, and instructions needed for processing are stored. The memory is divided into a large number of smaller portions called the cell. Every cell/ location has a unique address and a size. Two types of memories are: Primary Memory Secondary MemoryIn this tutorial, we will differentiate between Primary & Secondary memory, & learn: Bạn đang xem: Non volatile memory là gì

What is Primary Memory?

Primary Memory is the main memory of the computer system. Accessing data from primary memory is faster because it is an internal memory of the computer. The primary memory is most volatile, meaning data in primary memory does not exist if it is not saved when a power failure occurs.The primary memory is a semiconductor memory. It is costlier compared with secondary memory. The capacity of primary memory is very much limited and is always smaller compares lớn secondary memory. Two types of Primary Memory are: RAMROM

KEY DIFFERENCE

Primary memory is also called internal memory whereas Secondary memory is also known as a Backup memory or Auxiliary memory. Primary memory can be accessed by the data bus whereas Secondary memory is accessed by I/O channels. Primary memory data is directly accessed by the processing unit whereas Secondary memory data cannot be accessed directly by the processor. Comparing primary & secondary storage devices, Primary storage devices are costlier than secondary storage device whereas Secondary storage devices are cheaper compared to primary storage device. When we differentiate primary and secondary memory, Primary memory is both volatile và nonvolatile whereas Secondary memory is always a non-volatile memory.

RAM (Random Access Memory)

Random access memory which is also known as RAM is generally known as a main memory of the computer system. It is called temporary memory or cache memory. The information stored in this type of memory is lost when the power supply lớn the PC or laptop is switched off.

ROM (Read Only Memory)

It stands for Read Only Memory. ROM is a permanent type of memory. Its content is not lost when the power supply is switched off. The computer manufacturer decides the information of ROM, & it is permanently stored at the time of manufacturing which can not be overwritten by the user.

What is Secondary Memory?

Types of Secondary memory

Characteristic of Primary Memory

The computer can"t run without primary memoryIt is known as the main memory.You can thua thảm data in case power is switched offIt is also known as volatile memoryIt is a working memory of the computer.Primary memory is faster compares to secondary memory.

Characteristic Secondary Memory

These are magnetic và optical memoriesSecondary memory is known as a backup memoryIt is a non-volatile type of memoryData is stored permanently even when the nguồn of the computer is switched offIt helps store data in a computerThe machine can run without secondary memorySlower than primary memory

Primary Memory Vs Secondary Memory

*

Difference between Main memory and Secondary memory Difference between Main memory và Secondary memory ParameterPrimary memorySecondary memory
Nature The primary memory is categorized as volatile & nonvolatile memories. The secondary memory is always a non-volatile memory.
Alias These memories are also called internal memory. Secondary memory is known as a Backup memory or Additional memory or Auxiliary memory.
Access Data is directly accessed by the processing unit. Data cannot be accessed directly by the processor. It is first copied from secondary memory khổng lồ primary memory. Only then CPU can access it.
Formation It"s a volatile memory meaning data cannot be retained in case of nguồn failure. It"s a non-volatile memory so that that data can be retained even after power failure.
Storage It holds data or information that is currently being used by the processing unit. Capacity is usually in 16 to lớn 32 GB It stores a substantial amount of data and information. Capacity is generally from 200GB to terabytes.
Accesses Primary memory can be accessed by the data bus. Secondary memory is accessed by I/O channels.
Expense Primary memory is costlier than secondary memory. Secondary memory is cheaper than primary memory.

Summary

Computer memory is the storage space where data is to be processed, & instructions needed for processing are stored Two types of memories are: Primary memory và Secondary memory Primary memory is the main memory of the computer system. Accessing data from primary memory is faster because it is an internal memory of the computer. All secondary storage devices which are capable of storing high volume data is referred to lớn as secondary memory Types of Primary Memory 1) RAM, 2) ROM Types of Secondary Memory 1) Hard Drive, 2) SSD, 3) Flash, 4) Optical Drive, 5) USD Drive, 3) Magnetic Tapes The computer can"t run without primary memory. You can đại bại data in case power is switched off Data is stored permanently in Secondary Memory even when the nguồn of the computer is switched off Primary memory is expensive & is available in limited in kích thước in a computer. Secondary memory is cheaper compared to lớn primary memory. Report a Bug

Software Engineering Tutorial

Top Tutorials