Ip address: 21 MCQs with answers
All 21 multiple-choice questions from this kit, free and with no sign-up.
Warm-up · 12 questions
Q1. An IPv4 address is how many bits long?
BeginnerShow answer & explanation
32 bits
IPv4 addresses are 32 bits long, typically represented in dotted-decimal notation.
Q2. Which class of IP address has the default subnet mask 255.0.0.0?
BeginnerShow answer & explanation
Class A
Class A addresses use the first octet for the network portion, so the default subnet mask is 255.0.0.0.
Q3. What is the broadcast address for the subnet 10.1.1.0/24?
BeginnerShow answer & explanation
10.1.1.255
For a /24 network, the broadcast address is the last address in the range, which is 10.1.1.255.
Q4. Which IP address class is used for multicast?
BeginnerShow answer & explanation
Class D
Class D addresses (224.0.0.0 to 239.255.255.255) are reserved for multicast groups.
Q5. What is the CIDR notation for the subnet mask 255.255.255.0?
BeginnerShow answer & explanation
/24
255.255.255.0 has 24 consecutive 1s in binary, so it is written as /24.
Q6. Which of the following is a loopback address?
BeginnerShow answer & explanation
127.0.0.1
127.0.0.1 is the standard loopback address used to test network software on the local machine.
Q7. The IP address 172.16.0.1 belongs to which class?
BeginnerShow answer & explanation
Class B
172.16.0.1 falls in the 128.0.0.0 to 191.255.255.255 range, which is Class B.
Q8. The default subnet mask for a Class C network is 255.255.255.0.
BeginnerShow answer & explanation
True
Class C addresses have a default mask of 255.255.255.0, meaning the first three octets are the network portion.
Q9. The IP address 192.168.1.256 is a valid host address.
BeginnerShow answer & explanation
False
Each octet in an IPv4 address ranges from 0 to 255, so 256 is invalid.
Q10. The process of dividing a network into smaller networks is called ___.
BeginnerShow answer & explanation
—
Subnetting is the technique of partitioning a larger network into smaller, more efficient sub-networks.
Q11. An IPv4 address consists of ___ octets.
BeginnerShow answer & explanation
—
IPv4 addresses are written as four decimal numbers (octets) separated by dots, each representing 8 bits.
Q12. The address that represents all hosts on a subnet is called the ___ address.
BeginnerShow answer & explanation
—
The broadcast address is the last address in a subnet, used to send data to all devices on that subnet.
Building up · 8 questions
Q13. What is the network address of the IP 192.168.5.130 with subnet mask 255.255.255.192?
IntermediateShow answer & explanation
192.168.5.128
The mask 255.255.255.192 (/26) gives a block size of 64. 130 falls in the 128-191 range, so the network address is 192.168.5.128.
Q14. Which of the following is a valid Class B private IP address range?
IntermediateShow answer & explanation
172.16.0.0 – 172.31.255.255
The private Class B range is 172.16.0.0 to 172.31.255.255 as defined by RFC 1918.
Q15. How many usable host addresses are in a /27 subnet?
IntermediateShow answer & explanation
30
A /27 subnet has 5 bits for hosts, giving 2^5 = 32 addresses, minus 2 for network and broadcast = 30 usable hosts.
Q16. If you borrow 3 bits from the host portion of a Class C address, how many subnets do you create?
IntermediateShow answer & explanation
8
Borrowing 3 bits gives 2^3 = 8 subnets (though some older standards subtract 2, modern practice uses all 8).
Q17. What is the purpose of subnetting?
IntermediateShow answer & explanation
To divide a network into smaller, manageable segments
Subnetting allows a network to be split into smaller sub-networks for better management, security, and efficiency.
Q18. What is the maximum number of hosts per subnet for a network with a /30 mask?
IntermediateShow answer & explanation
2
A /30 mask leaves 2 bits for hosts, giving 2^2 = 4 addresses, minus 2 for network and broadcast = 2 usable hosts.
Q19. Subnetting always reduces the total number of usable host addresses compared to the original network.
IntermediateShow answer & explanation
True
Subnetting borrows host bits for network bits, which reduces the number of hosts per subnet, though total hosts across all subnets may be less due to subnet and broadcast addresses.
Q20. Classless Inter-Domain Routing (CIDR) allows variable-length subnet masks.
IntermediateShow answer & explanation
True
CIDR replaced classful addressing and enables the use of any prefix length, not just the fixed /8, /16, /24.
Topper level · 1 questions
Q21. The network address of a subnet is always an even number.
AdvancedShow answer & explanation
False
Network addresses are determined by the subnet mask; for example, with a /27 mask, network addresses are multiples of 32, which are even, but with a /26 mask, they are multiples of 64 (also even). However, in general, network addresses can be odd if the block size is odd, but block sizes are powers of 2, so network add…
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Exam prep
Get Veda free See what students get
Free to start · No ads · Works in 42 languages