1.2 Units of Information Flashcards
What does Primary storage do
It holds the data and instructions which the CPU needs access to while a computer is running.
What does Primary Storage Consist of
Random Access Memory (RAM)
Read Only Memory (ROM)
Registers & Cache
What is RAM
- Holds the operating system, programs and data in use by the CPU when the computer is running.
- Volatile (contents lost when the power is turned off).
- Read and write.
- Large in comparison to ROM.
What is ROM
- Holds the first instructions for when the computer is first turned on known as the bootstrap.
- Programs may by stored in ROM in embedded systems.
- Non-volatile (contents remains when power is turned off)
- Read only
- Small in comparison to RAM
What is Virtual Memory used for
- Virtual memory is needed when there is not enough physical RAM to store the open programs.
- Virtual memory is held on the hard disk.
- Programs are transferred out to virtual memory from the RAM when they are not currently being executed.
- Programs are transferred back to RAM from virtual memory when they are needed.
What is secondary storage needed for
- Secondary storage is needed because ROM is ready only and RAM is volatile.
- Second storage is 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 common types of Storage
Optical (CD-R, DVD-R)
Magnetic (Hard disk drive)
Solid state (SSD, Memory stick)
What are qualities of Optical storage
Low capacity compared to other types of storage.
Slow to access data.
Thin, lightweight and portable.
What are qualities of Magnetic Storage
High storage capacity.
Quick to access data.
Has moving parts, which eventually fail.
Hard disks perform better if they are defragmented
What are qualities of Solid-State Storage
Medium storage capacity.
Very quick to access data.
No noise. No moving parts, very reliable.
Low power.
No need to defragment.
Limited number of read/write cycles.
Expensive compared to other types of storage.
How do you calculate text file size
Bits per character x number of character
How do you calculate image file size
Colour depth x image height px x image width px
How do you calculate sound file size
sample rate x duration in second x bit depth
Why do computers use Binary
- Easier to manufacture
- cheaper
- more reliable
What is a character set
a defined list of characters recognised by the computer