Browser function: address bar

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Browser function: address bar

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Where in a browser do you type a URL to visit a website?
A The history list
B The address bar
2. While you are on a web page, what does the address bar show?
A The URL of the current page
B The cookies stored by the page
3. A padlock appears next to the URL in the address bar. What does it show?
A The site is secure (it uses HTTPS)
B The page has been bookmarked
4. Which of these is an address bar job?
A Showing the URL of the current page
B Opening several pages in one window
5. Sam wants to visit https://www.example.com. What should Sam do?
A Type the URL into the bookmarks list
B Type the URL into the address bar

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1https://www.example.com AA URL a student types into the address bar to visit a website
2address bar BThe padlock only shows the connection is secure (HTTPS and encrypted). It does not guarantee the site itself is safe or honest.
3The address bar lets the user type a URL to visit a page Chttps://www.bbc.co.uk/news
4The address bar shows a padlock when the site is secure and uses HTTPS DThe part of the browser that shows the URL of the page currently being viewed
5The address bar is where bookmarks are saved so you can return to pages later E🔒 https://www.mybank.com
6A padlock in the address bar means the website is certain to be trustworthy and safe from viruses FThis describes bookmarks, not the address bar. The address bar is for typing and showing the URL of a page.

Definitions

address bar

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
Type a ___ into the address bar
2.
Address bar: _____://www.bbc.co.uk/news
3.
Secure site: address bar shows a _______
4.
The ___________ is where you type a URL
5.
Address bar shows the _______ page's URL

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A url ← "https://shop.com"
B secure ← LEFT(url,5)="https"
C IF secure THEN hide padlock
Question 2
A typed ← status_bar.text
B IF typed = "" THEN STOP
C LOAD(typed)
Question 3
A page ← LOAD("https//a.com")
B address_bar.text ← page.url
C OUTPUT address_bar.text
Question 4
A typed ← address_bar.text
B request ← GET(typed)
C page ← server.reply(request)
D address_bar.text ← page.title
Question 5
A url ← "https://cloodit.com"
B IF LEFT(url,4)="https" THEN
C show padlock
D ENDIF

Answer Key

Browser function: address bar
Section A: Quick Questions
Q1
B — The address bar
Q2
A — The URL of the current page
Q3
A — The site is secure (it uses HTTPS)
Q4
A — Showing the URL of the current page
Q5
B — Type the URL into the address bar
Section B: Match the Pairs
Q1
https://www.example.com → A URL a student types into the address bar to visit a website
Q2
address bar → The part of the browser that shows the URL of the page currently being viewed
Q3
The address bar lets the user type a URL to visit a page → https://www.bbc.co.uk/news
Q4
The address bar shows a padlock when the site is secure and uses HTTPS → 🔒 https://www.mybank.com
Q5
The address bar is where bookmarks are saved so you can return to pages later → This describes bookmarks, not the address bar. The address bar is for typing and showing the URL of a page.
Q6
A padlock in the address bar means the website is certain to be trustworthy and safe from viruses → The padlock only shows the connection is secure (HTTPS and encrypted). It does not guarantee the site itself is safe or honest.
Section C: Definitions
Q1
address bar — The part of a browser where the user types a URL to visit a page. It also shows the URL of the current page and a padlock when the site is secure.
Section D: Fill in the Blanks
Q1
Type a URL into the address bar
Q2
Address bar: https://www.bbc.co.uk/news
Q3
Secure site: address bar shows a padlock
Q4
The address bar is where you type a URL
Q5
Address bar shows the current page's URL
Section E: Spot the Error
Q1
C — The address bar shows the padlock when the site is secure. It should be 'IF secure THEN show padlock', not hide it.
Q2
A — The user types the URL into the address bar, so the text must be read from address_bar.text, not a status bar.
Q3
A — The URL is missing the colon after https. It should be "https://a.com" so the browser can read the protocol.
Q4
D — The address bar shows the URL of the current page, so it should be set to page.url, not the page title.
Q5
B — "https" has 5 characters, so LEFT(url,4) can never equal it. It should be LEFT(url,5).