Addresses on the web
Answers are for parents and teachers.
1
Write three valid IP addresses that start with 203.0.113 and two invalid ones. Say why each invalid one is wrong.
Valid examples: 203.0.113.5, 203.0.113.99, 203.0.113.250. Invalid examples: 203.0.113.256 (256 is too big) and 203.0.113.12.4 (five numbers).
2
Take the URL https://www.example.com/games/chess.html apart. Write the protocol, the domain name, the TLD and the path.
Protocol https://, domain name www.example.com, TLD com, path /games/chess.html.
3
Draw a comic strip with five pictures that shows what happens from the moment you type a URL until the page appears.
The five pictures: 1 the user types the URL; 2 the browser asks the DNS server; 3 the DNS server sends back the IP address; 4 the browser sends a request to the web server; 5 the web server sends the page.
4
Trace the flowchart with the input a.example.net and then with the input b.example.net.
Input a.example.net: the question is yes, so the output is 198.51.100.7. Input b.example.net: the question is no, so the output is 404 error.
5
Explain, using the idea of the post, why two devices must never share an IP address.
Letters are delivered to the address on the envelope. If two houses had the same address, a letter could go to the wrong house. In the same way, data for one device could reach another, so each address must be unique.