Moodle enables you to restrict the location from which a quiz can be accessed. This is especially useful for a proctored quiz, where you want to be sure that only people in a certain room are able to access the quiz.
This is done with the Require network address setting as shown:
Only computers that are located in this specified network address can access the quiz.
You can specify different kinds of network addresses. Each is explained in forthcoming sections.
This is the simplest option. Every computer connected directly to the Internet has a unique identifier, called its IP address. Please note the use of the phrase "directly connected" is deliberate and I'll explain it further. A full IP address specifies a single computer, router, printer, or other device on the Internet.
An IP address is specified by writing four numbers, separated by decimal points, like this: 255.255.255.255...