Computer Networks Lecture 5: Web Pages and HTTP Protocol

SuperiorNarrative avatar
SuperiorNarrative
·
·
Download

Start Quiz

Study Flashcards

10 Questions

In a non-persistent HTTP connection without parallel connection, how many Round Trip Times (RTTs) are required for each object?

2

What is the main disadvantage of non-persistent HTTP connections?

TCP connection required for each object

In pipelined persistent HTTP connection, how many Round Trip Times (RTTs) are required for all the objects?

1

What is the advantage of persistent connections in terms of CPU and memory usage?

Lower CPU and memory usage

Which type of HTTP connection is more secure due to termination of connection after data transmission?

Non-persistent connection

What does a web page consist of?

Base HTML file and referenced objects

How is the host name translated to a server IP address?

Using the Domain Name System (DNS)

At which layer does HTTP run?

Application layer

What port does HTTP run on at the transport layer?

80

What does a client do in the TCP 3-Way Handshake?

Client initiates a TCP connection to the server

Study Notes

  • Dr. Dina Fawzy taught Computer Networks Lecture 5 from the text "Computer Networking: A Top Down Approach," 6th edition, by Jim Kurose and Keith Ross.
  • Introduction to web pages:
    • Web pages consist of objects, such as HTML files, images, or audio files.
    • Each object is addressable using a URL.
    • Host name is translated to the server IP address using DNS.
  • The HTTP protocol:
    • Hypertext Transfer Protocol (HTTP) is an application layer protocol that runs on port 80 at the transport layer.
    • HTTP messages are either requests or responses.
    • HTTP is "stateless," meaning the server doesn't keep track of past client requests.
    • HTTP uses TCP for transmission.
    • Initial request transmission time = 2 RTTs.
  • HTTP Connections:
    • Non-Persistent HTTP Connections: a new connection is established for each object.
    • Persistent HTTP Connections: all objects are sent using one opened connection.
    • Advantages of Non-Persistent Connections: no wasting of resources and more secure.
    • Disadvantages of Non-Persistent Connections: greater CPU overhead for data transmission.
    • Most modern browsers use Persistent Connections.
    • Non-Persistent Connection with parallel connection: multiple objects are sent in separate and parallel connections.
    • Persistent Connection: Non-pipelined: one connection is established, and then all objects are sent using one RTT for each object.
    • Persistent Connection: Pipelined: one RTT for all objects.

This quiz covers topics from Computer Networks Lecture 5 by Dr. Dina Fawzy, based on the book 'Computer Networking: A Top Down Approach' by Jim Kurose and Keith Ross. It includes an introduction to web pages, the HTTP protocol, HTTP connections, messages, user-server state, cookies, and web caching via proxy servers.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser