









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
The concept of computer memory, its characteristics, types, and functions. It describes how computer memory works and how it is different from secondary memory. It also explains the types of primary memory, including RAM and ROM, and their characteristics, advantages, and disadvantages. Additionally, it discusses the types of secondary memory, including fixed storage and removable storage, and their uses. a comprehensive overview of computer memory and its importance in computer systems.
Typology: Exercises
1 / 15
This page cannot be seen from the preview
Don't miss anything!
Computer memory is just like the human brain. It is used to store data/information and instructions. It is a data storage unit or a data storage device where data is to be processed and instructions required for processing are stored. It can store both the input and output can be stored here.
*It is faster computer memory as compared to secondary memory. *It is semiconductor memories. *It is usually a volatile memory, and main memory of the computer. *A computer system cannot run without primary memory.
When you open a program, it is loaded from secondary memory into primary memory. Because there are various types of memory and storage, an example would be moving a program from a solid-state drive (SSD) to RAM. Because primary storage is accessed more quickly, the opened software can connect with the computer’s processor more quickly. The primary memory is readily accessible from temporary memory slots or other storage sites. Memory is volatile, which means that data is only kept temporarily in memory. Data saved in volatile memory is automatically destroyed when a computing device is turned off. When you save a file, it is sent to secondary memory for storage. There are various kinds of memory accessible. It’s operation will depend upon the type of primary memory used. but normally, semiconductor-based memory is more related with memory. Semiconductor memory made up of IC (integrated circuits) with silicon-based metal- oxide-semiconductor (MOS) transistors.
In general, computer memory is of three types: 1.Primary memory 2.Secondary memory 3.Cache memory Now we discuss each type of memory one by one in detail:
used to store data and programs or instructions during computer operations. It uses semiconductor technology and hence is commonly called semiconductor memory. Primary memory is of two types: RAM (Random Access Memory): It is a volatile memory. Volatile memory stores information based on the power supply. If the power supply fails/ interrupted/stopped, all the data and information on this memory will be lost. RAM is used for booting up or start the computer. It temporarily stores programs/data which has to be executed by the processor. RAM is of two types: *S RAM (Static RAM): S RAM uses transistors and the circuits of this memory are capable of retaining their state as long as the power is applied. This memory consists of the number of flip flops with each flip flop storing 1 bit. It has less access time and hence, it is faster. Characteristics of Static RAM Static RAM is much faster than DRAM. Static RAM has greater storage than DRAM. Static RAM takes less power to perform. Advantages of Static RAM Static RAM has low power consumption. Static RAM has faster access speeds than DRAM. Static RAM helps in creating a speed-sensitive cache. Disadvantages of Static RAM Static RAM has less memory capacity. Static RAM has high costs of manufacturing than DRAM. Static Ram comprises of more complex design. *D RAM (Dynamic RAM): D RAM uses capacitors and transistors and stores the data as a charge on the capacitors. They contain thousands of memory cells. It needs refreshing of charge on capacitor after a few milliseconds. This memory is slower than S RAM. Characteristics of Dynamic RAM Dynamic RAM is slower in comparison to SRAM. Dynamic RAM is less costly than SRAM. Dynamic RAM has high power consumption.
SRAMs are low-density devices. DRAMs are high-density devices. In this bits are stored in voltage form. In this bits are stored in the form of electric energy. These are used in cache memories. These are used in main memories. Consumes less power and generates less heat. Uses more power and generates more heat. SRAMs has lower latency DRAM has more latency than SRAM SRAMs are more resistant to radiation than DRAM DRAMs are less resistant to radiation than SRAMs SRAM has higher data transfer rate DRAM has lower data transfer rate SRAM is used in high-speed cache memory DRAM is used in lower-speed main memory SRAM is used in high performance applications DRAM is used in general purpose applications ROM (Read Only Memory): It is a non-volatile memory. Non-volatile memory stores information even when there is a power supply failed/ interrupted/stopped. ROM is used to store information that is used to operate the system. As its name refers to read-only memory, we can only read the programs and data that is stored on it. It contains some electronic fuses
that can be programmed for a piece of specific information. The information stored in the ROM in binary format. It is also known as permanent memory. ROM is of four types: Types of ROM: 1) Masked Read Only Memory (MROM): It is the oldest type of read only memory (ROM). It has become obsolete so it is not used anywhere in today's world. It is a hardware memory device in which programs and instructions are stored at the time of manufacturing by the manufacturer. So it is programmed during the manufacturing process and can't be modified, reprogrammed, or erased later. The MROM chips are made of integrated circuits. Chips send a current through a particular input- output pathway determined by the location of fuses among the rows and columns on the chip. The current has to pass along a fuse-enabled path, so it can return only via the output the manufacturer chooses. This is the reason the rewriting and any other modification is not impossible in this memory.
EPROM is a type of ROM that can be reprogramed and erased many times. The method to erase the data is very different; it comes with a quartz window through which a specific frequency of ultraviolet light is passed for around 40 minutes to erase the data. So, it retains its content until it is exposed to the ultraviolet light. You need a special device called a PROM programmer or PROM burner to reprogram the EPROM. Uses: It is used in some micro-controllers to store program, e.g., some versions of Intel 8048 and the Freescale 68HC11. 4) Electrically Erasable and Programmable Read Only Memory (EEPROM): ROM is a type of read only memory that can be erased and reprogrammed repeatedly, up to 10000 times. It is also known as Flash EEPROM as it is similar to flash memory. It is erased and
reprogrammed electrically without using ultraviolet light. Access time is between 45 and 200 nanoseconds. The data in this memory is written or erased one byte at a time; byte per byte, whereas, in flash memory data is written and erased in blocks. So, it is faster than EEPROM. It is used for storing a small amount of data in computer and electronic systems and devices such as circuit boards. Uses: The BIOS of a computer is stored in this memory. 5) FLASH ROM: It is an advanced version of EEPROM. It stores information in an arrangement or array of memory cells made from floating-gate transistors. The advantage of using this memory is that you can delete or write blocks of data around 512 bytes at a particular time. Whereas, in EEPROM, you can delete or write only 1 byte of data at a time. So, this memory is faster than EEPROM. It can be reprogrammed without removing it from the computer. Its access time is very high, around 45 to 90 nanoseconds. It is also highly durable as it can bear high temperature and intense pressure.
Cost RAM is more costlier than ROM. ROM is cheaper than RAM. Chip Size A RAM chip can store only a few gigabytes (GB) of data. A ROM chip can store multiple megabytes (MB) of data. Function Used for the temporary storage of data currently being processed by the CPU. Used to store firmware, BIOS, and other data that needs to be retained.
Types of Secondary memory
Primary Memory Secondary Memory (i) Primary memory devices are semiconductor memories. (i) Secondary memory devices are magnetic, optical and electronic memories. (ii) Primary memory can be volatile as well as non-volatile. RAM is the volatile memory and ROM is the non-volatile memory, (ii) Secondary memory is always non- volatile (iii) Primary memory is more effective and interacts more quickly with the microprocessor (iii) Secondary memory is somewhat slower in interacting with the microprocessor than primary memory.
Cache Memory