Application-Layer-Protocol

Question 1
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is ______.
A
6
       Computer-Networks       Application-Layer-Protocol       GATE 2020
Question 1 Explanation: 
In non-persistent HTTP connection for every object, there is a TCP connection established. Therefore, 1 TCP connection for text and 5 TCP connections for images required.
Hence,  1 Text + 5 Image = 6 Objects
Question 2
Which of the following is/are example(s) of stateful application layer protocols?
    (i) HTTP
    (ii) FTP
    (iii) TCP
    (iv) POP3
A
(i) and (ii) only
B
(ii) and (iii) only
C
(ii) and (iv) only
D
(iv) only
       Computer-Networks       Application-Layer-Protocol       2016 set-01
Question 2 Explanation: 
Stateless protocol is a communications protocol in which no information is retained by either sender or receiver.
A protocol that requires keeping of the internal state on the server is known as a stateful protocol.
Stateless - HTTP, IP
Stateful - FTP, SMTP, POP3, TCP
TCP is stateful as it maintains connection information across multiple transfers, but TCP is a Transport layer protocol.
FTP and POP3 is stateful Application layer protocol.
Question 3
The protocol data unit (PDU) for the application layer in the Internet stack is
A
Segment
B
Datagram
C
Message
D
Frame
       Computer-Networks       Application-Layer-Protocol       Gate 2012
Question 3 Explanation: 
The PDU for Data Link layer, Network layer, Transport layer and Application layer are frame, datagram, segment and message respectively.
Question 4
Consider different activities related to email:
m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser
Which is the application level protocol used in each activity?  
A
m1:HTTP m2: SMTP m3: POP
B
m1:SMTP m2:FTP m3:HTTP
C
m1: SMTP m2: POP m3: HTTP
D
m1: POP m2: SMTP m3: IMAP
       Computer-Networks        Application-Layer-Protocol       Gate 2011
Question 4 Explanation: 
Sending an email will be done through user agent and message transfer agent by SMTP, downloading an email from mail box is done through POP, checking email in a web browser is done through HTTP
Question 5
What is the maximum size of data that the application layer can pass on to the TCP layer below?
A
Any size
B
216 bytes-size of TCP header
C
216 bytes
D
1500 bytes
       Computer-Networks       Application-Layer-Protocol       Gate-2008
Question 5 Explanation: 
Application Layer - Any size
Transport Layer - 65515 byte
Network layer - 65535 byte
Data link layer - 1500 byte
There are 5 questions to complete.
PHP Code Snippets Powered By : XYZScripts.com