Web address (URL) MCQs Quiz | Class 10

This quiz covers Class X Computer Applications (Code 165) from Unit 1: Networking, focusing on Web address (URL). Test your knowledge on the Parts of URL, including protocol, domain, and path. Submit your answers and download a detailed PDF of questions with correct solutions.

Understanding Web Addresses (URLs)

A Web address, commonly known as a URL (Uniform Resource Locator), is a fundamental concept for navigating the internet. It is a unique identifier used to locate a resource on the World Wide Web. Every web page, image, video, or document on the internet has its own distinct URL, acting like its specific street address.

Key Components of a URL

A URL is typically composed of several parts, each serving a specific purpose in directing your browser to the correct resource. Understanding these parts helps in comprehending how the internet works.

1. Protocol

The protocol specifies the communication method used to access the resource. It tells the browser how to interact with the server. Common protocols include:

  • HTTP (Hypertext Transfer Protocol): The standard protocol for transferring web pages.
  • HTTPS (Hypertext Transfer Protocol Secure): A secure version of HTTP that encrypts data for secure communication, often used for online banking, shopping, and sensitive data.
  • FTP (File Transfer Protocol): Used for transferring files between computers.
  • Mailto: Used to open a new email message in your default email client.

Example: https:// in https://www.cbsequiz.in/

2. Domain Name

The domain name identifies the specific website or server on the internet. It’s the human-readable address that maps to an IP address. A domain name typically consists of several parts:

  • Subdomain (Optional): A subdivision of the domain, often www (World Wide Web) but can be other names like blog or mail.
  • Root Domain: The main part of the domain name (e.g., cbsequiz in cbsequiz.in).
  • Top-Level Domain (TLD): The last segment of the domain name, such as .com (commercial), .org (organization), .edu (education), .gov (government), or country-code TLDs like .in (India).

Example: www.cbsequiz.in in https://www.cbsequiz.in/class-10

3. Path (or Directory Path)

The path specifies the exact location of a particular resource (like a specific web page or file) within the website’s server structure. It acts like folder navigation on your computer.

Example: /class-10/computer-applications/ in https://www.cbsequiz.in/class-10/computer-applications/web-address-quiz.html

Other Optional Components

  • Query String: Starts with a question mark (?) and contains key-value pairs separated by ampersands (&). Used to pass data to the server, often for searches or filtering.
    Example: ?q=url+quiz&subject=computer
  • Fragment Identifier: Starts with a hash symbol (#) and specifies a specific section within an HTML document. The browser jumps to that section without reloading the page.
    Example: #introduction

Summary Table of URL Parts

URL Part Example Description
Protocol https:// Method for data transfer (e.g., HTTP, HTTPS, FTP)
Subdomain www. A subdivision of the main domain (e.g., blog, mail)
Root Domain example The core name of the website
Top-Level Domain (TLD) .com Categorizes the website’s type or origin (e.g., .org, .in, .gov)
Path /products/page.html Location of a specific resource on the server
Query String ?item=shirt&color=blue Parameters passed to the server for dynamic content
Fragment #section2 Points to a specific section within a page

Quick Revision Points

  • URL: Unique address for resources on the internet.
  • Protocol: Defines how data is sent (e.g., HTTP for web, HTTPS for secure web, FTP for files).
  • Domain Name: Identifies the website (e.g., example.com).
  • Path: Specifies the location of a specific page or file on the server.
  • TLD: The last part of a domain name (e.g., .com, .org, .in).
  • URLs are essential for navigating and accessing information on the World Wide Web.

Extra Practice Questions

  1. Which symbol separates the protocol from the domain name in a URL (e.g., `http://`)?
  2. Is `blog.example.com` a valid URL structure where `blog` is considered a subdomain?
  3. What does `FTP` stand for in the context of network protocols?
  4. The default port number for HTTP communication is usually 80. True or False?
  5. What is the primary purpose of a URL’s fragment identifier (e.g., `#top`)?