1.2 Memory and Storage Flashcards
What does primary storage consist of/
Random Access Memory (RAM)
Read Only Memory (ROM)
Registers & Cache
State three items that are stored in RAM
Programs currently in use
Data currently in use
OS currently in use
Purpose of primary storage
To hold the data and instructions which the CPU needs access to while a computer is running
Properties of Primary Storage
With exception of ROM all volatile
Relatively small storage capacity compare to secondary storage devices. E.g. RAM is typically measured in GB, while SSD are normally measured in TB.
Very fast access times compared to secondary storage
Properties of Secondary storage
All non-volatile
Much larger capacity compared to primary storage
Very slow access times compared to primary storage
Define access speeds
how quickly can we read from and write to a device
Given that RAM is volatile and has a relatively small capacity, whereas secondary storage is non-volatile and has a much larger capacity, then “What is the point in primary storage at all?”
WHAT IS THE NEED FOR PRIMARY STORAGE
Access times for primary storage is much faster than secondary storage
This speed of access is the main need for primary storage
The CPU can much more quickly access data from primary storage than secondary storage
Different types of storage
Primary storage
Secondary storage
Describe the purpose of ROM
Store BIOS (Basic Input Output System) -the boot up instructions
Stores data that should not be changed
Stores data that must be retained when the computer turns off
Stores firmware/OS fundamentals
What is rom
Small piece of read only memory located on the motherboard
what is rom
Software stored on the ROM
Characteristics of ROM
Non-volatile
Programs may be stored in ROM in embedded systems
Small in comparison to RAM
Read only
What is RAM
RAM is temporary storage of instructions and data
Key characteristics of RAM
Holds the operating system, programs and data in use by the CPU when the computer is running
Volatile
It is readable and writeable
Much faster than the hard disk
Large in comparison to ROM
Why is it important for ROM to be non-volatile
Store BIOS (Basic Input Output System) -the boot up instructions
Stores data that must be retained when the computer turns off
If rom was volatile (and contents were lost when the power was turned off), then the computer will not know how to start up.
Define volatile
Volatile - When contents are lost when the power is turned off
Define non-volatile
Non volatile (contents remains when power
Explain how virtual memory can compensate for the lack of RAM in a computer
VM is used when RAM is full
Part of the secondary storage used as (temporary) RAM
Data from RAM is moved to the
secondary storage/VM (to make space in RAM)
RAM can then be filled with new data
When data in VM is needed it is moved back to RAM
Explain why it is beneficial to get more RAM instead of relying on virtual memory
More RAM will improve the
performance of the computer
(//More RAM will speed up the access to data)
Excessive use can cause disk
thrashing which decreases performance
VM is slower to access than RAM directly (because it has to go back to RAM first)
Moving data between RAM and VM takes processor time