Application Layer Protocols · Computer Networks
21 questions · asked in 15 of 27 years (2000–2026)
MCQ 17 · MSQ 2 · NAT 21-mark 19 · 2-mark 2
2000Questions per year2026
Questions 6–10 of 21
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__________.
Answer: 6
In non-persistent HTTP, every object needs its own TCP connection. So the text page takes 1 connection, and each of the 5 images takes 1 more connection.
Answer: 6
Answer: 6
Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
Answer: (B)
SMTP is the protocol that sends (pushes) mail. To get mail from the mailbox, POP3 (or IMAP) is used. MIME is just a format for attachments.
Answer: SMTP, POP3
Answer: SMTP, POP3
Which of the following is/are example(s) of stateful application layer protocols?
(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3
(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3
Answer: (C)
We look at each statement one by one:
- HTTP is stateless, because every request is independent.
- FTP keeps session state (login and current directory) so it is stateful.
- TCP is a transport layer protocol. It is not an application layer protocol.
- POP3 keeps session state (authorization and transaction states) so it is stateful.
Answer: (ii) and (iv) only
- HTTP is stateless, because every request is independent.
- FTP keeps session state (login and current directory) so it is stateful.
- TCP is a transport layer protocol. It is not an application layer protocol.
- POP3 keeps session state (authorization and transaction states) so it is stateful.
Answer: (ii) and (iv) only
Identify the correct sequence in which the following packets are transmitted on the network by a host when a browser requests a webpage from a remote server,assuming that the host has just been restarted.
Answer: (C)
The host was just restarted, so the cache is empty:
1. DNS query finds the server's IP
2. TCP SYN starts the connection
3. HTTP GET is sent over that connection
Answer: DNS query, TCP SYN, HTTP GET request
1. DNS query finds the server's IP
2. TCP SYN starts the connection
3. HTTP GET is sent over that connection
Answer: DNS query, TCP SYN, HTTP GET request
In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?
Answer: (A)
Let us look at each protocol:
- HTTP: a browser is able to open many TCP connections at the same time to one server.
- FTP: it has one control connection and separate data connections.
TELNET and SMTP work with only one connection.
Answer: HTTP, FTP
- HTTP: a browser is able to open many TCP connections at the same time to one server.
- FTP: it has one control connection and separate data connections.
TELNET and SMTP work with only one connection.
Answer: HTTP, FTP
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link LayerNetwork Layer ProtocolTransport Layer Protocol
Application Layer ProtocolsYou are here
Network Security