Application Layer questions — page 1 of 2

Q19

GATE CS 2026 CS-1Application LayerMSQ1 mark
Which of the following statements is/are true with respect to the interaction of a web browser with a web server using HTTP 1.1?
More than one option can be correct.
Show answer without attempting

Answer: A, C, D

Q22

GATE CS 2026 CS-2Application LayerMCQ1 mark−1/3 if wrong
Which one of the following protocols may need to broadcast some of its messages?
Show answer without attempting

Answer: C

Q16

GATE CS 2024 CS-1Application LayerMCQ1 mark−1/3 if wrong
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all initially empty. The following packets leave the user's computer in some order.
(i) HTTP GET request for the index page
(ii) DNS request to resolve the web server's name to its IP address
(iii) HTTP GET request for an image object
(iv) TCP SYN to open a connection to the web server
Which one of the following is the CORRECT chronological order (earliest in time to latest) of the packets leaving the computer?
Show answer without attempting

Answer: C

Q52

GATE CS 2023 CSApplication LayerMSQ2 marks
Suppose in a web browser, you click on the www.gate-2023.in URL. The browser cache is empty. The IP address for this URL is not cached in your local host, so a DNS lookup is triggered (by the local DNS server deployed on your local host) over the 3-tier DNS hierarchy in an iterative mode. No resource records are cached anywhere across all DNS servers.

Let RTT denote the round trip time between your local host and DNS servers in the DNS hierarchy. The round trip time between the local host and the web server hosting www.gate-2023.in is also equal to RTT. The HTML file associated with the URL is small enough to have negligible transmission time and negligible rendering time by your web browser, which references 10 equally small objects on the same web server.

Which of the following statements is/are CORRECT about the minimum elapsed time between clicking on the URL and your browser fully rendering it?
More than one option can be correct.
Show answer without attempting

Answer: C, D

Q35

GATE CS 2022 CSApplication LayerNAT1 mark
Consider the resolution of the domain name www.gate.org.in by a DNS resolver. Assume that no resource records are cached anywhere across the DNS servers and that iterative query mechanism is used in the resolution. The number of DNS query-response pairs involved in completely resolving the domain name is_____________.
Show answer without attempting

Answer: 4

Q25

GATE CS 2020 CSApplication LayerNAT1 mark
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 __________.
Show answer without attempting

Answer: 6

Q16

GATE CS 2019 CSApplication LayerMCQ1 mark−1/3 if wrong
Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
Show answer without attempting

Answer: B

Q25

GATE CS 2016 CS-1Application LayerMCQ1 mark−1/3 if wrong
Which of the following is/are example(s) of stateful application layer protocols?
(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3
Show answer without attempting

Answer: C

Q52

GATE CS 2016 CS-1Application LayerMCQ2 marks−2/3 if wrong
Consider that B wants to send a message m that is digitally signed to A. Let the pair of private and public keys for A and B be denoted by Kx−K^-_x and Kx+K^+_x for x=A,Bx = A,B, respectively. Let Kx(m)K_x(m) represent the operation of encrypting m with a key KxK_x and H(m)H(m) represent the message digest. Which one of the following indicates the CORRECT way of sending the message m along with the digital signature to A?
Show answer without attempting

Answer: B

Q25

GATE CS 2016 CS-2Application LayerMCQ1 mark−1/3 if wrong
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.
Show answer without attempting

Answer: C

Q18

GATE CS 2015 CS-3Application LayerMCQ1 mark−1/3 if wrong
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where, var is a different number from 1 to 10 for each Webpage. Suppose, the client stores the Webpage with var = 1 (say W1) in local machine, edits and then tests. Rest of the WebPages remains on the web server. W1 contains several relative URLs of the form "var.html" referring to the other WebPages. Which one of the following statements needs to be added in W1, so that all the relative URLs in W1 refer to the appropriate WebPages on the web server?
Show answer without attempting

Answer: B

Q24

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
Suppose that everyone in a group of NN people wants to communicate secretly with the N−1N-1 others using symmetric key cryptographic system. The communication between any two persons should not be decodable by the others in the group. The number of keys required in the system as a whole to satisfy the confidentiality requirement is
Show answer without attempting

Answer: C

Q25

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
Which of the following statements is/are FALSE?

I. XML overcomes the limitations in HTML to support a structured way of organizing content.
II. XML specification is not case sensitive while HTML specification is case sensitive.
III. XML supports user defined tags while HTML uses pre-defined tags.
IV. XML tags need not be closed while HTML tags must be closed.
Show answer without attempting

Answer: C

Q27

GATE CS 2015 CS-1Application LayerMCQ1 mark−1/3 if wrong
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?
Show answer without attempting

Answer: A

Q35

GATE CS 2015 CS-2Application LayerMCQ1 mark−1/3 if wrong
Which one of the following statements is NOT correct about HTTP cookies?
Show answer without attempting

Answer: A

Q28

GATE CS 2014 CS-2Application LayerMCQ2 marks−2/3 if wrong
A graphical HTML browser resident at a network client machine Q accesses a static HTML webpage from a HTTP server S. The static HTML page has exactly one static embedded image which is also at S. Assuming no caching, which one of the following is correct about the HTML webpage loading (including the embedded image)?
Show answer without attempting

Answer: B

Q24

GATE CS 2014 CS-1Application LayerMCQ1 mark−1/3 if wrong
Which of the following are used to generate a message digest by the network security protocols?

(P) RSA
(Q) SHA-1
(R) DES
(S) MD5
Show answer without attempting

Answer: C

Q25

GATE CS 2014 CS-1Application LayerMCQ1 mark−1/3 if wrong
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

1. The web browser requests a webpage using HTTP.
2. The web browser establishes a TCP connection with the web server.
3. The web server sends the requested webpage using HTTP.
4. The web browser resolves the domain name using DNS.
Show answer without attempting

Answer: A

Q11

GATE CS 2013 CSApplication LayerMCQ1 mark−1/3 if wrong
Match the problem domains in GROUP I with the solution technologies in GROUP II.
GROUP IGROUP II
(P) Service oriented computing(1) Interoperability
(Q) Heterogeneous communicating systems(2) BPMN
(R) Information representation(3) Publish-find-bind
(S) Process description(4) XML
Show answer without attempting

Answer: C

Q38

GATE CS 2013 CSApplication LayerMCQ2 marks−2/3 if wrong
The following figure represents access graphs of two modules M1 and M2. The filled circles represent methods and the unfilled circles represent attributes. If method m is moved to module M2 keeping the attributes where they are, what can we say about the average cohesion and coupling between modules in the system of two modules?
Question figure
Show answer without attempting

Answer: A

0/200 correct0 marks

Related topics in Computer Networks