Multiple choice networking

Determine the class of the following IP address: 10011010 01000111 0010010 11100101

  1. D

  2. C

  3. B

  4. A

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

IP address classes are determined by the first few bits of the first octet. Class B addresses start with '10' in binary, which matches the first octet 10011010. Class A starts with 0, Class C starts with 110, Class D with 1110, and Class E with 1111.

AI explanation

To determine the class of an IP address, we need to look at the first few bits of the address.

In this case, the first octet (8 bits) of the IP address is "10011010".

By looking at the range of values for each class, we can determine the class based on the value of the first octet:

Class A: 0.0.0.0 to 127.255.255.255 Class B: 128.0.0.0 to 191.255.255.255 Class C: 192.0.0.0 to 223.255.255.255 Class D: 224.0.0.0 to 239.255.255.255 Class E: 240.0.0.0 to 255.255.255.255 (reserved for experimental use)

In this case, the value of the first octet is 154, which falls within the range for Class C (192.0.0.0 to 223.255.255.255).

Therefore, the class of the given IP address is Class C.

The correct answer is C.