TCP/UDP

Question 1
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
       Computer-Networks       TCP/UDP       ISRO CS 2014
Question 1 Explanation: 
The Hypertext Transport Protocol (HTTP) is an application layer protocol that is used to transmit virtually all files and other data on the World Wide Web, whether they're HTML files, image files, query results, or anything else. Usually, HTTP takes place through TCP/IP sockets.
A browser is an HTTP client because it sends requests to an HTTP server (Web server), which then sends responses back to the client. The standard (and default) port for HTTP servers to listen on is 80, though they can use any port.
HTTP is based on the TCP/IP protocols, and is used commonly on the Internet for transmitting web-pages from servers to browsers.
Question 2
Consider the following two statements:
S1: TCP handles both congestion and flow control
S2: UDP handles congestion but not flow control
Which of the following option is correct with respect to the above statements (S1) and (S2)?
A
Both S1 and S2 are correct
B
Neither S1 nor S2 is correct
C
S1 is not correct but S2 is correct
D
S1 is correct but S2 is not correct
       Computer-Networks       TCP/UDP       UGC NET CS 2018-DEC Paper-2
Question 2 Explanation: 
TCP is a reliable protocol for data transmission.
TCP uses advertisement window for flow control and uses Slow start, Congestion Avoidance, Congestion Detection mechanism for congestion control.
UDP is an unreliable data transmission protocol. It does not perform congestion control or flow control.
There are 2 questions to complete.
PHP Code Snippets Powered By : XYZScripts.com