Convert the IP address 172.68.10.2 from decimal to binary.

Prepare for the NCTI Field Tech III to IV Exam. Study with interactive materials including flashcards and exam-style questions, each with in-depth explanations. Ace your exam and advance your career!

To convert the IP address 172.68.10.2 from decimal to binary, each of the four decimal octets must be converted individually into an 8-bit binary format.

  1. The first octet is 172. In binary, 172 is represented as:
  • 172 divided by 128 (2^7) gives 1 (the highest bit).

  • 172 - 128 = 44, so:

  • 44 divided by 64 (2^6) gives 0.

  • 44 divided by 32 (2^5) gives 1 (the next bit).

  • 44 - 32 = 12.

  • 12 divided by 16 (2^4) gives 0.

  • 12 divided by 8 (2^3) gives 1 (the next bit).

  • 12 - 8 = 4.

  • 4 divided by 4 (2^2) gives 1 (the next bit).

  • 4 - 4 = 0.

Therefore, 172 in binary is 10101100.

  1. The second octet is 68. Its binary conversion works out as:
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy