Quiz Space

Modern Application Development II · End Term · 10 May 2026 · January 2026 term · Set 1

Question 4: Which of the following HTTP methods does WebSocket use fo…

Question 4

+2 marksOne correct option

Which of the following HTTP methods does WebSocket use for initial handshake?

  1. A

    GET

  2. B

    POST

  3. C

    PUT

  4. D

    DELETE

Show answer

Correct answer

  • A

    GET

Question 4 of 29 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 10 May 2026, in the January 2026 term (Modern Application Development Ii 06 May 26). It carries 2 marks.

This question was also asked in

More questions from this paper

  1. Q1Which of the following statements is true regarding the "this" keyword in JavaScript?
  2. Q2Consider the below JavaScript program. What will be the output of the above program?
  3. Q3What is the main advantage of using JWT over session-based authentication?
  4. Q5You are building a cricket analytics app. The file battingStats.js contains the following exports: In another file app.…
  5. Q6Figure question
  6. Q7Consider the below JavaScript program. What will be the output of the above program?
  7. Q8Consider the below Vuex store configuration: If the addItemAsync action is dispatched with the item 'React', what will …
  8. Q9Consider the below Vue app. What happens when the user navigates to an undefined route like "/random"?
  9. Q10What will be the output of the following JavaScript code?
  10. Q11What happens when this Flask caching code runs? If requests for user IDs 1, 2, 1 are made within 5 minutes, what's the …
  11. Q12Consider the following JavaScript program: What will be printed in the console when the above code is executed?
  12. Q13Match the Vue directive in Directive with its correct functionality in Description using Vue.js.
  13. Q14In a Single Page Application (SPA), what are the benefits of client-side routing over server-side routing?
  14. Q15Which of the following is the correct statement?
  15. Q16Consider the following Vue application with markup index.html and JavaScript file app.js. Suppose the application is ru…
  16. Q17Consider the following endpoints created with a working setup of flask-security and flask-sqlalchemy. Three requests ar…
  17. Q18Consider the following code snippet running in a browser. What will be the output on the console?
  18. Q19Consider the following code snippet running on a browser. What is the output on the console?
  19. Q20Consider the flask application app.py and an HTML file index.html: If a user visit index.html at 10:10:10 AM, what will…
  20. Q21Which of the following statement(s) is/are true about GraphQL?
  21. Q22Consider the following code:
  22. Q23Hamza is working on a project using Git and performs the following operations: Creates a new branch and switches to it1…
  23. Q24Prerna and Swathy are using a web application built with Vue.js for the BS Degree program. When the page loads, the sid…
  24. Q25Consider the following Vue.js application: Based on the above data, answer the given subquestions. How many times will …
  25. Q26Consider the following Vue.js application: Based on the above data, answer the given subquestions. What will happen whe…
  26. Q27Consider the following Vue.js application: Based on the above data, answer the given subquestions.
  27. Q28Consider the following Vue 2 application: What happens immediately after clicking "Item 2"?
  28. Q29Consider the following Vue 2 application: