A Uniform Resource Locator (URL) is a reference to a,
- A.Computer Resource
- B.Web Resource that specifies its location on a computer network and a mechanism for retrieving it
- C.Printer on the network
- D.Storage server on the network
Show answer
Correct answer: B. Web Resource that specifies its location on a computer network and a mechanism for retrieving it
Explanation
The correct answer is B, Web Resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is the address of a web resource: it says where the resource sits on the network and, through the scheme written in front, how it is to be fetched. Thus it carries the protocol, the host name, the port if one is needed, and the path of the file, and schemes such as http, https, ftp and mailto each bring their own way of retrieving. The idea was given by Tim Berners-Lee along with HTML and HTTP, and a URL is one kind of Uniform Resource Identifier. A is wrong because it is too loose; a URL does not address every computer resource, such as a file on a local disk. C is wrong because a printer is reached through a print queue or an IP address, not by a URL. D is wrong because a storage server is only one of the many things a URL may point to. Exam tip: a URL answers two questions, where the resource is and how to fetch it.