Internet Protocol (IP) Quiz
1. What does the Internet Protocol (IP) primarily enable?
a) Communication between devices over the internet
b) Secure encryption of messages
c) Wireless connection setup
d) Software installation remotely
Explanation: IP is a protocol that enables devices to communicate with each other over the internet by assigning unique addresses.
2. Which of the following IP versions is currently widely used?
a) IPv2 and IPv3
b) IPv4 and IPv6
c) IPv1 and IPv2
d) IPv5 and IPv7
Explanation: IPv4 and IPv6 are the two major versions in use today. IPv6 was introduced due to the shortage of IPv4 addresses.
3. What is the bit size of an IPv4 address?
a) 64 bits
b) 128 bits
c) 32 bits
d) 16 bits
Explanation: IPv4 addresses are 32 bits long and divided into four octets separated by dots.
4. Which class of IP addresses is reserved for multicasting?
a) Class A
b) Class B
c) Class C
d) Class D
Explanation: Class D addresses are reserved for multicast groups, which allow one-to-many communication.
5. Who is responsible for the global allocation of IP addresses?
a) ISP (Internet Service Provider)
b) IANA (Internet Assigned Numbers Authority)
c) RIR (Regional Internet Registries)
d) DNS (Domain Name System)
Explanation: IANA is the main global authority that allocates IP address blocks to regional registries.
6. Which IP address range is reserved for private networks in Class A?
a) 10.0.0.0 to 10.255.255.255
b) 192.168.0.0 to 192.168.255.255
c) 172.16.0.0 to 172.31.255.255
d) 169.254.0.0 to 169.254.255.255
Explanation: This is the reserved private IP range for Class A networks used internally in organizations.
7. What does the subnet mask 255.255.0.0 indicate in an IP address?
a) Class A default subnet mask
b) Class B default subnet mask
c) Class C default subnet mask
d) It is a broadcast address
Explanation: The default subnet mask for Class B networks is 255.255.0.0, indicating the first two octets are network bits.
8. How do you calculate the number of usable hosts in a network?
a) 2^n
b) 2^n - 1
c) 2^n - 2
d) n^2
Explanation: Where n is the number of host bits. The subtraction of 2 accounts for the network and broadcast addresses which cannot be assigned to hosts.
9. What is the purpose of a broadcast IP address?
a) One-to-one communication
b) One-to-all communication within a network
c) Multicast communication
d) Assigning IP addresses to devices
Explanation: The broadcast IP is used to send messages to all devices in the same network simultaneously.
10. What is APIPA (Automatic Private IP Addressing) used for?
a) Assigning public IP addresses automatically
b) Assigning private IP addresses when DHCP fails
c) Assigning IPv6 addresses
d) Assigning IP addresses to routers
Explanation: APIPA uses the range 169.254.x.x to allow local communication if DHCP servers are unavailable, but these addresses are non-routable.
0 Comments