Wednesday 12 April 2017

Types of Computer Memory and their Management

In computing memory refer to a device which is used to store a information for immediate used in a computer.
A computer memory is divided into two broad categories which is known as
primary memory
secondary memory

Primary memory:- 

                            primary memory is a internal memory of a computer. It contained on a computer chips and used a electronic circuits to store information. In primary memory, data is not stored permanently, the data is lost when the computer is turn off. The access speed of a internal memory is very high as compared to secondary memory because it accessed directly by the central processing unit.
There are different type of a primary memory are
Read Only Memory (ROM)
Flash Memory
Random Access Memory (RAM)

Read Only Memory:-

                          In Read Only Memory instructions are stored permanently, the store data is not removed when the computer is turn off. Read Only Memory is a Non-volatile Memory. ROM contain a instructions that is very important for computer to start up (boots up). The instructions are read before software program load in the computer from a small program in the ROM. The small program or small part of a ROM is called a "BIOS". Read Only Memory is not re writable it allow only reading. Read Only Memory contain data when computer is switched off.

Flash Memory:-

                       Flash Memory is a solid, Non-volatile and re writable memory. The Flash Memory is used in digital camera's, cell phones, printers,Audio recorders and hand held computers because the speed of Flash Memory is high and the Flash Memory used a low voltage.

Random Access  Memory:-

                                        Random Access Memory is a storage device that can be accessed randomly at any time in any order and from any location. Random Access Memory is a volatile memory. what is volatile memory????
In volatile memory the stored data is lost when computer is off and data remain in memory when machine or computer is running.
Random Access Memory is a readable and re writable memory. We can read data from memory at any time and we can delete the data at any time and again we write data in the memory.
There are two types of Random Access Memory
Static Random Access Memory
Dynamic Access Memory

Static Random Access Memory:-

                                                   Static RAM is a volatile memory it never needs to be refreshed the stored information as power is applied. The content of memory is lost when power is turn off.

Dynamic Random Access Memory:-

                                                         Dynamic RAM is a volatile memory it needs to refreshed the stored information periodically otherwise stored information would be vanish.

Secondary Memory:-

                                 secondary memory is slower than primary memory. Secondary memory is not directly connected to the computer. It hold data after the computer is turn off. Secondary memory has a large capacity to store information but the Access speed of memory is slow. Secondary memory use a inexpensive mass-storage device so secondary memory is inexpensive.
Types of Secondary Memories are
Magnetic Storage Media
Optical Storage Device
Magnetic Storage Device:-

Management of computer memory:-

               The management of computer memory is very important to operate correctly otherwise it leads to bugs, slow performance and virus in the computer.
Arithmetic overflow, segmentation fault, memory leak are all problem of improper management of memory.
Virtual memory and Protected Memory is used to properly manage the computer memory.

Virtual Memory:-

                          When a program needs a memory it request to operating system then operating system decide the location of physical memory to place the memory.
The benefit of virtual memory is where the memory is stored physically without the worry of computer space.

Protected Memory:-

                              In protected memory particular range of memory is allocated to each program to run properly. When program tried to used the space of other program then system terminate the program and help to save data to used incorrectly. protected memory is used to enhanced the reliability and security of the computer system.
       








































No comments:

Post a Comment