An IP address, short for Internet Protocol address, is a unique numerical label assigned to every device connected to a computer network. It serves as an identifier for devices, enabling data transmission across the internet by specifying the location of the device within the network. There are two main types: IPv4, which uses a 32-bit format (e.g., 192.168.1.1), and IPv6, which employs a 128-bit format to accommodate the growing number of devices. IP addresses facilitate communication, routing, and security in digital interactions.
Table of contents
- Part 1: Create an amazing IP address quiz using AI instantly in OnlineExamMaker
- Part 2: 20 IP address quiz questions & answers
- Part 3: Automatically generate quiz questions using AI Question Generator
Part 1: Create an amazing IP address quiz using AI instantly in OnlineExamMaker
The quickest way to assess the IP address knowledge of candidates is using an AI assessment platform like OnlineExamMaker. With OnlineExamMaker AI Question Generator, you are able to input content—like text, documents, or topics—and then automatically generate questions in various formats (multiple-choice, true/false, short answer). Its AI Exam Grader can automatically grade the exam and generate insightful reports after your candidate submit the assessment.
Overview of its key assessment-related features:
● Create up to 10 question types, including multiple-choice, true/false, fill-in-the-blank, matching, short answer, and essay questions.
● Automatically generates detailed reports—individual scores, question report, and group performance.
● Instantly scores objective questions and subjective answers use rubric-based scoring for consistency.
● API and SSO help trainers integrate OnlineExamMaker with Google Classroom, Microsoft Teams, CRM and more.
Automatically generate questions using AI
Part 2: 20 IP address quiz questions & answers
or
Question 1:
Which of the following is a valid IPv4 address?
A. 256.100.50.1
B. 192.168.1.1
C. 10.0.256.1
D. 172.16.257.1
Correct Answer: B
Explanation: 192.168.1.1 is a valid IPv4 address because each octet ranges from 0 to 255. The other options contain octets greater than 255, which are invalid.
Question 2:
What is the default subnet mask for a Class C IP address?
A. 255.0.0.0
B. 255.255.0.0
C. 255.255.255.0
D. 255.255.255.255
Correct Answer: C
Explanation: Class C IP addresses, which range from 192.0.0.0 to 223.255.255.255, have a default subnet mask of 255.255.255.0, allowing for 256 total addresses with 254 usable hosts.
Question 3:
Which IP address is reserved for local loopback?
A. 127.0.0.1
B. 10.0.0.1
C. 192.168.0.1
D. 172.16.0.1
Correct Answer: A
Explanation: 127.0.0.1 is the loopback address used to refer to the local machine, allowing software to communicate with itself without network involvement.
Question 4:
How many bits are in an IPv4 address?
A. 32 bits
B. 64 bits
C. 128 bits
D. 256 bits
Correct Answer: A
Explanation: An IPv4 address consists of 32 bits, divided into four octets, each 8 bits long, which allows for approximately 4.3 billion unique addresses.
Question 5:
Which of the following is a private IP address?
A. 8.8.8.8
B. 192.168.1.100
C. 172.32.0.1
D. 203.0.113.1
Correct Answer: B
Explanation: 192.168.1.100 falls within the private range 192.168.0.0 to 192.168.255.255, which is not routable on the public internet.
Question 6:
What does the /24 in CIDR notation represent?
A. 24 hosts per network
B. 24 bits for the network portion
C. 24 bits for the host portion
D. 24 subnets
Correct Answer: B
Explanation: In CIDR notation, /24 means the first 24 bits are used for the network address, leaving 8 bits for hosts, which allows for 256 addresses (minus network and broadcast).
Question 7:
Which class of IP address starts with 192?
A. Class A
B. Class B
C. Class C
D. Class D
Correct Answer: C
Explanation: Class C IP addresses begin with the first octet in the range 192 to 223, designed for smaller networks with up to 254 hosts.
Question 8:
Is 169.254.1.1 a valid APIPA address?
A. Yes
B. No
Correct Answer: A
Explanation: 169.254.1.1 is an Automatic Private IP Addressing (APIPA) address, used when a device cannot obtain an IP from a DHCP server, typically in the range 169.254.0.0 to 169.254.255.255.
Question 9:
What is the maximum number of hosts in a /28 subnet?
A. 14
B. 16
C. 32
D. 64
Correct Answer: A
Explanation: A /28 subnet has 32 total addresses (2^4 host bits), but subtracts 2 for the network and broadcast addresses, leaving 14 usable host addresses.
Question 10:
Which of the following is an example of an IPv6 address?
A. 192.168.1.1
B. 2001:0db8:85a3:0000:0000:8a2e:0370:7334
C. 10.0.0.1
D. 172.16.0.1
Correct Answer: B
Explanation: IPv6 addresses are 128 bits long and written in hexadecimal format with colons, as seen in 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Question 11:
What is the purpose of a subnet mask?
A. To hide the IP address
B. To divide an IP network into subnetworks
C. To encrypt data
D. To assign IP addresses
Correct Answer: B
Explanation: A subnet mask is used to specify which part of an IP address is the network portion and which is the host portion, enabling network segmentation.
Question 12:
Which IP address class is used for multicasting?
A. Class A
B. Class B
C. Class C
D. Class D
Correct Answer: D
Explanation: Class D IP addresses, ranging from 224.0.0.0 to 239.255.255.255, are reserved for multicasting, which sends data to multiple recipients efficiently.
Question 13:
Can an IP address end with 255 in a standard subnet?
A. Yes, as the broadcast address
B. No, it’s always invalid
C. Only in Class A
D. Only in IPv6
Correct Answer: A
Explanation: In a subnet, the last IP address (e.g., ending in 255) is typically the broadcast address, used to send data to all devices in the network.
Question 14:
What is the broadcast address for the network 192.168.1.0/24?
A. 192.168.1.1
B. 192.168.1.255
C. 192.168.1.0
D. 192.168.0.255
Correct Answer: B
Explanation: For a /24 subnet like 192.168.1.0, the broadcast address is 192.168.1.255, which targets all hosts in that subnet.
Question 15:
Which of the following is a public IP address range?
A. 10.0.0.0 to 10.255.255.255
B. 172.16.0.0 to 172.31.255.255
C. 192.168.0.0 to 192.168.255.255
D. 203.0.113.0 to 203.0.113.255
Correct Answer: D
Explanation: 203.0.113.0 to 203.0.113.255 is a public range (used for testing), while the others are private and not routable on the public internet.
Question 16:
How many IPv4 address classes are there for unicast?
A. 1
B. 3
C. 5
D. 4
Correct Answer: B
Explanation: There are three unicast classes: A, B, and C, while D is for multicast and E is reserved, making three primary classes for standard unicast communication.
Question 17:
What is the binary equivalent of the IP address 255.255.255.0?
A. 11111111.11111111.11111111.00000000
B. 00000000.00000000.00000000.11111111
C. 10101010.10101010.10101010.10101010
D. 11110000.11110000.11110000.11110000
Correct Answer: A
Explanation: Each octet of 255 is 11111111 in binary, and 0 is 00000000, so 255.255.255.0 translates to 11111111.11111111.11111111.00000000.
Question 18:
Is 0.0.0.0 a valid IP address for a device?
A. Yes, as a default route
B. No, it’s never used
C. Only for IPv6
D. Only for private networks
Correct Answer: A
Explanation: 0.0.0.0 is used as a default route or to indicate that a host doesn’t have an IP address assigned yet, often in routing tables.
Question 19:
What is the CIDR notation for a subnet mask of 255.255.0.0?
A. /8
B. /16
C. /24
D. /32
Correct Answer: B
Explanation: 255.255.0.0 has 16 bits set to 1 (the first two octets), so it is represented as /16 in CIDR notation.
Question 20:
Which address is used for network identification in a subnet?
A. The first IP in the range
B. The last IP in the range
C. Any random IP
D. The gateway IP
Correct Answer: A
Explanation: The first IP in a subnet range, such as 192.168.1.0 in a /24 network, is the network address and is used for identification, not for assigning to hosts.
or
Part 3: Automatically generate quiz questions using OnlineExamMaker AI Question Generator
Automatically generate questions using AI