0
0
Intro to Computingfundamentals~20 mins

IP addresses (IPv4, IPv6) in Intro to Computing - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
IP Address Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding IPv4 Address Structure

Which of the following best describes the structure of a standard IPv4 address?

AFour groups of decimal numbers separated by dots, each group ranging from 0 to 255
BEight groups of hexadecimal numbers separated by colons, each group ranging from 0 to FFFF
CA single 32-bit binary number without any separators
DFour groups of decimal numbers separated by commas, each group ranging from 0 to 999
Attempts:
2 left
💡 Hint

Think about how IPv4 addresses are commonly written in everyday use.

trace
intermediate
2:00remaining
Converting IPv4 to Binary

What is the binary representation of the IPv4 address 192.168.1.1?

A11000000.10101000.00000001.00000001
B11000000.10101000.00000010.00000001
C11000001.10101000.00000001.00000001
D11000000.10101001.00000001.00000001
Attempts:
2 left
💡 Hint

Convert each decimal number to an 8-bit binary number.

identification
advanced
1:30remaining
Identifying Valid IPv6 Address Format

Which of the following is a valid IPv6 address?

A192.168.1.1
B2001:0db8:85a3:0000:0000:8a2e:0370:7334
C2001.0db8.85a3.0000.0000.8a2e.0370.7334
D2001:0db8:85a3:0000:0000:8a2e:0370:7334:12345
Attempts:
2 left
💡 Hint

IPv6 addresses use colons and hexadecimal groups.

Comparison
advanced
1:30remaining
Comparing IPv4 and IPv6 Address Lengths

Which statement correctly compares the length of IPv4 and IPv6 addresses?

AIPv4 addresses are 128 bits long; IPv6 addresses are 32 bits long
BIPv4 addresses are 16 bits long; IPv6 addresses are 64 bits long
CBoth IPv4 and IPv6 addresses are 64 bits long
DIPv4 addresses are 32 bits long; IPv6 addresses are 128 bits long
Attempts:
2 left
💡 Hint

Recall the bit length of each IP version.

🚀 Application
expert
2:30remaining
Calculating Number of Possible IPv6 Addresses

Given that an IPv6 address is 128 bits long, how many unique IPv6 addresses are possible?

AApproximately 2.1 x 10^12 addresses
BApproximately 1.6 x 10^19 addresses
CApproximately 3.4 x 10^38 addresses
DApproximately 4.3 x 10^9 addresses
Attempts:
2 left
💡 Hint

Calculate 2 to the power of 128.