Consider the URL: https://example.org/index.html. Which of the following are…
2022
Consider the URL: https://example.org/index.html. Which of the following are contained in the URL? (A) Browser name (B) File name (C) Host name (D) Email address (E) Protocol Choose the correct answer from the options given below:
Answer: C. (B), (C) and (E) only — ConceptA URL is a structured address for locating a resource. Its scheme names the access protocol, its authority identifies the host, and its path identifies…
- A.
(A), (B) and (C) only
- B.
(A), (C) and (E) only
- C.
(B), (C) and (E) only
- D.
(C), (D) and (E) only
Attempted by 15 students.
Show answer & explanation
Correct answer: C
Concept
A URL is a structured address for locating a resource. Its scheme names the access protocol, its authority identifies the host, and its path identifies the resource location.
Client software and email identifiers are separate concepts; they appear in a URL only when explicitly encoded as part of its syntax.
Application
The text before the colon is https, so it supplies the protocol (scheme).
The text between // and the next / is example.org, so it supplies the host name.
The path is /index.html; its final segment index.html is the file name.
Cross-check and contrast
A browser name identifies the client application used to open a URL; no browser name occurs in this address.
An email address normally has a local-part@domain form; that structure does not occur here.
Therefore, the URL contains the file name, host name, and protocol.