[ 10 / 8 / 5 / 0 ] Read the lecture notes!

SY110 Homework Alpha: ________ Name: ____________________
Page 1 of 2
Collaboration Policy: Default
MIDN Last, F.
choose one: □ None □ XS110 □ EI with:
(or more)
□ MGSP
□ Discussed with: ____________________________
Homework: /SY110/Cyber Battlefield/The Web & HTML
1. [ 10 / 8 / 5 / 0 ] Read the lecture notes! True or False: Since the web servers hosting a U.S.
Navy ship’s web sites are located ashore, not on the ship, the person in charge of updating the
website for each ship is a special web expert with offices in the Pentagon. Explain your
response!
2. [ 30 / 25 / 15 / 0 ] For the following URLs: Circle (round corners) any protocol part,
underline any server part, and draw a box (square corners) around any file system path part.
a. file:///C:/Users/m209999/Desktop/sy110/wwwIntro/ex1.html
b. https://archive.org
c. http://www.navysports.com/this-is-navy/beat-army.html
3. [ 10 / 8 / 5 / 0 ]
When you visit the URL
file:///C:/Users/beerus/catsrhax0r.jpg are you using: the world wide web, the
Internet, neither, or both? Explain your answer using complete sentences; spelling and grammar
count.
4. [ 25 / 20 / 10 / 0 ] You enter a URL in your browser and press Enter. The browser sends an
HTTP GET request to the server, and the server sends back the content captured in the below
linked file. What kind of file does it appear the server has sent back to the browser to render?
Explain! Hint: What program can you use to view the raw bytes of a file?
http://rona.academy.usna.edu/~sy110/lec/wwwIntro/hw/http-reply-02.raw
SY110 Homework
Collaboration Policy: Default
Page
2 of 2
5. [ 10 / 8 / 5 / 0 ] The web is a client-server system. Although we often speak of “web
servers” we seldom use the term “web client”. What are we usually referring to when we do use
the term web client?
6. [ 15 / 10 / 5 / 0 ] Circle the letter of the diagram that best depicts the web-client/web-server
interactions that take place when you enter http://www.sportfanatic.com/index.html
in your browser’s address bar.
The source for the file index.html:
<HTML>
<HEAD>
</HEAD>
<BODY>
This year’s super bowl was on
<A href="calendar.html">February 5, 2017</A>.
Did your team win?
<IMG src="http://nfl.com/sb.jpg">
</BODY>
</HTML>
Your PC
www.sportfanatic.com
nfl.com
------------------------------------------------------------------------------------------
a.
GET index.html
index.html
GET calendar.html
calendar.html
GET sb.jpg
sb.jpg
---------------------------------------------------------------
b.
GET index.html
index.html
GET sb.jpg
sb.jpg
---------------------------------------------------------------
c.
GET index.html
GET sb.jpg
sb.jpg
Index.html &
sb.jpg
---------------------------------------------------------------
d.
GET index.html and calendar.html
Index.html &
calendar.html
sb.jpg
GET sb.jpg