28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4. Then, with those totals, we use our decimal to hexadecimal conversion chart<br />

above to complete the conversion.<br />

9=9 7=7<br />

The binary octet “11001101” is equivalent to the hexadecimal number “97.”<br />

Don’t think in terms of decimal…this is NOT ninety-seven. In hexadecimal this<br />

is “nine-seven.”<br />

You can convert from decimal to binary and then to hexadecimal. We use subscripts to<br />

denote which base of number we are using (2 for binary, 10 for decimal and 16 for<br />

hexadecimal). Try it with these:<br />

1. 143 10<br />

2. 244 10<br />

3. 78 10<br />

4. 128 10<br />

5. 191 10<br />

Check your answers. Hopefully you are correct! If you have decimal numbers with more<br />

than 255 (our binary octet upper limit) then we have ways to convert them too. To<br />

convert a decimal number to hexadecimal we just keep dividing it <strong>by</strong> 16 until we get to<br />

zero. The remainders, in reverse order, are used to code the hexadecimal. For example<br />

let’s convert the decimal number 28436 to hexadecimal:<br />

28436 divided <strong>by</strong> 16 = 1777 R 4<br />

1777 divided <strong>by</strong> 16 = 111 R 1<br />

111 divided <strong>by</strong> 16 = 6 R 15<br />

6 divided <strong>by</strong> 16 = 0 R 6<br />

The remainders, in reverse order, are 6-15-1-4. When we replace 15 with F we get our<br />

hexadecimal conversion of 6F14 (“six-F-one-four”). Ok…So I know a lot of you cheated<br />

and used a calculator. Here is a chart for the remainders converted to whole numbers:<br />

R 0 0/16 0.0000 R 8 8/16 0.5000<br />

R 1 1/16 0.0625 R 9 9/16 0.5625<br />

R 2 2/16 0.1250 R 10 10/16 0.6250<br />

R 3 3/16 0.1875 R 11 11/16 0.6875<br />

R 4 4/16 0.2500 R 12 12/16 0.7500<br />

R 5 5/16 0.3125 R 13 13/16 0.8125<br />

R 6 6/16 0.3750 R 14 14/16 0.8750<br />

R 7 7/16 0.4375 R 15 15/16 0.9375<br />

61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!