在本文中,我们将讨论RAM和ROM的概述,然后介绍每种类型的不同类型,然后主要关注RAM和ROM之间的相似性。让我们一一讨论。
随机存取存储器(RAM) :
随机存取存储器是一种存储器,即易失性存储器,用于存储CPU使用的程序和数据。易失性存储器需要电源来维持其存储的数据或信息。内存是主板上安装的计算机中的硬件元素。它不存储计算机中存在的全部数据,因为它仅存储CPU当前使用的数据。
RAM类型:
RAM分为以下两种类型。
- 静态RAM –
静态夯在晶体管单元的帮助下存储数据。 - 动态RAM –
动态内存在晶体管和电容器单元的帮助下存储数据。
只读存储器(ROM) :
只读存储器是一种存储器,即非易失性存储器,用于在其中存储数据。只读存储器的优点是即使关闭电源,它也可以保留以前存储在其中的数据。
ROM类型:
ROM分为以下几种类型。
- 可擦可编程ROM –
这种ROM是一种类型的ROM,当它暴露在高强度紫外线下时,其中的数据就会被擦除。 - 电可擦可编程ROM –
这种类型的ROM是一种类型的ROM,当它受到场电子发射时,其中的数据就会被擦除。 - 掩膜ROM –
这种类型的ROM中存在的数据是在制造时写入的。 - 可编程ROM –
这种类型的ROM中存在的数据是在制造ROM之后写入的。
RAM和ROM之间的相似之处:
如下是RAM和ROM之间的相似之处。
S.NO. |
Similarity |
RAM and ROM |
---|---|---|
1. | Holds information | Random Access Memory (RAM) and Read-Only Memory (ROM) are the types of Primary Storage devices which hold or store information in the form of program instructions for certain data and also as data that can be directly passed to the computer’s Central Processing Unit (CPU) and INPUT/OUTPUT (I/O) controllers and circuitry of the processor. |
2. | Accessing memory | Both of these types of Primary Storage can be accessible in this way, they both utilize a type of address bus register to identify the specific memory cell or a group of cells which can be accessed at any given interval of time and data line and bus to carry the information being read from the memory of the device. |
3. | Binary form | Both of these types of memory devices represent the information present in them as a series of Binary Digits which are also called as (bits) which through either the presence of a voltage represents as (a logical 1 value) or the absence of that same voltage represents as (a logical 0 value). |
4. | Types | Both RAM and ROM are available in several subcategories and each the types will have different benefits and drawbacks and usage requirements which basically depends on their type. |
结论 :
我们已经介绍了RAM和ROM的概述,并且您将能够了解在比较RAM和ROM时可以注意到的相似之处。