Binary Explained.
Extracts from this document...
Introduction
Binary Explained
Before we can talk about Binary numbers, I need to explain Decimal numbers. Decimal numbers are also known as denary numbers and Base ten. Ten is the bases of decimal numbers simply because we are used to using our fingers to count. By adding a place value determines the meaning of the number, for instance, 192 is a smaller number than 219 although the same numbers have been used. To produce a number in decimal we use one of the ten digits. These are:
0, 1, 2, 3, 4, 5, 6, 7, 8 and 9
Below is a table to show how the decimal 235 is made up.
Hundredths
Binary numbers work in a different way, they use a base number of two and so they only use two symbols, 1 and 0. Below is a table to explain how the decimal equivalent would be written.
This is how binary works.
Middle
Table 2
We see that 32, 8 and 4 have the number one under them so we add these numbers to the total.
32 + 8 + 4 = 44 (in Decimal form)
By following table 1, we can start converting the binary numbers to produce decimal numbers here are two examples.
32+8+4=44
32+16+8+2+1=59
The same process is used to produce smaller numbers as well. Zero may be shown as 0 in all the columns.
To convert back to binary we use repeated division of 2. The number I will convert back to binary will be 54. A common problem with converting back to binary is that a lot of people convert it right, but they don’t put the numbers in the right order. So what we say is, the first division number goes to the right, and then the next number goes next to it on the left, and so on. I will show how the conversion is done below.
Conclusion
Hexadecimal Coding has a base of 16, and the symbols used are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E and F. The symbols A, B, C, D and F are representing the numbers 10, 11,12,13,14 and 15 in decimal form. Where as octal has groups of 3 bits, hex has groups of 4 bits. This is where the letters are used. Since we know how the lower numbers are used I will show below how the symbols 9 and above work.
Now that the groups have four bits to it, we can code binary into hex, by splitting up the binary into groups then working out the symbol. An example is shown below.
Hexadecimal is used more than octal because computers organise their internal memory in 8-bit groupings or bytes and also multiples of bytes. These grouping can be divided into 4-bit nibbles, which can be coded as a short hand of hex.
This student written piece of work is one of many that can be found in our GCSE Consecutive Numbers section.
Found what you're looking for?
- Start learning 29% faster today
- 150,000+ documents available
- Just £6.99 a month