Table of contents |
|
Computer Memory |
|
1. Primary or Main Memory |
|
2. Secondary Memory |
|
Characterstics of Computer Memory |
|
Memory functions similarly to a human brain, serving as a storage system for data and instructions. In a computer, memory is where data is processed and instructions for processing are stored.
It's divided into numerous small parts known as cells, each with a distinct address. These addresses range from zero to the memory size minus one. For instance, if a computer has 64k words, the memory unit contains 64*1024=65536 cells, with addresses ranging from 0 to 65535.
Memory is primarily of two types:
Types of Main Memory:
Types of Primary Memory
RAM, or Random Access Memory, acts a lot like the short-term memory in your brain. Just as your brain focuses on what's important for your current task and can only hold a few things at once, RAM stores the data that your computer needs right now.
RAM
ROM, or Read-only Memory, stores information that cannot be changed once it's been programmed.
ROM
PROM, or Programmable Read-Only Memory, is a chip that allows data to be written onto it just once. Once programmed, the data remains fixed permanently.
PROM
It stands out as a unique variant of PROM due to its capability to be wiped clean using ultraviolet light.
EPROM
All computers need a way to store and retrieve data. While primary memory, like RAM, has limited space and isn't permanent, secondary storage devices come in to store large amounts of data permanently.
Types of Secondary Memory
Storage capacity refers to how much data a memory can hold. Secondary memory, like a hard disk, typically has more storage capacity compared to RAM. A larger primary memory (RAM) means faster processing, while a larger secondary memory provides more space to store data and instructions. Just like kilograms and grams measure weight, computer memory capacity is measured in bytes and kilobytes.
Random Access Memory (RAM): Data can be read from or written to any location in any order. RAM, floppy disks, and hard disks are examples of random access memories.
Sequential Access: Memory is accessed by moving through each location until reaching the desired one. Magnetic tape is an example of sequential access memory.
Direct Access: Data is accessed neither randomly nor sequentially but is a mix of both. Magnetic disks use this mode, with separate read/write heads for tracks.
Some memories retain information longer than others. Dynamic memory requires constant refreshing and is volatile, meaning it loses data when powered off. Static memory is non-volatile and retains data permanently. RAM is volatile, while ROM is non-volatile.
Dynamic Memory Allocation
Memory devices can be electronic, magnetic, mechanical, or optical.
Electronic Memory: These are like the memory in your computer or phone. They store information using tiny electrical parts. Some types keep information only when the device is on (like computer RAM), while others keep it even when it's off (like USB drives).
Magnetic Memory: These use magnets to store data. Think of it like the magnetic strip on the back of a credit card. Hard drives in computers work this way too, storing data on spinning disks using magnetism.
Mechanical Memory: These are old-school devices that use physical parts to store information. It's like how an old-fashioned cash register would use gears and levers to remember prices and totals.
Optical Memory: These use light to store data. CDs, DVDs, and Blu-ray discs are examples. They have tiny bumps and dips that a laser reads to get the information stored on them.
Each type has its own job and works differently, but they're all about keeping information safe for when you need it later on.
1. What is the difference between primary and secondary computer memory? | ![]() |
2. What are some characteristics of computer memory? | ![]() |
3. How does primary memory differ from secondary memory in terms of speed? | ![]() |
4. What are some examples of primary memory in a computer system? | ![]() |
5. Why is it important for computer memory to be volatile? | ![]() |