Addresses on a Network: IP Addresses, Hostnames and Paths · seed 1 · A4, ink-friendly. The answer key prints on its own page for grown-ups.
En anglais

IP addresses, hostnames and paths

Computing · Computing Fundamentals · ages 13-14
Name ______________________   Date ____________
  1. Which string fits the dotted IPv4 address format?

    • 192.0.2.340
    • 192.0.2.34
    • 192.0.2.34.5
  2. Why do ordinary devices on the same local network need distinct IP addresses?

    • To distinguish destinations for data
    • To make every device keep its address permanently
    • To identify the page requested inside each website
  3. A computer must keep the same IP address for its entire lifetime.

    Circle one:   True   False

  4. In https://gallery.example/visits, which text is the hostname and which is the path?

    • Hostname: https; path: gallery.example/visits
    • Hostname: /visits; path: gallery.example
    • Hostname: gallery.example; path: /visits
  5. For 192.168.9.18/24, which three numbers form the network part?

    • 192.168.9
    • 192.168.9.18
    • 168.9.18
  6. A browser with a usable saved IP address for a hostname must make a fresh DNS query before every request to that hostname.

    Circle one:   True   False

  7. Two schools have separate private networks. A laptop in each uses 192.168.1.20. What follows?

    • The matching addresses must cause a conflict between schools
    • Separate private networks can reuse that address
    • The matching addresses identify the laptops as one physical device
  8. A browser has no saved address for a hostname. It reports that the hostname could not be resolved. Which stage failed?

    • The server's selection of the resource named by the path
    • The hostname-to-IP lookup
    • The browser's processing of an already received HTML response
LightMySky · lightmysky.comW1-mt_tGgw0Vhd8b-s1

Answer key

For grown-ups. Fold this page away before handing over the rest.

IP addresses, hostnames and paths W1-mt_tGgw0Vhd8b-s1

  1. 192.0.2.34 · 192.0.2.34 has four numbers, each from 0 to 255. Format alone does not establish that an address is assigned.
  2. To distinguish destinations for data · Distinct local addresses help direct data to its destination. They do not identify page paths or permanent device identities.
  3. False · An IP address can change. It is not a permanent identity for a physical computer.
  4. Hostname: gallery.example; path: /visits · gallery.example is the hostname; /visits is the path. https is the scheme.
  5. 192.168.9 · With /24, the first three numbers form the network part. Here they are 192.168.9.
  6. False · The browser can reuse a usable saved lookup result instead of making a fresh query.
  7. Separate private networks can reuse that address · Private addresses can be reused on separate private networks. This differs from duplicate addresses on one local network.
  8. The hostname-to-IP lookup · Resolution finds IP addresses for a hostname. This error identifies lookup failure, not server path handling or HTML processing.
Worksheet · LightMySky