The GATE Grind

GATE Computer Networks: Application Layer: DNS and HTTP – Previous Year Questions

24 GATE previous year questions on Application Layer: DNS and HTTP (Computer Networks, Computer Science) with answers and explanations, from every paper.

24 questions worth 29 marks in all (19 1-mark, 5 2-mark). Asked between 2007 and 2026, so you can see how the topic has been tested over time.

  1. GATE 2007 CS Q20 (1 mark, Multiple choice) – Which uses UDP as transport?
  2. GATE 2009 CS Q20 (1 mark, Multiple choice) – Consider this HTML table definition. Give the number of rows in each column and the number of columns in each row.
  3. GATE 2009 CS Q46 (2 marks, Multiple choice) – In RSA the private and public keys are (e, n) and (d, n), respectively, where n=pq for large primes p, q; n is public, p, q private. Let 0<M<n and…
  4. GATE 2015 CS (CS3) Q18 (1 mark, Multiple choice) – Ten server pages have URLs http://www.yourname.com/var.html, with var from 1 to 10. A local edited copy of page 1 contains relative links such as…
  5. GATE 2015 CS (CS2) Q35 (1 mark, Multiple choice) – Which statement about HTTP cookies is NOT correct?
  6. GATE 2011 CS Q14 (1 mark, Multiple choice) – Match email activities to application protocols: m₁ sends from mail client to mail server; m₂ downloads from mailbox server to mail client; m₃ checks…
  7. GATE 2011 CS Q19 (1 mark, Multiple choice) – Which action is not supported by pure HTML without client-side or server-side scripts?
  8. GATE 2016 CS (CS2) Q35 (1 mark, Multiple choice) – A host has just restarted and its browser requests a remote webpage. Order the listed packets.
  9. GATE 2014 CS (CS2) Q38 (2 marks, Multiple choice) – A graphical HTML browser at Q fetches a static HTML page from HTTP server S. The page has exactly one static embedded image, also at S. With no…
  10. GATE 2014 CS (CS1) Q35 (1 mark, Multiple choice) – Order browser–server operations: 1: Browser requests webpage using HTTP; 2: Browser establishes TCP connection; 3: Server sends requested webpage…
  11. GATE 2017 CS (CS1) Q25 (1 mark, Multiple choice) – A sender S sends a message m to receiver R, which is digitally signed by S with its private key. In this scenario, one or more of the following…
  12. GATE 2017 CS (CS1) Q54 (2 marks, Numerical answer) – In a RSA cryptosystem, a participant A uses two prime numbers p = 13 and q = 17 to generate her public and private keys. If the public key of A is 35,…
  13. GATE 2016 CS (CS1) Q35 (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
  14. GATE 2016 CS (CS1) Q62 (2 marks, Multiple choice) – 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 K x- and K…
  15. GATE 2015 CS (CS1) Q24 (1 mark, Multiple choice) – Suppose that everyone in a group of N people wants to communicate secretly with the N-1 others using symmetric key cryptographic system. The…
  16. GATE 2015 CS (CS1) Q25 (1 mark, Multiple choice) – 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…
  17. GATE 2015 CS (CS1) Q27 (1 mark, Multiple choice) – 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…
  18. GATE 2019 CS Q26 (1 mark, Multiple choice) – Which one of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
  19. GATE 2026 CS (CS2) Q22 (1 mark, Multiple choice) – Which one of the following protocols may need to broadcast some of its messages?
  20. GATE 2026 CS (CS1) Q19 (1 mark, Multiple select) – 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?
  21. GATE 2024 CS (CS1) Q16 (1 mark, Multiple choice) – A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage. The webpage…
  22. GATE 2023 CS Q52 (2 marks, Multiple select) – 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…
  23. GATE 2022 CS Q35 (1 mark, Numerical answer) – 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…
  24. GATE 2020 CS Q35 (1 mark, Numerical answer) – 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…