Test 3 Flashcards
Types of Memory
Cache memory
RAM
ROM
Cache Memory
A small high-speed (and thus high-cost) type of memory thta serves as a buffer for frequently accessed data. A very high-speed memory where data from frequently used memory locations may be temporarily stored. Connected to main memory.
RAM (random access memory)
Used to store programs and data that the computer needs then executing programs. Two general types of RAM memory - Static and Dynamic.
Dynamic RAM
Constructed of tiny capacitors that leak electricity. Requires a recharge every few milliseconds to maintain its data. Designers use DRAM because it is much denser (can store many bits per chip), uses less power, and generates less heat.
Static RAM
Holds its contents as long as power is available. Consists of circuits similar to the D flip-flop. Is faster and more expensive than DRAM. Used more for cache memory.
ROM (read-only memory)
Not volatile and always retains its data. Also used in embedded systems where the programming does not need to change. Used in many appliances, toys, and cars. Used extensively in calculators and other devices like laser printers. 5 types: ROM, PROM, EPROM, EEPROM, and flash memory.
PROM (programmable read-only memory)
Can be programmed by the user with the appropriate equipment. PROMs have fuses that can be blown to program the chip. Once programmed, the data and instructions cannot be changed.
EPROM (erasable programmable read-only memory)
Programmable with the added advantage of being reprogrammable (requires a special tool that emits ultraviolet light). To reprogram, the entire chip must first be erased.
EEPROM
(electronically erasable programmable read-only memory)
Removes many of the disadvantages of EPROM. No special tools are required for erasure (this is performed by applying an electric field) and you can erase only portions of the chip, one byte at a time.
Flash memory
Essentially EEPROM with the added benefit that data can be written or erased in blocks, removing the one-byte-at-a-time limitation. This makes flash memory faster than EEPROM. Being used in cell phones, digital cameras, and music players.
Hierarchical Memory
Using a combination of memory types to provide the best performance at the best cost.
Main Memory
Typically a medium-speed memory. Complemented by a very large secondary memory.
Secondary Memory
Typically composed of hard disk drives containing data not directly addressable by the CPU; instead, it must have its contents transferred to main memory when the data are needed.
Solid State
Flash-based hard drives that are faster and sturdier than rotating magnetic disks.
Off-line Memory (includes tertiary memory and off-line storage)
Requires either human or robotic intervention before any data can be accessed; the data must be transferred from the storage media to secondary memory.