How Do Computers Store Data | Best Method Of Storing Program In Memory

How Do Computers Store Data | Best Method Of Storing Program In Memory

Method of storing program in memory – There are two methods of storing program in computer’s memory- SAM (Sequential Access Memory) and RAM (Random Access Memory).

SAM (Sequential Access Memory)

SAM-Sequential Access Memory means sequential access memory i.e. sequential write or read. Just as we record a song on a cassette and if we want to listen to the 5th song stored on a cassette, then first the first 4 songs have to be forwarded. Similarly, when computer data is stored on magnetic tape, it is also written or read in the same way. Method Of Storing Program – This method of storing system is called sequential access memory.

RAM (Random Access Memory)

RAM-Random Access Memory means non-sequential memory i.e. writing and reading in any order. Just as a song does not require a sequence to be heard on a gramophone record, but if the 5th song is to be heard on the store, then the needle of the gramophone is placed directly on that song and it starts playing. In the same way writing and reading computer programs on floppy. The computer’s internal memory at which C is stored is always written or read by a sequential access method. Hence both RAM and ROM. ICs are actually RAM’s.

Best Method Of Storing Program In Memory

How Do Computers Store Data | Best Method Of Storing Program In Memory
How Do Computers Store Data | Best Method Of Storing Program In Memory

Parts Of Computer Memory

Computer memory can be divided into two parts-

1- Internal Memory

2- External Memory

Internal Memory

Method Of Storing Program – The information given earlier about memory was only about internal memory. The internal memory of the computer, which is stored on the IC, is also called Semi Conductor Memory. The internal memory of the computer can be divided into two parts-

1- Read Only Memory

2- Read/Write Memory

Read Only Memory

Read-only memory (ROM) is called in which the output of the written program can only be read, but its program cannot be stored in it. Programs are often stored in the computer by computer manufacturers in ROM, which keep working from time to time and give instructions to the operator when needed. A program named Basic Input Output System (BIOS) is an example of ROM, which works to check and control its assembly input output devices when the computer is turned on.

Initially there was a compulsion for ROM that the computer manufacturer also once installed a program in this IC. But could neither delete it nor modify that program, but later PROM) EPROM, I.C. created, which have different benefits.

Programmable ROM (PROM) – A program can be stored only once in this memory, but it cannot be deleted or modified. If due to any kind of electrical interference this I.C. If the program is damaged, then this entire I.C. It just becomes useless.

Erasable Prom (EPROM)- This I.C. The program stored in it can be erased through Ultra Violal Rays. As a result this I.C. Can be used again. If a program was saved a long time ago, which you want to delete and save a new program in its place, then this task is done in this I.C. But it is possible. But because erasing is done through ultraviolet rays, so special equipment is needed to do this work, which is called IC. Programmer (I.C. Programmer).

Electrically-E-Prom (EEPROM) – No other device is required to delete or modify the program stored on the electrically erasable PROM. When given commands, only the electric signals available in the computer modify this program.

Read/Write Memory

Read-Write Memory – In this memory users can store their programs for some time. In simple language, this memory is called RAM. This is also called the basic memory of the computer. It is of following 2 types-

1- Dynamic RAM (DRAM)- Dynamic means dynamic. If 10 figures are stored on this RAM and then the middle two figures are erased, then all subsequent figures are automatically moved to the middle space and the middle space is used.

2 – Static RAM (SRAM) – The data stored in Static RAM is located. If the middle two figures are erased in this RAM, then the next figures will not move to this empty space. As a result, this space cannot be used until the entire memory is “washed” and started afresh.

External Memory

Method Of Storing Program – External memory works both as RAM and SAM to store the work done on the computer. Their storage capacity is much higher than the internal memory. It is relatively cheap. But the working speed of external memory is much less than that of internal memory. Method Of Storing Program – The main external memory storage devices are floppy disk, hard disk etc.



Please enter your comment!
Please enter your name here

Stay Connected

- Advertisement -