1.2 Memory and Storage Flashcards
ROM
Read Only Memory
RAM
Random Access Memory
What is RAM?
Main memory, primary memory, primary storage
How is RAM used?
Can be written and read to. Much faster than a hard drive.
What does the RAM store?
The OS (or part in use), the software currently in use and the data which the software is using
Is RAM volatile?
RAM is volatile, which means that it loses data when power is turned off
RAM when the computer is turned on
When the computer is first turned on, no data is stored in RAM
The OS and RAM
The computer first loads the OS from the hard drive into RAM.
Programs and data in RAM
When applications are loaded, they are copied into RAM from the hard drive. Documents and files that are used with those programs are also opened by copying them into RAM.
RAM starts to fill up as all these programs, documents and files are copied.
Virtual memory
Is part of the hard drive and used as an extension to RAM
Advantages of virtual memory
Uses cheap secondary storage on the hard drive, prevents error messages saying, ‘out of memory’ - the programs and files will still open
Disadvantages of Virtual Memory
It is very slow to access as to access data, the existing data in RAM needs to be copied to the virtual memory, then data in virtual memory needs to be copied to RAM
Characters -
simply letters, numbers and symbols
Character set
all the set of all characters (letters, numbers, symbols) that a computer can understand.
ASCII
uses 7-bits which could store 27 = 128 characters. ASCII was later upgraded to 8-bits which could store 28 = 256 characters.
Unicode (16-bit and later 32-bit)
was brought in to allow other languages, with all their various letters and symbols to be able to be represented in a computer system.
Resolution -
the number of bits per area of an image. Higher resolution = better quality (clearer).
Colour depth (bit-depth) –
number of bits per pixel. Higher bit depth = more colours
Sample rate/sampling frequency -
The number of samples of the sound taken per second.
Bit depth or “sample size” -
The number of frequencies/pitches that can be represented. The higher the sampling frequency/sample rate and bit-depth/sample size the better the file will represent the original analogue sound.
Bit rate:
The amount of data per second that is required to stream/play the sound back again.
Metadata:
Data about data. For example, an image file might contain metadata that gives the resolution and colour depth.
Binary shifts -
Binary shifts or “bit-shifts” moves binary numbers to the left or right. A shift of 1 space left will double the number. 1 shift right will halve it.
Units of storage:
- Bit = 1 or 0 (smallest unit of data).
- Nibble = 4 bits
- Byte = 8 bits
- KiloByte = 1024 Bytes
- MegaByte = 1024 x 1024 (roughly 1 million) Bytes
- GigaByte = 1024 x 1024 x 1024 (roughly 1 billion) Bytes
- TeraByte = 1024 x 1024 x 1024 x 1024 (roughly 1 trillion) Bytes