Types and Function of Primary Storage

There are two types of primary storage which are Random-Acces Memory (RAM) and Read-Only Memory (ROM) .    


Function of RAM : 

  • RAM is the main memory in a computer .The data in RAM can be read (retrieved) or written (stored).
  • It stores data and programs that can be accessed directly by the processor.
  • RAM holds temporary instructions and data needed to complete tasks.This enables the computer's CPU to access instructions and data stored in the memory very quickly. 
  • RAM stores data during and after processing.          
Function of ROM :     
  • ROM is another type of memory permanently stored inside the computer. ROM is non-volatile. It holds the programs and data when the computer is powered off .
  • Programs in ROM have been pre-recorded. It can only be stored by the manufacturer ; once it  is done ,it cannot be changed. 
  • Many complex functions such as start up operating instructions,translators for high-level languages and operating systems are placed in ROM memory.
  • All the contents in ROM can be accessed and read but cannot be changed. 
Differences between RAM and ROM :

Data and program 
      RAM
       Stores during  and after processing. 
      ROM  
       Stored by manufacturer.      
Content 
        RAM 
        Stores information temporarily.
        ROM
      Stores information permanently.
Processing Time 
        RAM 
        Very fast, but uses a lot of power.
        ROM 
        Fast ,but uses very little power.  
Volatile 
        RAM 
        Volatility
        ROM 
        Non-volatile 

3 comments:

  1. If ROM stores information permanently,then its not a primary storage device because primary storage devices store information temporarily.

    ReplyDelete
    Replies
    1. It's called a primary storage device because it's permanent azin it is not like secondary storage devices like flash disks which can be removed

      Delete