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.

Hexadecimal Numbering<br />

Objective:<br />

To learn how to convert between Hexadecimal, Decimal, and Binary numbers.<br />

Tools and Materials:<br />

Pencil and Paper<br />

Bit-bashing worksheet<br />

Background:<br />

In the previous lab you learned how to convert between a base 2 numbering system<br />

(binary) and a base 10 numbering system (decimal). As Emeril says we will be “kicking<br />

it up a notch” here <strong>by</strong> adding in base 16 numbering systems (hexadecimal). Just like our<br />

decimal system used the numbers zero-one-two-three-four-five-six-seven-eight-nine to<br />

represent the 10 places in a base 10 system we use zero-one-two-three-four-five-sixseven-eight-nine-ten-eleven-twelve-thirteen-fourteen-fifteen<br />

to represent the 16 places in<br />

a base 16 system. The only difference is since we cannot distinguish a one-four from a<br />

fourteen we use letters for ten through fifteen. Therefore our base 16 system is coded:<br />

0-9 0-9<br />

10 A<br />

11 B<br />

12 C<br />

13 D<br />

14 E<br />

15 F<br />

It’s actually easy once you get used to it. Once again, just like our decimal and binary<br />

system, each column would be represented as a power with base 16. If we look at the<br />

“column headings” for five bits of hexadecimal numbers they become:<br />

16 4 16 3 16 2 16 1 16 0<br />

65536 4096 256 16 1<br />

Let’s start with binary to hexadecimal conversions using octets…they are the easiest.<br />

Since there is eight bits these are easy:<br />

1. We just divide the octet into two groups of 4 bits<br />

2. Make new column headings<br />

3. Add them up.<br />

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

above to complete the conversion.<br />

59

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

Saved successfully!

Ooh no, something went wrong!