Data representation - Number systems (paper 1) Flashcards
what is the order of binary representation
Bit, Nibble, Byte, Kibibyte, Mebibyte, Gigabyte, Tebibyte, Pebibyte, Exibyte
Ben Nibbled Bens Keish Made Gratefully To Paul
how and why do computers use binary to represent all forms of data
- computers are made up of switches : 2 states= off (0) and on (1)
- all data needed to be converted into binary to be processed by computer
- data is processed using logic gates and stored in registers
how many bits are in a Nibble
4
how many bits are in a Byte
8
how many bytes are in Kibibyte
1024 bytes
how many KiB are in a MiB
1024 KiB
how to convert binary into positive denary
- write out the place holders above the binary - 1,2,4,8,16….
- add the numbers which have a 1 under
what base system does denary have
base of 10
how to convert positive denary into binary
- start with the most significant bit
- then keep going down
what number system does hexadecimal have
base 16
what are 10 - 15 represented by in hexadecimal
A-F
how to convert binary into hex
- split 8-bit binary number into 2 nibbles of 4 bits
- convert each nibble separately - starting from 1,2,4,8
convert 01001111 into hex
0100 = 4
1111 = 15 = F
4F
how convert hex into binary
- convert each hex value into a 4-bit binary value
- join to make a byte
convert 7E into binary
7 = 0111
E = 14 = 1110
01111110