1.2 Memory and Storage Flashcards
What are the two types of storage?
Properties of Primary Storage?
Consists of RAM, ROM, Cache and registers
- With Exception of ROM they are all volatile
- Relatively small storage capacity compared to secondary storage
- Very Fast access times compared to secondary storage
Properties of Secondary Storage
- Non-volatile
- Very slow access times compared to primary storage
It is needed as:
- Larger capacity compared to primary storage.
What is ROM?
What is it’s purpose?
Small piece of read-only, non-volatile memory which contains the bootstrap and BIOS which is located on the motherboard. It is smaller than RAM
The BIOS (Basic Input Output System) is an example of a program that is stored in ROM. The BIOS runs as soon as the computer is switched on. It checks that the hardware is functioning correctly, then runs a second program known as the bootup or bootstrap program that loads the computer’s operating system from the hard drive into the RAM. The BIOS is always needed so it is stored in ROM.
What is RAM?
What is the purpose of RAM?
Larger than ROM, Smaller than secondary storage
RAM is fast, volatile, read-write memory which is used for the temporary storage of instructions and data.
When the computer Boots up, the OS is copied from secondary storage into RAM.
What happens when there is not enough storage in RAM?
What is Virtual Memory?
When programs and data are fetched and executed they are stored in RAM but this assumes that the RAM is big enough to hold the programs. However, there is significantly more room available on the hard disk.
So when you run out of RAM instruction & data that are not being used are transferred to the virtual memory on a hard disk.
If a different program is needed the program swapped out from RAM to Virtual Memory that are now needed
Why do we need secondary storage?
Secondary storage is needed because ROM is read only and RAM is volatile. IT is also needed for:
- Storage of programs and data when power is turned off
- Semi-permanent storage of data that can change
- backup of data files
- Archive of data files
What is a drive?
What is a media?
What are the three types of secondary storage?
What is a Magnetic Device and how does it work?
What is their advantages and Disadvantages?
Magnetic devices such as **hard disk drives** use magnetic fields to magnetise tiny individual sections of a metal spinning disk. Each tiny section represents one **bit**. A magnetised section represents a **binary** ‘1’ and a demagnetised section represents a binary ‘0’. These sections are so tiny that disks can contain **terabytes (TB)** of data.
As the disk is spinning, a read/write head moves across its surface. To write **data**, the head magnetises or demagnetises a section of the disk that is spinning under it. To read data, the head makes a note of whether the section is magnetised or not.
Magnetic devices are fairly cheap, high in capacity and durable. However, they are susceptible to damage if dropped. They are also vulnerable to magnetic fields.
What is a Optical Device and how does it work?
What is their advantages and Disadvantages?
What are their types?
Optical devices use a **laser** to scan the surface of a spinning disc made from metal and plastic. The disc surface is divided into tracks, with each track containing many flat areas and hollows. The flat areas are known as lands and the hollows as pits.
When the laser shines on the disc surface, lands reflect the light back, whereas pits scatter the laser beam. A sensor looks for the reflected light. Reflected light (lands) represents a binary ‘1’, and no reflection (pits) represents a binary ‘0’.
Optical media also come in different types:
- **ROMmedia** have data pre-written on them. The data cannot be overwritten. Music, films, software and games are often distributed this way.
- **R** media are blank. An optical device writes data to them by shining a laser onto the disc. The laser burns pits to represent ‘0’s. The media can only be written to once, but read many times. Copies of data are often made using these media.
- **RW** works in a similar way to R, except that the disc can be written to more than once.
What is a Solid State Device and how does it work?
What is their advantages and Disadvantages?
Solid state devices use **non-volatile** random access memory **(RAM)** to store data indefinitely. They tend to have much faster access times than other types of device and, because they have no moving parts, are more durable.
Since this type of memory is expensive, solid state devices tend to be smaller in capacity than other types. For example, a solid-state drive that holds 256 **GB** might be of a similar cost to a hard disk with several terabytes capacity.
Solid state devices require little power, making them ideal for portable devices where battery life is a big consideration. They are also portable due to their small size and durability.
What are the characteristics of a Hard disk and what is it used for?
What are the characteristics of a CD-ROM/R and what is it used for?
What are the characteristics of a CD-RW and what is it used for?
What are the characteristics of a DVD RW and what is it used for?
What are the characteristics of a Blue-Ray and what is it used for?
What are the characteristics of a Solid State Drive and what is it used for?
What are the characteristics of a USB memory stick and what is it used for?
What are characteristics you should consider when buying secondary storage?
CSPDRC
Capacity
Speed
Portability
Durability
Reliability
Cost
What is Optical secondary suitable for?
What is Magnetic Storage Suitable for?
High Capacity
Fast Access
Low Cast
Cloud storage
What is solid state storage suitable for?
SSD,Memory sticks, Flash memory cards
Low power embedded systems
Portable devices
Silent Operation
Very Fast access
Small and Lightweight
How do you calculate the file size of text files?