Académique Documents
Professionnel Documents
Culture Documents
Student Name
:------------------------------------------------------------------------------------------
Student Number:------------------------------------------------------------------------------------------
A
1
2
3
4
5
6
7
8
1|4
A
1
4
1
5
1
6
1
7
1
8
1
9
2
0
2
1
9
1
0
1
1
1
2
1
3
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
2|4
2
2
2
3
2
4
2
5
e. 500 ms
23. Suppose now that the message is
segmented into 500 packets, with each
packet being 2000 bits long. How long does
it take to move the file from source host to
destination host when message
segmentation is used?
a. 1001 ms
b. 251 ms
c. 125 ms
d. 50 ms
e. 1004 ms
24. Which of the following application layer
protocols uses UDP?
a. HTTP
b. FTP
c. SMTP
d. DNS
e. None of the given choices
25. Which of the following statements is wrong?
a. FTP sends control information outof-band
b. Cookies are used by e-commerce
websites to keep a purchase record
for each customer
c. Network architecture and
application architecture are two
different things
d. For a P2P file-sharing application,
there is no notion of client and
server sides of a communication
session
e. Web caching reduces the delay for
all objects requested by a user, not
only some of the objects
26.
27. Which of the following statements is wrong?
a. An HTTP message with a status
code 200 OK could be sent as a
response to an HTTP conditional
GET with If-modified-since:
header line
b. FTP allows a client to browse a
remote directory by sending
commands over control connection
c. Mail servers keep outgoing (to be
sent) mail messages in mailboxes
d. MAIL FROM: in SMTP and From: in
the mail message itself are two
different things
e. The IP address of the host on which
the browser is running is not
included in the HTTP request
message
28. What does URL stand for?
a. Universal Record Link
b. Unspecified Record Location
c. User Remote Login
d. User Requested Location
e. Uniform Resource Locator
29. Which of the following statements is
correct?
a. SMTP uses non-persistent
connections
3|4
b.
c.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
4|4
e. POST
62. Consider the following HTTP reply message
sent from a server in response to an HTTP
GET message. What are the first 5 bytes of
the document being returned?
63.
64. HTTP/1.1 200 OK <cr><lf>Date: Tue, 07
Mar 2006
12:39:45GMT<cr><lf>Server:
Apache/2.0.52 (Fedora)
<cr><lf>Last-Modified: Sat, 10
Dec2005 18:27:46 GMT
<cr><lf>ETag: "526c3-f22a88a4c80"<cr><lf>AcceptRanges: bytes<cr><lf>Content-Length:
3874<cr><lf>
Keep-Alive:
timeout=max=100<cr><lf>Connection:
Keep-Alive<cr><lf>Content-Type:
text/html; charset=
ISO-8859-1<cr><lf><cr><lf><!doctype
html public "//w3c//dtd html 4.0
transitional//en"><lf><html><lf>
<head><lf> <meta http-equiv="ContentType"
content="text/html; charset=iso-88591"><lf> <meta
name="GENERATOR"
content="Mozilla/4.79 [en] (Windows
NT
5.0; U) Netscape]"><lf> <title>CMPSCI
453 / 591 /
NTU-ST550A Spring 2005
homepage</title><lf></head><lf>
<much more document text following
here (not shown)>
65.
a. <!doc
b. Mozil
c. Windo
d. NTU-S
e. HTTP/
66.