difference between ram and rom

Difference between ram and rom?

Ram Memory:
Programs and data that are now being used by the CPU in real-time are stored in random access memory (RAM). Numerous reads, writes, and erases can be made to the data stored in the random access memory. The data that is now being used is stored in RAM, a component of hardware. Its memory is volatile.
Types of ram:
SRAM;
           Or static random-access memory, uses the state of a memory cell with six transistors to store a bit of data.
Dynamic ram;
                       Often known as (DRAM), is a type of memory that uses a pair of transistors and a capacitor to store bits of data in each memory cell.
Rom Memory:
Data has been prerecorded in read-only memory (ROM), a form of memory. Non-volatile, or ROM, data is that which is retained even after the computer has been turned off.
Types of rom:
Programmable rom;
                               Data is entered into a programmable ROM after the memory chip has been made. It is not flammable.
Erasable rom;
                       The information on this non-volatile memory chip can be wiped by exposing it to strong UV light in a programmable ROM.
Erasable electricity rom;
                                        The information on this non-volatile memory chip can be electronically wiped using field electron emission in a programmable ROM. Mask rom;
             Data is written to the mask ROM during the memory chip's manufacture.
Difference between ram and rom 

Retention of data:

RAM:
 Is a volatile memory that can store data as long as power is present.
ROM:
Is a non-volatile memory, data may still be retained even if power is interrupted.

Working class:

RAM:
Data can be retrieved and modified.
ROM:
Information can only be read.

Use:

RAM:
Used to temporarily store data that the CPU needs to process right now.
ROM:
It keeps the instructions needed for the computer's bootstrap.

Speed:

RAM:
 It is a quick memory.
Rom:
It moves much more slowly than RAM.

CPU interplay:

RAM:
The data kept there can be accessed by the CPU.
ROM:
Unless the data is kept in RAM, the CPU is unable to access it.



Post a Comment

0 Comments