In the conventional scheme-host-path model, which set lists the components…

2010

In the conventional scheme-host-path model, which set lists the components used to locate and retrieve a document when the scheme's default port is assumed?

  • I. Path name

  • II. Host name

  • III. Domain Name System (DNS)

  • IV. Retrieval method (scheme)

  • V. Server port number

Answer: C. I, II, IVCONCEPTA Uniform Resource Locator identifies both how a resource should be accessed and where it is located. In the conventional scheme://host/path form, the…

  1. A.

    I, II, III

  2. B.

    I, III, V

  3. C.

    I, II, IV

  4. D.

    III, IV, V

Attempted by 73 students.

Show answer & explanation

Correct answer: C

CONCEPT

A Uniform Resource Locator identifies both how a resource should be accessed and where it is located. In the conventional scheme://host/path form, the scheme specifies the retrieval method, the host identifies the server, and the path identifies the document on that server. DNS is a separate name-resolution service, while an explicit port is optional when the scheme supplies a default.

APPLICATION

  • I. Path name identifies the document or resource within the server.

  • II. Host name identifies the server that holds the resource.

  • III. DNS may translate a host name to an IP address, but it is not a component written into the URL.

  • IV. Retrieval method is the scheme, such as http or https, that tells the client how to retrieve the resource.

  • V. Server port number may be present, but standard schemes can use a default port, so it is not required here.

CONTRAST

  • I, II, III substitutes the DNS service for the retrieval scheme.

  • I, III, V omits both the host identifier and the retrieval scheme.

  • I, II, IV contains the path, host, and retrieval scheme.

  • III, IV, V omits both the path and the host identifier.

CROSS-CHECK AND RESULT

For https://www.example.com/docs/page.html, the scheme's default HTTPS port is assumed: https is the retrieval method, www.example.com is the host name, and /docs/page.html is the path. No DNS field or explicit port is written. Under the stated model, the required set is I, II, IV.

Explore the full course: Ssc Cgl Tier 2

Loading lesson…