Networks and the Internet: Question 10

Syllabus 2.1

Multiple choice AS 1 mark

Solstice Bakery's website can be reached using the URL https://www.solsticebakery.example.com/menu/pastries.html.

Which statement correctly identifies the protocol, the domain name and the path used in this URL?

Choose an answer to check it, then compare with the worked solution below.

Show worked solution Hide worked solution

Worked solution

Why B is correct

A URL is built from several distinct parts, in a fixed order:

  • The protocol comes first, written before the :// separator, here, https.
  • The domain name comes next, identifying the specific web server being contacted, here, www.solsticebakery.example.com.
  • The path comes after the domain name, starting from the first single forward slash, and locates a specific resource on that server, here, /menu/pastries.html, which points to the pastries.html file inside a menu folder on the server.

Putting these together: protocol https, domain name www.solsticebakery.example.com, path /menu/pastries.html, exactly what option B states.

Why the other options are wrong

  • A swaps the protocol and domain name around, treating www as the protocol and https as part of the domain name, which is backwards.
  • C treats the path as the protocol and the domain name as the path, and also misidentifies https as the domain name. None of the three parts are matched correctly.
  • D correctly identifies https as the protocol, but then swaps the domain name and the path around, describing the path as the domain name and the domain name as the path.

Final answer

B, protocol https, domain name www.solsticebakery.example.com, path /menu/pastries.html.