Uniform resource identifier (URI) and URL: Difference between revisions

From Computer Science Wiki
Line 12: Line 12:
Students will be expected to not only define, but also discuss the characteristics of URL and URI. Students will also be expected to describe the purpose of a URL.  
Students will be expected to not only define, but also discuss the characteristics of URL and URI. Students will also be expected to describe the purpose of a URL.  


== Characteristics ==
== Characteristics of a URL ==


{| style="width: 95%;" class="wikitable"
 
|-
A Uniform Resource Locator (URL),  is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI).<ref>https://en.wikipedia.org/wiki/URL</ref>
| '''Term''' || '''Definition''' || '''Characteristics'''  
 
|-
* Please [http://www.ietf.org/rfc/rfc2396.txt?cm_mc_uid=07864784650914905194154&cm_mc_sid_50200000=1490519415 click here for the official url specification]
| '''URL'''  || 
 
Definition here
* URL's have different parts. Every URL MUST have:
||
** scheme and host
Characteristics here
* URL's have different parts. Every URL MIGHT have:
|-
** user information   
| '''URI'''  || 
** port
Definition here
** query
||
** fragment
Characteristics here
 
|}
Please [https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Examples click here for an example of these different parts]. In your normal day-to-day use, you probably only use a scheme and a host.


== Purpose of a URL ==
== Purpose of a URL ==

Revision as of 13:43, 26 March 2017


Web Science[1]

Students will be expected to not only define, but also discuss the characteristics of URL and URI. Students will also be expected to describe the purpose of a URL.

Characteristics of a URL[edit]

A Uniform Resource Locator (URL), is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI).[2]

  • URL's have different parts. Every URL MUST have:
    • scheme and host
  • URL's have different parts. Every URL MIGHT have:
    • user information
    • port
    • query
    • fragment

Please click here for an example of these different parts. In your normal day-to-day use, you probably only use a scheme and a host.

Purpose of a URL[edit]

Do you understand this?[edit]

Standards[edit]

These standards are used from the IB Computer Science Subject Guide[3]

  • Identify the characteristics of a uniform resource identifier (URI) URL.
  • Describe the purpose of a URL.

References[edit]

  1. http://www.flaticon.com/
  2. https://en.wikipedia.org/wiki/URL
  3. IB Diploma Programme Computer science guide (first examinations 2014). Cardiff, Wales, United Kingdom: International Baccalaureate Organization. January 2012.