Primary storage vs secondary storage
Primary storage:
Very quick because it’s is directly accessed by the CPU
Typically smaller in storage size
Sometimes called ‘main memory’
Includes RAM and ROM
Secondary storage:
Slower because it’s is not directly accessed by the CPU
Typically larger in storage size
Used for long term storage of data and files because it’s non-volatile
Includes magnetic,optical and solid state storage
What is volatile and non volatile memory
Volatile storage is temporary.Data is lost whenever the power is turned off
e.g. RAM
Non-volatile storage saves the data even when not being powered.Data can be stored long-term and accessed when the computer is turned on
E.g. ROM
Why do computers need primary storage?
primary storage is a low capacity internal storage that can be directly accessed by the CPU
What is RAM
RAM is Volatile (temporary)storage that stores all programs that are currently running.also stores parts of the operating system to be accessed by the CPU
what is ROM
ROM is non-volatile storage that cannot be changed
ROM stores boot program/BIOS for when the computer is switched on.
What is virtual memory and how does it work
Programs must be stored in RAM to be processed by the CPU.even if there’s insufficient space in RAM the computer can use the HDD (hard disk drive) as an extension of RAM-This is called virtual memory
What is binary?
Binary is a number system consisting of entirely 1s and 0s
Why do computers use binary?
Computer systems consist of billions of tiny transistors which are switches that only have two values -on(1) or off(0).Therefore all data must be represented and processed this way.
Units of data storage:
Bits
4 bits=nibble
8 bits=1 byte
1000 bytes=1 kilobyte
1000 kilobytes=megabytes
1000 megabytes=1 gigabytes
1000 gigabytes=1 terabyte
1000 terabyte=1 petabytes
Josh has 500MB of free space on his USB stick.Each image is 650KB. How many images can he store?
500 MB x 1000= 500,000KB
500,000 KB / 650KB = 769 images
What is denary?
Denary(also known as decimal) is a base 10 number system. This means that it has 10 possible values - 0,1,2,3,4,5,6,7,8 and 9
What is hexadecimal?
Hexadecimal is a base 16 number system.This means that it has 16 possible values - 0,1,2,3,4,5,6,7,8,9A,B,C,D,E and F
10=A
11=B
12=C
13=D
14=E
15=F
How to covert binary to hexadecimal:
1)Write out the binary number to convert
2)split the binary number into 2 groups
3)work out the hexadecimal value of each nibble
It can also either be 2 numbers
E.G. 38
Or 2 letters
E.G. EF
How to convert denary to hexadecimal
easiest way is to covert to denary number into binary and go from there
How to add binary digits:
0+0=0
1+0=1
1+1=(little 1)0
1+1+1=(little 1)1
Write the two binary numbers ontop of each other
01010100
01110110
—————
11001010
What is an overflow error?
an overflow error occurs when a binary value is too large to be stored in the bits available
What is binary shifts and what is the effects of shifting left and right
Used to multiply and divide binary number
the effect of shifting left is to multiply a binary number
the effect of shifting right is to divide a binary number
shifting by 1 has an effect of 2
Shifting by 2 has an effect of 4
Shifting by 3 has an effect of 8
What is a character set
A character set is a table that matches together a character and a binary value
What is ascii
Ascii is a common character set and uses 1 byte which only gives 256 possible characters but uses less memory to use
Enough for the English language
What is Unicode
A more popular character set because it uses 2 bytes that allow for 65536 possible characters
This allows many different languages to be represented and thousands of symbols and emojis but it requires a lot more memory to store each character than ASCII
What is the equation of file size of text files
Bits per character x number of characters
A small text file uses ASCII character set (which uses 8 bits per character).There are 300 characters in the file.
300 x 8=2,400
What are bitmap images made out of
Made of pixels single colour squares arranged on a grid
What does the quality of a bitmap image depend on
The total amount of pixels this is known as image resolution