0
0
Intro to Computingfundamentals~5 mins

URLs and their structure in Intro to Computing - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does URL stand for?
URL stands for Uniform Resource Locator. It is the address used to find resources on the internet, like websites or files.
Click to reveal answer
beginner
Name the main parts of a URL.
A URL has these main parts: <br>1. Protocol (like http or https)<br>2. Domain name (like www.example.com)<br>3. Optional port number (like :80)<br>4. Path (like /page1)<br>5. Optional query parameters (like ?id=123)<br>6. Optional fragment (like #section2)
Click to reveal answer
beginner
What is the role of the protocol in a URL?
The protocol tells the browser how to communicate with the server. For example, 'http' or 'https' means to use the HyperText Transfer Protocol, where 'https' is secure.
Click to reveal answer
beginner
Explain the difference between domain and path in a URL.
The domain is like the street address of a building (e.g., www.example.com). The path is like the room number inside the building (e.g., /about). Together, they tell the browser exactly where to go.
Click to reveal answer
intermediate
What are query parameters in a URL?
Query parameters come after a question mark (?) in a URL. They send extra information to the server, like search terms or filters. For example, '?search=books' tells the server to look for books.
Click to reveal answer
Which part of the URL specifies the website's address?
AProtocol
BPath
CDomain name
DQuery parameters
What symbol starts the query parameters in a URL?
A?
B/
C#
D:
In the URL 'https://www.site.com:8080/page?item=5#top', what does ':8080' represent?
APath
BProtocol
CFragment
DPort number
What does the fragment part of a URL do?
APoints to a section within the page
BSends data to the server
CSpecifies the server location
DDefines the protocol
Which protocol indicates a secure connection?
Ahttp
Bhttps
Csmtp
Dftp
Describe the structure of a URL and explain the purpose of each part.
Think of a URL like a mailing address with extra details.
You got /6 concepts.
    Explain how query parameters and fragments are used in URLs with examples.
    Consider how you search or jump to parts of a webpage.
    You got /4 concepts.