Memory and storage * Flashcards
What does primary storage contain?
RAM
ROM
registers
cache
What is primary storage used for?
holds the data and instructions which the CPU needs access to while a computer is running
Can the CPU access data quicker from primary or secondary storage?
primary
What does RAM do?
holds the operating system, programs and data in use by the CPU when the computer is running
Is RAM volatile or non-volatile?
volatile
Is RAM read and write or read only?
read and write
Is RAM larger or smaller?
larger
What does ROM do?
- holds the first instructions for when the computer is first turned on (bootstrap)
- programs may be stored in ROM in embedded systems
Is ROM volatile or non-volatile?
non-volatile
Is ROM read and write or read only?
read only
Is ROM larger or smaller?
smaller
What does volatile mean?
memory is lost when the power is switched off
What does non-volatile mean?
memory remains when the power is switched off
How many bits are there in a byte?
8 bits in a byte
How many bits in a nibble?
4 bits in a nibble
How many nibbles in a byte?
2 nibbles in a byte
How many bytes in a kilobyte?
1024 bytes (1000)
thousand bytes
How many bytes in a megabyte?
1,000,000 bytes
million bytes
How many bytes in a gigabyte?
1,000,000,000 bytes
bilion bytes
How many bytes in a terabyte?
1,000,000,000,000 bytes
trillion bytes
How do you convert from kilobytes to megabytes to gigabytes etc
multiply by 1000
Why is secondary storage needed?
needed because ROM is read only and RAM is volatile
What is secondary storage needed for?
- storage of programs and data when the power is turned off
- semi-permanent storage of data that can change
- backup of data files
- archive of data files
What are the three common types of storage?
- optical
- magnetic (HDD, tape)
- solid-state (SSD)