1.2 Memory and Storage Flashcards
What is Primary Storage?
Holds data and instructions which CPU needs access to while a computer is running. The CPU can quickly acess data from primary storage than from secondary storage,
e.g. RAM, ROM, Registers, Cache
Does Primary Storage have a high storage capacity?
No. It has a relatively small storage capacity compared to secondary devices
What is secondary storage?
Secondary storage – non-volatile storage used to save data.
E.g. hard disk - measured in terabytes (TB)
What is ROM?
Small piece of read-only memory located on the motherboard. It contains the very first instructions of the computer.
Non-volatile
Uses – firmware, and BIOS information.
What is RAM?
Temporary storage of instructions and data for programs executed by the processor.
Uses – holds operating system and programs in use by CPU while computer is running. It is volatile (contents lost when power is turned off). Large compared to ROM.
Internal components of a computer
RAM, ROM, CPU, Hard Drive
What is the POST?
Power on Self Test - wakes up all the connected components and makes CPU aware of their existence
What is Virtual Memory?
Virtual memory allows computers to use hard disk space as an extension of RAM - when there is not enough physical RAM to store the open programs.
What happens when instructions are needed again?
A different program can be swapped out of RAM into virtual memory to make room for instructions now needed.
What happens when RAM is not executed?
Programs are transferred out to virtual memory and when RAM is needed, programs are transferred back to RAM from virtual memory.
Why is Secondary storage needed?
ROM is read-only and RAM is volatile. It is needed for storage of programs and data when power is turned off, semi-permanent storage of data that can change, backup of data files and archive of data files
What is the drive?
The device that reads and writes data from secondary storage
Media
What the data is actually stored on
What is optical storage?
`Consists of CD-R, CD-RW. DVD-RW, Blu-Ray
Low capacity compared to other types of storage, slow to access data
How do optical drives work?
By shining a laser at the media and processing the reflection from the media
What are pits and lands?
Where the surface of the disc is physically burned by the laser. Suitable for storing zeros and ones.
What is magnetic storage?
Consists of a hard disk drive, and tape. High storage capacity. Quick to access data. Has moving parts, which eventually fail. Hard disks perform better if defragmented
Disadvantages:
Slow access times, prone to scratches
Advantages:
Cheap, thin, light weight, portable
Advantages of magnetic storage:
Cheap, large capacity
Disadvantages of magnetic storage:
slow access times, fragile
What is solid state storage?
Consists of SSD, Memory sticks, Flash memory cards. Medium storage capacity. Very quick to access data. No moving parts, very reliable, no noise, low power, no need to defragment. Expensive compared to other types of storage
Advantages:
Durable, Fast access times