What a web browser is

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

What a web browser is

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which statement describes a web browser?
A Software that requests web pages and displays them to the user
B A website that stores all the pages on the internet
2. Which of these is an example of a web browser?
A HTTP
B Firefox
3. In the client-server model, what is the web browser?
A The client
B The web server
4. True or false: Google Search is a web browser.
A False: it is a search engine website, not a browser
B True: it is the browser many people use to open pages
5. What does a web browser do after it receives a web page from a web server?
A It stores the page on the web server
B It displays the page to the user

Match the Pairs

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

Left columnRight column
1Chrome, Firefox, Safari, Edge Abrowser.request(page) then browser.display(page)
2browser = client BThe browser is the client that sends requests to a web server
3A web browser requests a web page from a web server and then displays it to the user Cbrowser = Chrome, search engine = Google
4A browser is not a search engine: the browser is the software and a search engine is a website opened in it DExamples of web browsers: software that requests web pages and displays them to the user
5Google is a web browser EGoogle is a search engine website, not a browser. It is opened inside a browser such as Chrome or Firefox.
6A web browser stores and sends out web pages FA web server stores and sends web pages. The browser requests them and displays them.

Definitions

web browser

Fill in the Blanks

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

1.
page ← browser._______(url)
2.
browser._______(page)
3.
role ← ______
4.
app ← Safari type ← _______
5.
results ← ____________.find("cats")

Spot the Error

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

Question 1
A software ← "search engine"
B examples ← ["Chrome","Edge"]
C OUTPUT software
Question 2
A url ← "www.example.com"
B SEND request TO web_server
C RECEIVE page FROM web_server
D DISPLAY request TO user
Question 3
A browser ← "Safari"
B role ← "client"
C IF role = "client" THEN
D OUTPUT "hosts web pages"
E ENDIF
Question 4
A browser ← "Edge"
B type ← "software"
C isSearchEngine ← TRUE
D OUTPUT isSearchEngine
Question 5
A url ← "https://example.com"
B SEND page TO web_server
C RECEIVE page FROM web_server
D DISPLAY page

Answer Key

What a web browser is
Section A: Quick Questions
Q1
A — Software that requests web pages and displays them to the user
Q2
B — Firefox
Q3
A — The client
Q4
A — False: it is a search engine website, not a browser
Q5
B — It displays the page to the user
Section B: Match the Pairs
Q1
Chrome, Firefox, Safari, Edge → Examples of web browsers: software that requests web pages and displays them to the user
Q2
browser = client → The browser is the client that sends requests to a web server
Q3
A web browser requests a web page from a web server and then displays it to the user → browser.request(page) then browser.display(page)
Q4
A browser is not a search engine: the browser is the software and a search engine is a website opened in it → browser = Chrome, search engine = Google
Q5
Google is a web browser → Google is a search engine website, not a browser. It is opened inside a browser such as Chrome or Firefox.
Q6
A web browser stores and sends out web pages → A web server stores and sends web pages. The browser requests them and displays them.
Section C: Definitions
Q1
web browser — Software that requests web pages from web servers and displays them to the user, e.g. Chrome, Firefox, Safari or Edge. It is the client, and it is not a search engine.
Section D: Fill in the Blanks
Q1
page ← browser.request(url)
Q2
browser.display(page)
Q3
role ← client
Q4
app ← Safari type ← browser
Q5
results ← searchEngine.find("cats")
Section E: Spot the Error
Q1
A — Chrome and Edge are web browsers, not search engines. A web browser is software that requests and displays web pages, so the value should be "web browser".
Q2
D — The browser displays the web page it received from the server, not the request it sent. It should be DISPLAY page TO user.
Q3
D — A browser is the client, so it requests pages. Hosting and storing web pages is the job of a web server. It should be OUTPUT "requests pages".
Q4
C — A browser is not a search engine. A search engine is a website you visit using a browser, so the value should be FALSE.
Q5
B — The browser sends a request to the web server asking for a page. It does not send the page. It should be SEND request TO web_server.