wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Components of a URL Quiz

Total questions: 16

Worksheet time: 11mins

Name
Class
Date
1.

Identify the components of the following URL: https://www.sample.org/contact?ref=homepage#info

a)

Protocol, Domain, Path, Query, Fragment

b)

Protocol, Domain, Path, Parameter, Anchor

c)

Scheme, Host, Path, Query, Fragment

d)

Scheme, Host, Path, Parameter, Anchor

2.

Label the parts of the following URL: http://www.samplewebsite.org/home?user=admin#top

a)

Protocol, Domain, Path, Query, Fragment

b)

Protocol, Path, Domain, Query, Fragment

c)

Domain, Protocol, Path, Fragment, Query

d)

Path, Protocol, Domain, Fragment, Query

3.

Label the parts of the following URL: https://docs.google.com/document/d/1A2B3C4D5E6F7G8H9I0J

4 lines
4.

What is the purpose of the protocol in a URL?

a)

To specify the method used to access the resource

b)

To define the domain name

c)

To indicate the file path

d)

To provide the port number

5.

Why is the domain name important in a URL?

a)

It identifies the specific location of a website.

b)

It determines the security of the website.

c)

It affects the loading speed of the website.

d)

It controls the content displayed on the website.

6.

How does the query string in a URL help in web navigation? Provide an example.

a)

It helps in identifying the user.

b)

It helps in tracking the user's location.

c)

It helps in passing parameters to the server.

d)

It helps in encrypting the URL.

7.

What role does the fragment play in a URL?

a)

It specifies a section within a webpage.

b)

It defines the domain of the URL.

c)

It indicates the protocol to be used.

d)

It provides the path to the resource.

8.

The Internet is a network of (a)   that are physically connected together.

9.

An (a)   is a unique number assigned to each computer connected to a network.

10.

A (a)   is an application that is used to access the Internet and can display web resources.

11.

A web server serves resources upon receiving (a)   .

12.

HyperText Transfer Protocol (HTTP) is used by web browsers and ________ to communicate with each other.

a)

servers

b)

printers

c)

routers

d)

switches

13.

A _______ specifies where a resource such as a web page can be found on the Internet.

a)

URL

b)

IP address

c)

Domain name

d)

Protocol

14.

What is the purpose of the path in a URL?

a)

To specify the protocol used

b)

To define the domain name

c)

To indicate the specific resource on the server

d)

To provide the port number

15.

Which part of the URL is used to pass additional information to the server?

a)

Protocol

b)

Domain

c)

Path

d)

Query

16.

What does the fragment identifier in a URL do?

a)

It specifies the protocol to be used

b)

It indicates the domain name

c)

It points to a specific section within a webpage

d)

It provides the file path