Question
An ISP having an address block 202.16.0.0/15 assigns a block of IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?
Official answer and solution
- Official answer
- A, B and C
- From
- Official GATE 2026 answer key
Solution
Check both inclusion within 202.16.0.0/15 and CIDR prefix alignment (the network address of a /19 block must be a multiple of ).
- Prefix length: To allocate at least IP addresses, the block size must be , which corresponds to a
/19prefix (). - Range of ISP block
202.16.0.0/15: Covers202.16.0.0through202.17.255.255. - Alignment requirement for
/19: In the third octet (bits 17 to 24), the first bits belong to the network prefix and the remaining bits belong to the host part and must be . Therefore, the third octet of a valid/19block address must be an integer multiple of ():- (A)
202.16.0.0/19: Third octet is (multiple of ) Valid. - (B)
202.17.64.0/19: Third octet is (multiple of ) Valid. - (C)
202.16.32.0/19: Third octet is (multiple of ) Valid. - (D)
202.17.24.0/19: Third octet is (not divisible by ) Invalid.
- (A)
Options (A), (B), (C)
Selecting (D) by checking only that 202.17.24.0 lies inside 202.16.0.0/15 without checking /19 boundary alignment.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 56 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.