## Going to take a certification that involves binary?

Going to take a certification that involves binary?

Here’s a quick tutorial~

Let’s say you are given an IP address of 192.168.1.135 in an answer.

What is this number in binary?

Here’s what you do.

Take a simple key to convert the numbers in the octets into binary.

The key is this:

128   64   32   16   8   4   2  1

Now let’s take the first octet of 192 and let’s see how many times the numbers above (the key) go into the given octet.

How many times does 128 go into 192?     192 – 128        1 time

This will leave us 64.

Next, how many times will 64 (your remaining number) go into the next number in the key(64)?

64 -64       1 time

Now the remaining number is 0.   So if you subtract 32 from 0 the number will be 0.  16 from 0 is 0, 8 from 0 is 0, 4 from 0 is 0, 2 from 0 is 0 and finally 1 from 0 is 0.

Now let’s do the 168 octet.

128 goes into 168 – 1 time.   The remaining number is 40.   64 goes into 40 – 0 times.    32 goes into 40 – 1 time.  This gives you a remainder of 8.   16 (the next number in the key) goes into 8 how many times? 0 . 8 goes into 8 – 1 time.  The remainder is now 0.    4 goes into 0 – 0 times.   2 goes into 0 – 0 times.  1 goes into 0 – 0 times.   Look at your answers (bold).

168 will be 1010100

Of course the next number (third octect) which is 1 will be 00000001.

If you use the above key for 132, along with the subtraction method, 132 will be 10000100.

Try a these yourself using the subtraction method above –

192.168.1.32

192.168.1.111

Flip over and see the answers

11110110˙10000000˙00010101˙00000011

01100100˙10000000˙00010101˙00000011

:ɹǝʍsuɐ ## About TCAT Shelbyville IT Department

The Tennessee College of Applied Technology - is one of 46 institutions in the Tennessee Board of Regents System, the seventh largest system of higher education in the nation. This system comprises six universities, fourteen community colleges, and twenty-six Applied Technology Colleges.
This entry was posted in Computer Security, Education, freeware, Information Technology, network, Networking, Technology, Windows and tagged , , , , , . Bookmark the permalink.