RAM VS ROM || Difference between them along with their types

There are two types of Memory which are given below : 
1. Primary Memory 
2. Secondary Memory 
So, these are two types of memory and they also have further types, here we are going to discussing 1st one that is Primary Memory.
 Primary Memory:
                                Primary memory is the Main Memory of a computer system. The instructions that have to be currently executed are copied to the primary Memory Because CPU can directly access the data from the Primary Memory. It is a faster Memory and also an Internal Memory. Processor accessed data from primary memory Using Data Bus. So a data Bus uses 40 to 150 Wires to transmit data. 
                                Primary memory can be divided into two types memory that is RAM(Random Access Memory ) and ROM (Read Only Memory ).
1. Random Access Memory 
2. Read-Only Memory 

So here we are going to discuss the difference between RAM and ROM you can also watch a video that is about RAM and ROM. Like is given below.

1.Random Access Memory (RAM)
                                RAM  is both Read and Writeable memory. The data which has to be currently processed is kept in RAM which can be quickly accessed by the CPU. RAM is easily accessible. RAM is a volatile memory. Data is store in RAM till the PC is ON. Computer or RAM will lose data if the Power Button is switched off. RAM can be Static or Dynamic. 
2. Read-Only Memory (ROM)
                                   ROM is a read-only memory. This is a memory that can not be altered. It has the instructions that are used when the system is booted up. ROM is a non-volatile memory i.e. it retains its content even if the power is switched off. The types of ROM are  given below:
1.PROM
2.EPROM
3. EEPROM






Comments

Popular posts from this blog

How to create Simple ATM Machine in C++ Program||ATM Program deposit withdraw money in c++|Using CLI || C++ project with Source Code || MH Computer Academy(Muhammad Hashmi)

How to Calculate GPA/CGPA || GPA Calculator Step by Step in C++ ||Sourc...

C++ Project GYM Management System || Source Code with Explanation | MH Computer Academy || Muhammad Hashmi || Learn Programming