What is subnet mask? Why it is used?

What is subnet mask? Why it is used?

From the Mongla Port Authority Assistant Programmer 2023 – Written exam, question 5 of 7.

More from this paper