Question 107Asked in DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)

A network on the internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle?

  1. A1024
  2. B3072
  3. C2048
  4. D4094
Show answerHide answer

Correct answer: (D) 4094

Explanation

255.255.240.0 is a /20 mask, which leaves 12 host bits. 2¹² − 2 = 4094 usable hosts (the network and broadcast addresses are excluded).

From DSSSB TGT Computer Science PYQ, 24 Jun 2023, Shift 3 (4:30 PM)

This is question 107 of DSSSB TGT Computer Science PYQ, 24 Jun 2023, Shift 3 (4:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.