The GATE Grind

GATE 2016 CS – Question 35

Computer Networks · Application Layer: DNS and HTTP · 1 mark · Multiple choice

Which of the following is/are example(s) of stateful application layer protocols?

(i) HTTP

(ii) FTP

(iii) TCP

(iv) POP3

  1. (i) and (ii) only
  2. (ii) and (iii) only
  3. (ii) and (iv) only
  4. (iv) only

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) (ii) and (iv) only

Explanation

FTP and POP3 keep information about the session, such as the logged-in user and the current directory or mailbox, so they are stateful. HTTP does not remember earlier requests, so it is stateless. TCP is a transport layer protocol, not an application layer protocol.