0
0
Computer Networksknowledge~20 mins

CIDR notation in Computer Networks - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
CIDR Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding CIDR Prefix Length

What does the prefix length in CIDR notation represent?

AThe number of bits used for the network portion of the address
BThe total number of bits in the IP address
CThe number of hosts allowed in the network
DThe number of bits used for the host portion of the address
Attempts:
2 left
💡 Hint

Think about how CIDR divides the IP address into network and host parts.

📋 Factual
intermediate
2:00remaining
CIDR Notation Range Calculation

Given the CIDR notation 192.168.1.0/26, how many usable IP addresses are available in this subnet?

A64
B62
C32
D30
Attempts:
2 left
💡 Hint

Calculate 2 to the power of host bits, then subtract network and broadcast addresses.

🔍 Analysis
advanced
2:00remaining
CIDR Block Overlap Detection

Which of the following CIDR blocks overlaps with 10.0.0.0/16?

A192.168.0.0/16
B10.1.0.0/24
C10.0.128.0/17
D10.0.0.0/24
Attempts:
2 left
💡 Hint

Check if the IP ranges covered by the blocks share any addresses.

Comparison
advanced
2:00remaining
Comparing CIDR Prefixes

Which CIDR prefix represents the smallest subnet?

A172.16.0.0/16
B172.16.0.0/20
C172.16.0.0/18
D172.16.0.0/22
Attempts:
2 left
💡 Hint

Smaller subnet means fewer host bits, so larger prefix number.

Reasoning
expert
2:00remaining
CIDR Aggregation Possibility

Which pair of CIDR blocks can be aggregated into a single larger CIDR block without including extra IP addresses?

A192.168.0.0/25 and 192.168.0.128/25
B192.168.0.0/24 and 192.168.1.0/24
C10.0.0.0/24 and 10.0.1.0/25
D172.16.0.0/23 and 172.16.2.0/23
Attempts:
2 left
💡 Hint

Aggregation requires contiguous blocks with matching prefix lengths and aligned boundaries.