1 2

advertisement
SI110 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: /SI110/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/m199090/Desktop/si110/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 this URL file:///C:/Users/beerus/catsrhax0r.jpg
are you using: "the world wide web," the "Internet," neither, both? Explain your answer.
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/~si110/lec/wwwIntro/hw/http-reply-01.raw
SI110 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". When we do use the term "web client", to what are we
usually referring?
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 put 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 will be on
<A href="calendar.html">February 7, 2016</A>.
Who are you rooting for?
<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
Download