2.1 Units And Binary Numbers Flashcards
What is binary
A base 2 number system. It has 2 states power on = 1, power off = 0
How is data stored on a computer?
Data such as images, text files etc., are stored in binary
1 bit
Single 0 or 1
1 byte
8 bits (1 char of text)
1 nibble
4 bits or half a byte
1 kB
1000 bytes
1 MB
1000 kB
1 GB
1000 MB
1 TB
1000 GB
1 PB
1000 TB
Give the order of size of bytes
- Kilo
- Mega
- Giga
- Tera
- Peta
How much space does 2 char of text take?
1 byte
How much space does a full page of text take?
30 kB
How much space does a small digital colour take?
3 MB
How much space does a Music CD have?
650 mB
DVD Capacity
4.5GB
Hard disk capacity
1 TB
How do you work out the combination of number of bits
2^n
What base is denary?
10
What base is binary?
Base 2
In a byte of data which bit is the most significant?
The MSB is the bit furthest to the left. In a byte the MSB has a value of 128
In a byte of data which bit is the least significant
The LSB is the bit furthest to the right.
Convert 28 into binary in 1 byte
00011100
What is the largest value that can be stored in a byte?
255
How do you calculate the largest value with a certain amount of bits being n?
2^n-1