CS FundamentalsModerateTCS NQT · Infosys pattern
A subnet uses the mask 255.255.255.240. How many usable host addresses does each subnet have?
- A. 15
- B. 16
- C. 14
- D. 30
Correct answer: C. 14
240 = 11110000, so 4 host bits remain: 2⁴ = 16 addresses, minus the network and broadcast addresses = 14 usable hosts.
More Computer Networks questions
- Which of these IPv4 addresses is a private (RFC 1918) address?
- A newly booted client obtains an IP address through DHCP. In what order are the four DHCP messages exchanged?
- DNS normally carries an ordinary name lookup over which transport, and a zone transfer between DNS servers over which?
- An HTTP server tells the browser that a page has moved for good to a new URL and that bookmarks should be updated. Which status code does…
- A code must be able to correct any 2-bit error in a codeword. What is the minimum Hamming distance it needs?
- What is the maximum throughput (fraction of time the channel carries a successful frame) of pure ALOHA?