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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Paper Lab: Binary Numbering<br />

Objective:<br />

To learn how to convert binary numbers into decimal numbers and vice versa.<br />

Tools and Materials:<br />

Paper and pencil<br />

“Bit Bashing” worksheet<br />

Background: Converting Binary to Decimal<br />

If I asked you to count from zero to nine I would expect everyone would have no<br />

problem with it. You would respond with “zero-one-two-three-four-five-six-seven-eightnine.”<br />

This is what is known as the decimal (or base 10) system. There are ten possible<br />

combinations available for each column. Each column represents a progressively higher<br />

power of ten. For example the number 532:<br />

10 2 10 1 10 0<br />

100 10 1<br />

532 = 5 3 2<br />

This represents 5 units of 10 2 (10x10=100) which is 5 hundreds, 3 units of 10 1 (10x1=10)<br />

which is 3 tens or 30, and 2 units of 10 0 (1) which is 2. Put them all together and you get<br />

five hundred and thirty-two. Ok. I know you know this stuff already it will just make the<br />

transition to learning stuff on binary easier.<br />

Binary is a base 2 system. Instead of ten numbers we only have two numbers: zero and<br />

one (0 or 1). Like our decimal system our columns each represents a progressively<br />

higher power of 2.<br />

2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0<br />

128 64 32 16 8 4 2 1<br />

Each column heading represents a decimal number with a binary power. To convert<br />

between binary and decimal the rule is simple: Any place you have a “1” you just add the<br />

column heading to get the decimal total. For example, if we were given a binary number<br />

of 01101101 to convert into decimal we would write it under our “bit-bashing” chart.<br />

Then, in any column where a 1 appeared, we would add the column headings together.<br />

That would be our binary to decimal equivalent.<br />

2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0<br />

128 64 32 16 8 4 2 1<br />

0 1 1 0 1 1 0 1<br />

64+32+8+4+1=109<br />

49

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

Saved successfully!

Ooh no, something went wrong!