Search Header Logo

Kuis 1 Lapisan Aplikasi dan HTML

Authored by Anhar Anhar

Information Technology (IT)

University

Used 1+ times

Kuis 1 Lapisan Aplikasi dan HTML
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the characteristics below are associated with a client-server approach to structuring network applications (as opposed to a P2P approach)?

A process requests service from those it contacts and will provide service to processes that contact it.

There is a server that is always on.

There is a server with a well known server IP address.

HTTP uses this application structure.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the characteristics below are associated with a P2P approach to structuring network applications (as opposed to a client-server approach)?

There is a server that is always on.

A process requests service from those it contacts and will provide service to processes that contact it

There is a server with a well known server IP address.

HTTP uses this application structure.


3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we mean when we say “HTTP is stateless”? In answering this question, assume that cookies are not used.  Check all answers that apply.

An HTTP server does not remember anything about what happened during earlier steps in interacting with this HTTP client.

An HTTP client does not remember anything about what happened during earlier steps in interacting with any HTTP server

An HTTP client does not remember the identities of the servers with which  it has interacted.

We say this when an HTTP server is not operational.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an HTTP cookie used for?

A cookie is a code used by a client to authenticate a person’s identity to an HTTP server.

A cookie is used to spoof client identity to an HTTP server.

A cookies is a code used by a server, carried on a client’s HTTP request, to access information the server had earlier stored about an earlier interaction with this person. [Think about the distinction between a browser and a person.]

A cookie is a code used by a server, carried on a client’s HTTP request, to access information the server had earlier stored about an earlier interaction with this Web browser. [Think about the distinction between a browser and a person.]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  What is the purpose of the HTTP GET message?

The HTTP GET request message is used by a web client to post an object on a web server.

The HTTP GET request message is sent by a web server to a web client to get the next request from the web client.

The HTTP GET request message is sent by a web server to a web client to get the identity of the web client.

The HTTP GET request message is used by a web client to request a web server to send the requested object from the server to the client.


6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose a client is sending an HTTP GET request message to a web server, gaia.cs.umass.edu. Suppose the client-to-server HTTP GET message is the following:

GET /kurose_ross_sandbox/interactive/quotation2.htm HTTP/1.1
Host: gaia.cs.umass.edu
Accept: text/plain, text/html, text/xml, image/jpeg, image/gif, audio/mpeg, audio/mp4, video/wmv, video/mp4,
Accept-Language: en-us, en-gb;q=0.1, en;q=0.7, fr, fr-ch, da, de, fi
If-Modified-Since: Wed, 09 Sep 2020 16:06:01 -0700
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

What version of HTTP is the client using?

1

2.1

1.1

2

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are advantages of using a web cache? Sselect one or more answers.

Caching uses less bandwidth coming into an institutional network where the client is located, if the cache is also located in that institutional network.

Caching generally provides for a faster page load time at the client, if  the web cache is in the client’s institutional network, because the page is loaded from the nearby cache rather than from the distant server.

Overall, caching requires  fewer  devices/hosts to satisfy a web request, thus saving on server/cache costs.

Caching allows an origin server to more carefully track which clients are requesting and receiving which web objects.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?