1.2 Memory and Storage Flashcards
Primary storage
Comprised of RAM and ROM. It holds data, programs and instructions that are currently in use.
Need for primary storage
The CPU can access data and instructions more quickly and easily than from secondary storage devices.
RAM
Random-access memory. Temporary storage of currently executing instructions and data - e.g. applications and the operating system.
-Volatile
-Read and write
-large compared to ROM
ROM
Read-only Memory. Stores startup instructions known as the bootstrap.
-Non-volatile
-Read only
-Small compared to RAM
Virtual memory
Using part of the hard disk as if it were random-access memory. Allows more applications to be open than physical memory can hold.
-Programs are transferred out to virtual memory from RAM when not being executed to free up space in primary storage
-transferred back when needed
Secondary storage
Permanent storage of instructions and data not currently in use by the processor. Stores the operating system, applications and data. Read-and-write and non-volatile.
Need for secondary storage
-ROM is read-only and RAM is volatile
-It is the storage of programs and data when the power is turned off
-and is semi-permanent storage that can change
Common types of storage
-Optical (DVDs, CDs)
-Magnetic (Hard disk)
-Solid state (USB)
Advantages of optical storage
-Thin
-Lightweight
-Portable
Disadvantages of optical storage
-Low capacity compared to others
-slow to access
-loses data when scratched
Advantages of magnetic storage
-Quick access data
-high storage capacity
Disadvantages of magnetic storage
-Has moving parts, and will eventually fail
-slower access than solid state
Disdvantages of solid state storage
-Medium storage capacity
-limited number of read-write cycles
-expensive
Advantages of solid state storage
-small, lightweight
-fast access time
-no noise - no moving parts
-low power
Units of data storage
-Bit (1)
-Nibble (4 bits)
-Byte (8 bits)
-Kilobyte (1000 bytes)
-Megabyte (1000 KB)
-Gigabyte (1000 MB)
-Terabyte (1000 GB)
-Petabyte (1000 TB)