GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 25

GATE CSE 2016 Set 1 Q25

Computer Networks · Application Protocols · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q25 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Application Protocols

Question 25, GATE 2016: Which are stateful application-layer protocols? i:HTTP; ii:FTP; iii:TCP; iv:POP 3. A: i,ii only. B: ii,iii only. C: ii,iv only. D: iv only.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

FTP maintains control-session state and POP 3 proceeds through authorization, transaction and update states. HTTP is conventionally stateless at the protocol level despite application cookies, while TCP is stateful but belongs to the transport layer. Therefore FTP and POP 3, C.

Apply both filters in the question: stateful, and application-layer. TCP satisfies the first but fails the second because it is a transport protocol. HTTP's request semantics do not require retained server session context; a website's cookies or login sessions are application mechanisms layered on HTTP. FTP keeps connection, authentication and transfer-mode context, while POP 3 has protocol states with different permitted commands. Only ii and iv satisfy both filters.

Original paper, page 11 · Answer key