MCQ On classless-ip-addressing
Q1. What is the primary goal of classless addressing?.
- Increase the number of classes
- Reduce routing table size
- Remove subnet masks
- Expand Class A networks
Answer: b, Reduce routing table size
Solution: CIDR reduces routing table entries through aggregation.
Q2. Classless addressing represents IP addresses using which notation?.
- Dotted decimal only
- Hexadecimal
- Prefix notation (e.g., /24)
- Binary string
Answer: c, Prefix notation (e.g., /24)
Solution: CIDR uses prefix length notation.
Q3. Which technology allows creation of subnets with varying sizes?.
- RIP v1
- VLSM
- ARP
- DHCP
Answer: b, VLSM
Solution: VLSM allows flexible subnet sizes.
Q4. The full form of CIDR is:.
- Classful Internet Domain Routing
- Classless Inter-Domain Routing
- Computer Inter-Domain Routing
- Central Internet Data Routing
Answer: b, Classless Inter-Domain Routing
Solution: CIDR = Classless Inter-Domain Routing.
Q5. Which notation is used in CIDR?.
- Hexadecimal addressing
- Prefix notation like /24
- Only class A/B/C format
- Binary octet notation
Answer: b, Prefix notation like /24
Solution: CIDR uses prefixes (e.g., 192.168.1.0/24).
Q6. What does the '/18' in 10.0.0.0/18 represent?.
- Number of hosts
- Number of subnets
- Bits used for network portion
- Bits used for host portion
Answer: c, Bits used for network portion
Solution: /18 means first 18 bits are network bits.
Q7. Which statement is TRUE about CIDR?.
- It increases IP wastage
- It removes the need for subnetting
- It allows aggregation of multiple networks
- It is used only in IPv6
Answer: c, It allows aggregation of multiple networks
Solution: CIDR supports route aggregation.
Q8. Classless addressing replaces which traditional method?.
- DNS
- Classful addressing
- MAC addressing
- ARP resolution
Answer: b, Classful addressing
Solution: CIDR overcame the limitations of classful addressing.
Q9. What is the main reason Classless addressing was introduced?.
- Improve Wi-Fi bandwidth
- Slow down routing
- Avoid IPv6
- Prevent IPv4 address wastage
Answer: d, Prevent IPv4 address wastage
Solution: CIDR allocates only required IPs.
Q10. In classless addressing, what does /16 represent?.
- 16 hosts
- 16 networks
- 16 bits for network portion
- 16 bits for host portion
Answer: c, 16 bits for network portion
Solution: /16 means 16 bits define the network.
Q11. Which routing protocol supports CIDR?.
- RIP v1
- IGRP
- RIP v2
- Early ARPANET
Answer: c, RIP v2
Solution: RIP v2 is classless and supports CIDR.
Q12. CIDR aggregates IP networks into what is called:.
- VLAN
- Supernet
- Subnet
- Broadcast domain
Answer: b, Supernet
Solution: CIDR supernets combine routes.
Q13. Which advantage is specific to classless addressing?.
- Fixed block sizes
- Faster hardware processing
- Flexible subnetting
- Automatic IP allocation
Answer: c, Flexible subnetting
Solution: CIDR/VLSM allow custom subnet sizes.
Q14. In CIDR, an address block with /30 prefix length provides how many usable hosts?.
- 2
- 4
- 6
- 14
Answer: a, 2
Solution: /30 gives 4 addresses, 2 usable.
Q15. Which of the following is NOT true about classless addressing?.
- It allows route aggregation
- It reduces IP address wastage
- It uses fixed subnet masks
- It supports VLSM
Answer: c, It uses fixed subnet masks
Solution: CIDR does NOT use fixed masks.
Q16. In classless addressing, how is the number of hosts determined?.
- 2^(prefix)
- 2^(32 – prefix) – 2
- Prefix × 32
- 32 – 2
Answer: b, 2^(32 – prefix) – 2
Solution: Host bits = 32 – prefix.
Q17. Which of the following is an example of CIDR notation?.
- 192.168.1.0 mask 255.255.255.0
- 192.168.1.0/24
- 192.168.1.0 class C
- 192.168.1.0 netmask C
Answer: b, 192.168.1.0/24
Solution: CIDR format is IP + prefix (/24).
Q18. Which protocol benefits MOST from route summarization in classless addressing?.
- ARP
- OSPF
- DNS
- DHCP
Answer: b, OSPF
Solution: OSPF uses hierarchical routing and summary routes.
Q19. What is the technique of combining multiple networks into one called in CIDR?.
- Subnetting
- Supernetting
- Broadcasting
- Mapping
Answer: b, Supernetting
Solution: CIDR supernets multiple networks for aggregation.