Está en la página 1de 6

The Ultimate CCNA Study Package - ICND 1 And 2

Chris Bryant, CCIE #12933 http://www.thebryantadvantage.com Back To Index

Converting Binary To Dotted Decimal

An example of a binary-to-dotted decimal question: What is the dotted decimal equivalent of the binary number 01100010 00111100 11111100 01010101? To answer this type of question, use the chart we developed in Section One. The first set of eight numbers refers to the first octet of an IP address, and so on, so use the following variation of the chart: 128 64 32 16 8 4 2 1 First Octet Second Octet Third Octet Fourth Octet For binary-to-decimal conversion, just plug the binary number strings into the table. After doing so, add up all the values that have a 1 in them from left to right, and that will give you the decimal value for each octet. Lets take the first octet as an example. The binary string is 01100010. Filling in your chart from left to right, the first octet looks like this: 128 64 32 16 8 4 2 1 First Octet 0 1 1 0 0 0 1 0 There are ones in the column for 64, 32, and 2. Just add them up, and that is the decimal value for the first octet 98. Repeat the process for each octet, and you quickly have the dotted decimal equivalent of the binary string. 128 64 32 16 8 4 2 1 Total First Octet 0 1 1 0 0 0 1 0 98 Second Octet 0 0 1 1 1 1 0 0 60 Third Octet 1 1 1 1 1 1 0 0 252 Fourth Octet 0 1 0 1 0 1 0 1 85 The dotted decimal equivalent of the binary string we were given is 98.60.252.85.

Exam Tip

When youre taking a Cisco exam, the clock is ticking from the moment you see the first question. However, its up to you when you press the button to see the first question. Its wise to draw a couple of these

charts before you begin the exam, as well as any other diagrams or charts you want to use. Many testing centers now give candidates laminated boards with markers to use during the exam. These markers tend not to be finepoint markers, which can make them difficult to use for solving binary math questions. I strongly recommend to you that you ask the test proctor for real paper and a pen. Binary-to-decimal conversion is the simplest type of question youll get, but dont underestimate them. Practice these using your chart, and it will give you the foundation you need to answer the more difficult subnetting questions.

Binary-To-Decimal Practice Questions

What is the dotted decimal equivalent of 00110101 00110011 11111110? 128 64 32 16 First Octet 1 1 1 1 Second Octet 0 0 1 1 Third Octet 0 0 1 1 Fourth Octet 1 1 1 1 Answer: 240.53.51.254. What is the dotted decimal equivalent of 01101111 00011100 00110001? 128 64 32 16 First Octet 0 0 0 0 Second Octet 0 1 1 0 Third Octet 0 0 0 1 Fourth Octet 0 0 1 1 Answer: 15.111.28.49. What is the dotted decimal equivalent of 00000001 11001010 01110110? 128 64 32 16 First Octet 1 1 1 0 Second Octet 0 0 0 0 Third Octet 1 1 0 0

the binary string 11110000

8 0 0 0 1

4 0 1 0 1

2 0 0 1 1

1 0 1 1 0

Total 240 53 51 254

the binary string 00001111 8 1 1 1 0 4 1 1 1 0 2 1 1 0 0 1 1 1 0 1 Total 15 111 28 49

the binary string 11100010

8 0 0 1

4 0 0 0

2 1 0 1

1 0 1 0

Total 226 1 202

Fourth Octet 0 1 1 1 Answer: 226.1.202.118. What is the dotted decimal equivalent of 11111101 11110010 00010101? 128 64 32 16 First Octet 0 1 0 1 Second Octet 1 1 1 1 Third Octet 1 1 1 1 Fourth Octet 0 0 0 1 Answer: 85.253.242.21. What is the dotted decimal equivalent of 11111001 00110111 00111111? 128 64 32 16 First Octet 0 0 0 0 Second Octet 1 1 1 1 Third Octet 0 0 1 1 Fourth Octet 0 0 1 1 Answer: 2.249.55.63. What is the dotted decimal equivalent of 01011111 01111111 11111110? 128 64 32 16 First Octet 1 1 0 0 Second Octet 0 1 0 1 Third Octet 0 1 1 1 Fourth Octet 1 1 1 1 Answer: 201.95.127.254 What is the dotted decimal equivalent of 00000000 11111001 01100110? 128 64 32 16 First Octet 1 1 1 1 Second Octet 0 0 0 0 Third Octet 1 1 1 1

0 1 1 0 118

the binary string 01010101 8 0 1 0 0 4 1 1 0 1 2 0 0 1 0 1 1 1 0 1 Total 85 253 242 21

the binary string 00000010

8 0 1 0 1

4 0 0 1 1

2 1 0 1 1

1 0 1 1 1

Total 2 249 55 63

the binary string 11001001 8 1 1 1 1 4 0 1 1 1 2 0 1 1 1 1 1 1 1 0 Total 201 95 127 254

the binary string 11111000 8 1 0 1 4 0 0 0 2 0 0 0 1 0 0 1 Total 248 0 249

Answer: 248.0.249.102. What is the dotted decimal equivalent of 11111111 01011010 01111110? 128 64 32 16 First Octet 0 0 1 1 Second Octet 1 1 1 1 Third Octet 0 1 0 1 Fourth Octet 0 1 1 1 Answer: 62.255.90.126.

Fourth Octet

0 1 1 0 102

the binary string 00111110

8 1 1 1 1

4 1 1 0 1

2 1 1 1 1

1 0 1 0 0

Total 62 255 90 126

Exam Tip

When solving binary-to-decimal questions, dont be concerned about octets that resolve to 0 or 255. As youll read later, those addresses are considered unusable for host addresses. When performing an address conversion, dont worry about whether its a valid host address. Just perform the conversion as the question asks. What is the dotted decimal equivalent of 11110000 00001111 10111111? 128 64 32 16 First Octet 1 1 0 0 Second Octet 1 1 1 1 Third Octet 0 0 0 0 Fourth Octet 1 0 1 1 Answer: 205.240.15.191 What is the dotted decimal equivalent of 11110000 01111111 00100101? 128 64 32 16 First Octet 1 0 0 1 Second Octet 1 1 1 1 Third Octet 0 1 1 1 Fourth Octet 0 0 1 0 Answer: 153.240.127.37 the binary string 11001101 8 1 0 1 1 4 1 0 1 1 2 0 0 1 1 1 1 0 1 1 Total 205 240 15 191

the binary string 10011001 8 1 0 1 0 4 0 0 1 1 2 0 0 1 0 1 1 0 1 1 Total 153 240 127 37

What is the dotted decimal equivalent of 01110110 11000011 00111111? 128 64 32 16 First Octet 1 1 0 1 Second Octet 0 1 1 1 Third Octet 1 1 0 0 Fourth Octet 0 0 1 1 Answer: 223.118.195.63. What is the dotted decimal equivalent of 00000111 00001111 00000001? 128 64 32 16 First Octet 0 0 0 0 Second Octet 0 0 0 0 Third Octet 0 0 0 0 Fourth Octet 0 0 0 0 Answer: 4.7.15.1.

the binary string 11011111 8 1 0 0 1 4 1 1 0 1 2 1 1 1 1 1 1 0 1 1 Total 223 118 195 63

the binary string 00000100 8 0 0 1 0 4 1 1 1 0 2 0 1 1 0 1 0 1 1 1 Total 4 7 15 1

Exam Tip

I occasionally hear from students that an answer to a binary math question doesnt look right. Dont be concerned about how it looks; use your knowledge to determine the correct answer and go with it. What is the dotted decimal equivalent of 00000111 10001111 00000100? 128 64 32 16 First Octet 1 1 1 0 Second Octet 0 0 0 0 Third Octet 1 0 0 0 Fourth Octet 0 0 0 0 Answer: 224.7.143.4. What is the dotted decimal equivalent of 00000011 11011011 00100101? 128 64 32 16 First Octet 1 1 0 0 Second Octet 0 0 0 0 Third Octet 1 1 0 1 Fourth Octet 0 0 1 0

the binary string 11100000 8 0 0 1 0 4 0 1 1 1 2 0 1 1 0 1 0 1 1 0 Total 224 7 143 4

the binary string 11000000 8 0 0 1 0 4 0 0 0 1 2 0 1 1 0 1 0 1 1 1 Total 192 3 219 37

Answer: 192.3.219.37. What is the dotted decimal equivalent of 01111111 00110011 10000011? 128 64 32 16 First Octet 1 0 0 0 Second Octet 0 1 1 1 Third Octet 0 0 1 1 Fourth Octet 1 0 0 0 Answer: 128.127.51.131 What is the dotted decimal equivalent of 11110111 11111100 11111000? 128 64 32 16 First Octet 1 1 1 1 Second Octet 1 1 1 1 Third Octet 1 1 1 1 Fourth Octet 1 1 1 1 Answer: 251.247.252.248.

the binary string 10000000 8 0 1 0 0 4 0 1 0 0 2 0 1 1 1 1 0 1 1 1 Total 128 127 51 131

the binary string 11111011 8 1 0 1 1 4 0 1 1 0 2 1 1 0 0 1 1 1 0 0 Total 251 247 252 248

Copyright 2011 The Bryant Advantage. All Rights Reserved.

También podría gustarte