Student name: YOUR-NAME-HERE
LOGIN: YOUR-CS-DEPT-LOGIN-HERE
E-mail: YOUR-EMAIL-HERE

Tufts CS 117 (Fall 2024):
Internet-scale Distributed Systems

Tufts CS 117 Assignment:
Naming
Questions - Part II

Please answer each of the following questions.

  1. Consider this example URI: http://example.com/homepage.html. According to TAG Finding The use of Metadata in URIs, RFC 3986 and other applicable specifications, which of the following statements is/are definitely true?
    1. The example URI above is a reference to an HTML document? Briefly explain.
    2. ...answer definitely/maybe/definitely-not...and briefly explain...
    3. The example URI is absolute? Briefly explain.
    4. ...your answer here...
    5. If you do an HTTP GET on the example URI from anywhere in the world, you will get the same thing? Which principle that we studied does this illustrate? Briefly explain.
    6. ...briefly explain why or why not, and which principle is illustrated...
  2. While browsing the Web you visit a page from greatdeals.com, and from that page you follow a link by clicking on text that says: "Great Prices on Shoes". You do indeed get another Web page, and you notice that the URI in your address bar reads: http://greatdeals.com/discounts?item=shoes According to TAG Finding The use of Metadata in URIs:
    1. The Web page you get should be about discounts on shoes? (Yes or no? Briefly explain.)
    2. ...your answer here...
    3. Again according to the finding, if you change the URI to read http://greatdeals.com/discounts?item=gloves, any Web page you get should be about discounts on gloves? (Yes or no? Briefly explain.)
    4. ...your answer here...
  3. Consider the URI http://example.com/maps?lat=42.408724&long=-71.116179. According to the ABNF in RFC 3986?
    1. The nonterminal (rule) that matches http is?
    2. ...your answer here...
    3. The nonterminal that matches lat=42.408724&long=-71.116179 is?
    4. ...your answer here...
    5. True or false, the URI has a hier-part? If so, what is it? If not why not.
    6. If true, then which part of the URI is the hier-part?
    7. True or false, the URI has a path? If so, what is it? If not why not.
    8. If true, then which part of the URI is the path?