Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The subnet mask for a particular network is 2... Start Learning for Free
The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?
  • a)
    172.57.88.62 and 172.56.87.23
  • b)
    10.35.28.2 and 10.35.29.4
  • c)
    191.203.31.87 and 191.234.31.88
  • d)
    128.8.129.43 and 128.8.161.55
Correct answer is option 'D'. Can you explain this answer?
Verified Answer
The subnet mask for a particular network is 255.255.31.0. Which of the...
A and C are not the answers as the second byte of IP differs and subnet mast has 255 for second byte.
Consider B, (& for bitwise AND)
10.35.28.2 & 255.255.31.0 = 10.35.28.0 (28 = 111002)
10.35.29.4 & 255.255.31.0 = 10.35.29.0 (29 = 111112)
So, we get different subnet numbers
Consider D.
128.8.129.43 & 255.255.31.0 = 128.8.1.0 (129 = 100000012)
128.8.161.55 & 255.255.31.0 = 128.8.1.0 (161 = 101000012)
The subnet number matches. So, D is the answer.
View all questions of this test
Most Upvoted Answer
The subnet mask for a particular network is 255.255.31.0. Which of the...
Explanation:

Subnet mask is used to divide an IP address into network and host portions. In this case, the subnet mask is 255.255.31.0, which means that the first 21 bits are used for network identification while the remaining 11 bits are used for host identification.

To find out which pairs of IP addresses could belong to this network, we need to compare the first 21 bits of each IP address with the network portion of the subnet mask.

Option A: 172.57.88.62 and 172.56.87.23
- First IP address: 10101100.00111001.01011000.00111110
- Second IP address: 10101100.00111000.01010111.00010111
- Both IP addresses have different network portions, so they cannot belong to the same network as the given subnet mask.

Option B: 10.35.28.2 and 10.35.29.4
- First IP address: 00001010.00100011.00011100.00000010
- Second IP address: 00001010.00100011.00011101.00000100
- Both IP addresses have the same network portion (00001010.00100011.000111), but the third octet is not within the range of the subnet mask (0-31). Therefore, these IP addresses cannot belong to the given network.

Option C: 191.203.31.87 and 191.234.31.88
- First IP address: 10111111.11001011.00011111.01010111
- Second IP address: 10111111.11101010.00011111.01011000
- Both IP addresses have the same network portion (10111111.11), but the next 10 bits are different, which means they cannot belong to the same network.

Option D: 128.8.129.43 and 128.8.161.55
- First IP address: 10000000.00001000.10000001.00101011
- Second IP address: 10000000.00001000.10100001.00110111
- Both IP addresses have the same network portion (10000000.00001000.10), which matches the network portion of the given subnet mask. Therefore, these IP addresses could belong to the same network as the subnet mask.

Thus, option D is the correct answer.
Free Test
Community Answer
The subnet mask for a particular network is 255.255.31.0. Which of the...
A and C are not the answers as the second byte of IP differs and subnet mast has 255 for second byte.
Consider B, (& for bitwise AND)
10.35.28.2 & 255.255.31.0 = 10.35.28.0 (28 = 111002)
10.35.29.4 & 255.255.31.0 = 10.35.29.0 (29 = 111112)
So, we get different subnet numbers
Consider D.
128.8.129.43 & 255.255.31.0 = 128.8.1.0 (129 = 100000012)
128.8.161.55 & 255.255.31.0 = 128.8.1.0 (161 = 101000012)
The subnet number matches. So, D is the answer.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer?
Question Description
The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer?.
Solutions for The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer?, a detailed solution for The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The subnet mask for a particular network is 255.255.31.0. Which of the following pairs of IP addresses could belong to this network?a)172.57.88.62 and 172.56.87.23b)10.35.28.2 and 10.35.29.4c)191.203.31.87 and 191.234.31.88d)128.8.129.43 and 128.8.161.55Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev