Question Bank - Computer Networks

Here's the question bank on all the computer networks topics.

Suppose you are browsing the world wide web using a web browser and trying to access the web servers. What is the underlying protocol and port number that are being used ?

A.
UDP, 80
B.
TCP, 80
C.
TCP, 25
D.
UDP, 25

Solution:

Answer: Option 2CONCEPT: Web Server: A Web server is a software/Hardware responsible for accepting HTTP requests from clients, which are known as Web browsers, and serving them HTTP responses along with optional data contents, which usually are Web pages such as HTML documents and linked objects (images, videos, etc.).The term web server can refer to hardware or software, or both of them working together.On the hardware side, a web server is a computer that stores web server software and a website's component files. (for example, HTML documents, images, CSS stylesheets, and JavaScript files) A web server connects to the Internet and supports physical data interchange with other devices connected to the web.On the software side, a web server includes several parts that control how web users access hosted files. At a minimum, this is an HTTP server. An HTTP server is software that understands URLs (web addresses) and HTTP (the protocol your browser uses to view webpages). An HTTP server can be accessed through the domain names of the websites it stores, and it delivers the content of these hosted websites to the end user's device. TCP:TCP is the transfer layer protocol. Electronic mail function is supported by the transfer layer protocol TCP. TCP is connection oriented and reliable transport protocol. Therefore, SMTP transfers messages from senders mail servers to the recipients mail servers using TCP.TCP is a connection-oriented protocol. It has 3 phases connection establishment, data transfer, connection terminationHTTP also uses TCP.UDP:UDP is a connectionless, unreliable transport protocol. It does not add anything to the services of IP except for providing process-to-process communication instead of host-to-host communication. UDP is located between the application layer and the IP layer, and serves as the intermediary between the application programs and the network operations.UDP is much faster. TCP is slow as it requires 3-way handshake. The load on DNS servers is also an important factor. DNS servers (since they use UDP) dont have to keep connections.DNS requests are generally very small and fit well within UDP segments.UDP is not reliable, but reliability can be added to the application layerExplanation: While trying to access the web servers, generally HTTP protocol ( port number = 80) is used and HTTP generally uses TCP as the underlying transport layer protocol.

For more questions,

Click Here

Download Gyanm App

free current affairs for competitive exams

Scan QR code to download our App for
more exam-oriented questions

free current affairs for competitive exams

OR
To get link to download app

Thank you! Your submission has been received. You will get the pdf soon. Call us if you have any question: 9117343434
Oops! Something went wrong while submitting the form.