Show answerHide answer
Correct answer: C 00000111
Explanation
Explanation:The binary system is a base-2 numbering system, meaning each digit (or bit) can only be a 0 or a 1. The value of a bit is determined by its position, which corresponds to a power of 2, starting from 2⁰ on the far right (the Least Significant Bit).
To convert decimal 7, we determine which powers of 2 sum to 7:
2² = 4
2¹ = 2
2⁰ = 1
Adding these together: 4 + 2 + 1 = 7.
In binary, we represent this by placing a '1' in the positions for 4, 2, and 1, and '0's in all others. Writing this out for a single byte (8 bits) looks like this:
128 (2⁷) 64 (2⁶) 32 (2⁵) 16 (2⁴) 8 (2³) 4 (2²) 2 (2¹) 1 (2⁰)
0 0 0 0 0 1 1 1 Thus, the binary equivalent is 00000111. The leading zeros are often included in networking contexts to explicitly show the full octet.
Analysis of Incorrect Options
A. 00001000
Incorrect. This binary number represents decimal 8. The only '1' is in the 2³ (value 8) position. The calculation is (0+0+0+0+8+0+0+0) = 8. This is the value one greater than 7.
B. 00010000
Incorrect. This binary number represents decimal 16. The only '1' is in the 2⁴ (value 16) position. The calculation is (0+0+0+16+0+0+0+0) = 16. This is more than double the value of 7.
D. 11100000
Incorrect. This binary number represents a much larger decimal value, 224. The '1's are in the 2⁷ (128), 2⁶ (64), and 2⁵ (32) positions. The calculation is (128 + 64 + 32 + 0 + 0 + 0 + 0 + 0) = 224. This is a common distractor that tests if you are reading the bits from the correct direction (right-to-left for LSB).
Reference:
Understanding binary numbering is an absolute prerequisite for IP networking and is a foundational skill tested on the JNCIA-Junos exam. It is essential for comprehending:
IP Addressing: An IPv4 address is four 8-bit binary numbers (octets) represented in decimal for readability.
Subnet Masks: Subnetting entirely relies on manipulating binary bits to create network and host portions of an IP address.