Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE-CS-2015 (Set 3) | Question 48

  • Difficulty Level : Medium
  • Last Updated : 28 Jun, 2021

In the network 200.10.11.144/27, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is ________
(A) 158
(B) 255
(C) 222
(D) 223


Answer: (A)

Explanation:

The last or fourth octet of network address is 144 
144 in binary is 10010000.

The first three bits of this octal are fixed as 100, 
the remaining bits can get maximum value as 11111.  
So the maximum possible last octal IP address is 
10011111 which is 159.

The question seems to by asking about host address. The
address with all 1s in host part is broadcast address 
and can't be assigned to a host. So the maximum possible 
last octal in a host IP is 10011110 which is 158.

The maximum possible network address that can be assigned 
is 200.10.11.158/31 which has last octet as 158.


Quiz of this Question

Attention reader! Don’t stop learning now.  Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.

Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :