Skip to main content

Computer Memory

MemoryA memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed and instructions required for processing are stored.
The memory is divided into large number of small parts. Each part is called cell. Each location or cell has a unique address, which varies from zero to memory size minus one.
The computer storage memory is measure in term of Bytes. Eight bits make one Bytes.
(Measure units)
 Primary Memory/Main Memory
Primary memory holds only those data and instructions on which computer is currently working. Has limited capacity and data gets lost when power is switched off. It is also called main memory.It is generally made up of semiconductor device. These memories are not as fast as registers. The data and instructions required to be processed earlier reside in main memory.
Characteristic of Main Memory
·         These are semiconductor memories.
·         It is known as main memory.
·         Usually volatile memory.
·         Data is lost in case power is switched off.
·         It is working memory of the computer.
·         Faster than secondary memories.
·         A computer cannot run without primary memory.
Primary memory is divided into two subcategories:
1.      RAM (Random Access Memory)
2.      ROM (Read Only Memory)
Random Access Memory (RAM)
A RAM constitutes the internal memory of the CPU for storing data, program and program result. It is read/write memory. It is called random access memory (RAM).
Since access time in RAM is independent of the address to the word that is, each storage location inside the memory is as easy to reach as other location & takes the same amount of time. We can reach into the memory at random & extremely fast but can also be quite expensive.
RAM is volatile, i.e., data stored in it is lost when we switch off the computer or if there is a power failure. RAM is small, both in terms of its physical size and in the amount of data it can hold.
RAM is of two types:
Static RAM (SRAM)
Dynamic RAM (DRAM)

Static RAM (SRAM)

The word static indicates that the memory retains its contents as long as power remains applied.  It has long data lifetime.There is no need to refresh.Faster .Used as cache memory. Large size. Expensive. High power consumption.

Dynamic RAM (DRAM)

DRAM, unlike SRAM, must be continually refreshed in order for it to maintain the data.It has short data lifetime. Need to refresh continuously.Slower as compared to SRAM. Used as RAM.Lesser in size.Less expensive.Less power consumption
Read Only Memory (ROM)
ROM stands for Read Only Memory. The memory from which we can only read but cannot write on it. This type of memory is non-volatile. The information is stored permanently in such memories during manufacture.
A ROM stores such instructions as are required to start computer when electricity is first turned on, this operation is referred to as bootstrap. ROM chip are not only used in the computer but also in other electronic items like washing machine and microwave oven.
There are two main reason why read only memory is used within the PC:
1.      Permanent
2.      Security
Different Types of ROM are:
·         PROM
·         EPROM
·         EEPROM
·         UVEPROM

PROM (Programmable Read only Memory)

PROM is read-only memory that can be modified only once by a user. The user buys a blank PROM and enters the desired contents using a PROM programmer. Inside the PROM chip, there are small fuses, which are burnt open during programming. It can be programmed only once and is not erasable.

EPROM (Erasable and Programmable Read Only Memory)

The EPROM can be erased by exposing it to ultra-violet light for duration of up to 40 minutes. Usually, an EPROM eraser achieves this function.

EEPROM (Electrically Erasable and Programmable Read Only Memory)

The EEPROM is programmed and erased electrically. It can be erased and reprogrammed about ten thousand times. Both erasing and programming take about 4 to 10 ms (mille second). In EEPROM, any location can be selectively erased and programmed.

UVEPROM (Ultra violet Erasable and Programmable Read Only Memory)

This type special type of PROM which uses UV rays for erasing data. It can be reprogrammed by user.
ADVANTAGES OF ROM
Non-volatile in nature
These can not be accidentally changed
 Cheaper than RAMs
Easy to test
More Reliable than RAMs
These are static and do not require refreshing
 Its contents are always known and can be verified
Register
As we know that the speed of main memory is slow as compare to CPU. So in order to increase the rate of information transfer, the computer uses a number of special memory units called register. These register are used to hold the information on temporary basis and are part of CPU.
Types of Register:
1.      Accumulator Register
2.      Instruction Register
3.      Program central Register etc.
3.   Secondary Memory/Auxiliary Memory
This type of memory is also known as external memory or non-volatile. It is slower than main memory. These are used for storing Data/Information permanently.
CPU directly does not access these memories; instead they are accessed via input-output routines.
Contents of secondary memories are first transferred to main memory and then CPU can access it. For example, disk, CD-ROM, DVD, etc.
Characteristics of Secondary Memory
 These are magnetic and optical memories.
It is known as backup memory.
 It is non-volatile memory.
 Data is permanently stored even if power is switched off.
 It is used for storage of the data in the computer.
 Computer may run without secondary memory.
Slower than primary memories
There are two types of Secondary Memory
1.      Sequential Access Secondary Memory (ex: Tape drives)
2.      Direct Access Secondary Memory (ex: Disk drives)
Sequential Access Secondary Memory (SASM)The data stored on SASM is accessed sequentially by the computer that is to access 100th record; it has to traverse the previous 99 records. It is like music cassette. Magnetic Tapes are sequential access storage devices.
Direct Access Secondary Memory (DASM)
 Data stored in a DASM can be accessed using a directory stored which contains the name given to the data file and its address or storage location. Magnetic Disk and Optical Disk are example of DASM.
