COSC 4351: 1.3 HTTP || with 100% Verified Solutions.
10 views 0 purchase
Course
COSC 4351: 1.3 HTTp
Institution
COSC 4351: 1.3 HTTp
hypertext transfer protocol HTTP correct answers is a networking protocol that runs over TCP/IP and governed communication between web browsers and web severs
Transmission Control Protocol/Internet Protocol (TCP/IP) correct answers is a protocol suite that governs how packets of data are transfe...
COSC 4351: 1.3 HTTP || with 100% Verified Solutions.
hypertext transfer protocol HTTP correct answers is a networking protocol that runs over TCP/IP
and governed communication between web browsers and web severs
Transmission Control Protocol/Internet Protocol (TCP/IP) correct answers is a protocol suite that
governs how packets of data are transferred over the internet from one machine to another.
What happens before HTTP communication beings? correct answers The web browser extracts
the domain name from the URL being accessed and preforms a DNS lookup.
DNS lookup correct answers sends the domain name to the local DNS and receives the IP
address of the web sever hosting the domain name.
HTTP functions as a ___ - ___ protocol between _______ and ____. correct answers request-
response
web browsers
web severs
HTTP Request correct answers is a message sent from the web browser to the web sever. Often
the request asks the web sever to send back a web resource like an HTML file, image, CSS style
sheet, JavaScript file, or a video.
HTTP Response correct answers is a message sent from the web server back to the web browser
in repose to an HTTP request. Often the response contains the requested web resource.
In HTTP requests and responses, what number is this step:
Web browser does a DNS lookup of the domain name and makes a TCP connection.
- TCP connection correct answers 1
In HTTP requests and responses, what number is this step:
HTTP request is made asking for resource at http://w3c.org/test.html.
- HTTP request test.html correct answers 2
In HTTP requests and responses, what number is this step:
Web server locates test.html file and sends the contents of test.html to the browser
- HTTP response <html> correct answers 3
In HTTP requests and responses, what number is this step:
Browser parses HTML and makes second request for http://w3c.org/field.jpg.
- HTTP request field.jpg correct answers 4
In HTTP requests and responses, what number is this step:
Web server locates field.jpg and sends the image to the browser. The browser then displays the
field.jpg image.
-HTTP response [image] correct answers 5
, In HTTP requests and responses, what number is this step:
No more resources to request, so TCP connection is closed. correct answers 6 Last step
Before a TCP connection is created, the web browser performs a/an
A. HTTP request
B. HTTP response
C. DNS lookup correct answers C. DNS lookup
The browser performs DNS lookup so the browser can establish a TCP connection with the web
sever
How many total HTTP requests does a browser send for a web page that does not use any other
web resources?
A. 1
B. 2
C. 3 correct answers A. 1
Only one HTTP request is made for the HTML file.
How many total HTTP requests does a browser send for a web page that contains four web
resources: an image, a video, a CSS style sheet, and a JavaScript file?
A. 1
B. 4
C. 5 correct answers C. 5
One HTTP request is made for the HTML file, and one request is made for each resource.
If a web browser sends 20 HTTP requests to a web server, how many HTTP responses will the
web server send to the web browser?
A. 0
B. 10
C. 20 correct answers C. 20
Every HTTP request results in a single HTTP response.
An HTTP request and HTTP response are both composed of four parts: correct answers 1. Status
line
2. Zero or more header fields
3. Empty line
4. Optional message body
Which part is the web sever able to identify the requested resource from the path? correct
answers Status line
Where does the web sever send back the requested resource in? correct answers the message
body of the response
Content-length correct answers number of bytes in the response's message body.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller FullyFocus. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.39. You're not tied to anything after your purchase.