Hard Disk         
Hard disk is made of rigid substance that is capable of storing a greater amount of data than the soft material. Hard disk is metal platter coated with a thin film of magnetic material. Information is recorded on both side of each disk as a series of magnetized (signifying for 1 bit) or non-magnetized (signifying for 0 bit) spots.
On hard disk data is stored on tracks which are further divided into sectors. Using the read/write heads arm assembly the data is stored, retrieve and updated. Hard disk rotates at very high speed around 3600 RPM.
Hard disk can further divided into:
·         Removable hard disk (Disk Pack)
·         Fixed Hard disk (Winchester Disk)
Disk Packs:
The storage capacity of a disk pack depend upon the number of recording surface. A disk pack consists of several disks which are mounted together on a spindle for access by the drive. On the same disk drive any number of disk packs can be used.
Winchester Disk:
Winchester disk is a sealed disk technology that was developed by IBM. In this type of disk drive since its not removable the access arms are in the center and data are stored on the top of the top platter and on the bottom of the bottom platter as well.
Advantage of Hard Disk:
·         Direct Access
·         Mass Storage
·         Portability
·         Reusability
·         Low cost
·         Transfer rate
Disadvantage of Hard Disk:
·         Disk Crash
·         Cost per bit
·         Dust free environment
  CD-ROM (Compact Disk)The compact disc-CD was inverted in 1982 by two well known companies, Philips and Sony. Initially it was an audio CD. It is a small optical disk on which data such as music, text, or graphic images is intelliy encoded. CD contains data in the same way as the hard disk.A CD is a fairly simple piece of plastic about of an inch (1.2mm) thick. The data is recorded by creating pits by a laser beam.
   Types of Compact Disk:
1.      CD-DA: Audio CD, Digital audio
2.      Photo-CD: developed to hold digitized photograph and sound
3.      Video-CD: Can hold around 70 min of video.
4.      CD-R: (write once and read many)
5.      CD-RW: Rewritable CD.
DVD (Digital Versatile Disk)DVD drives are replacing CD-ROM drives in personal computer and as a medium for storing computer programmers. DVD-ROM is an optical disc storage media format that can be used for data storage, which include movies with high video and sound quality. DVD-ROM is a non-volatile optical storage medium similar to CD-ROM , which contain computer data that cannot be erased or rewritten. DVD-RW stands for digital versatile disk Rewritable.
 Allows up to 17 gigabytes of storage (from 4.7 GB to 17 GB).

Comments

  1. You can buy electronic components both offline and online. Lots of people searching nowadays to buy electronic components store but very few can find a good one. There are a lot of places to buy electronic components, but I prefer to buy components online. There you get a cheap, quality, and easy return policy. You will get lots of products while sitting at home. I'm saying this as I recently bought a few electronics from buykingston.co.uk and it's going very well. Till now I haven't yet faced any issue. The important thing to know is that wherever you are buying, you must get a genuine product.

    ReplyDelete
  2. Nice Article, Thank you for sharing a wonderful blog post
    You can also read - ROM क्या है?

    ReplyDelete
  3. Thank you for sharing your knowledge. If you're looking for something unusual, the AX4U2800W4G17-BRZ provides a high level of endurance and dependability thanks to high-quality memory chips.

    ReplyDelete
  4. Input device Input device is a device through which data and instruction are entered into computer system. Thanks for sharing it.
    Sell Old Samsung Phones

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Unleash your potential with Indian Cyber Security Solutions' ethical hacking training. Gain a competitive edge in the cybersecurity field by acquiring the essential skills to protect digital assets. Our comprehensive program covers a wide range of topics, including network scanning, web application security, and social engineering. Through practical assignments and immersive learning, you'll become adept at uncovering vulnerabilities and implementing robust security measures. Indian Cyber Security Solutions empowers you to be a proactive defender in the digital realm.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Investing in Ethical Hacking Training in Hyderabad is a smart decision in today's cyber-threat landscape. Indian Cyber Security Solutions provides a comprehensive learning experience that empowers individuals to become proficient cybersecurity practitioners. By learning the mandatory skills you can participate in serving the digital world a good protective place for people, organizations and the nation.Join our Ethical Hacking Training program and embark on an exciting journey to protect against cyber threats!

    ReplyDelete
  9. Gain the skills to safeguard digital landscapes with EC Council Certified Ethical Hacker
    training in Hyderabad by Indian Cyber Security Solutions. Learn cutting-edge techniques and ethical hacking methodologies to protect organizations from cyber threats. Enroll now and become a certified ethical hacker.

    ReplyDelete

Post a Comment

Popular posts from this blog

Generation of Computers

Generation of Computers   – Computers were developed in different phases known as generations of computer. Depending upon the technologies used the development of electronic computers can be divided into five generations. 1.  First generation The duration lasted from 1946-1959 was based on  vacuum tubes . Because thousands of such bulbs were used, the computers were very large and generate a large amount of heat, causing many problems in temperature regulation.  Magnetic drums   were used for  memory  purpose and instruction and data was given through  punch cards . Computer were operated manually and instruction given in  machine language . E.g.   –   UNIVAC  (Universal automatic computer),  ENIAC  (Electronic Numerical Integrator And Calculator ) ,  Mark I  etc. Main Features  – 1.        Vacuum tube technology used 2.        Magnetic drums were used for storage. 3.        Supported Machine Language only 4.        They were too bulky in size, requirin

Input and Output devices

Input device Input device is a device through which data and instruction are entered into computer system. An input devices converts the data and instructions into binary form that computer can understand. This transformation is performed by “Input interface”.   The data entered through input device can be some text, some graphical image or symbol, sound etc, depending on the form of the raw data the various input devices are available. Basic Function Performed by Input unit of a computer system -   1. It accepts the instruction and data from the user. 2. It converts these instruction and data in computer acceptable form. 3. It supplies the converted instruction and data to the computer system for further processing. Some of the commonly input devices used are:- 1. Keyboard 2. Mouse 3. Joy stick 4. Track ball 5. Touch screen 6. Light Pen 7. Digitizer 8. Scanner 9. Speech Recognition Devices 1. Keyboard Keyboard is an input device for entering data a