Quiz Space

Modern Application Development II · End Term · 13 Sept 2026 · May 2026 term · Set 1

MAD 2 End Term 13 Sept 2026 — Question 1

Question 1

+2 marksOne correct option
  1. A

    The header stores the encrypted password used to generate the signature.

  2. B

    The signature is generated using the encoded header, encoded payload, and a secret key. If the header is modified, the signature verification fails.

  3. C

    The signature only protects the payload section; changes to the header do not affect token validation.

  4. D

    The header contains the final signature hash generated after token creation.

Show answer

Correct answer

  • B

    The signature is generated using the encoded header, encoded payload, and a secret key. If the header is modified, the signature verification fails.

Question 1 of 30 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 13 Sept 2026, in the May 2026 term (Modern Application Development Ii 13 Sep 26 (Session 2)). It carries 2 marks.

More questions from this paper

  1. Q2A news platform wants to send a morning digest email to all subscribers every day at 7 AM. Sweta sets up the beat sched…
  2. Q3A startup is building a food delivery app. The customer-facing screen shows live order status updates: "Order Placed → …
  3. Q4File: app.js
  4. Q5file:index.html Select all statements that correctly describe the console output:
  5. Q6Consider the following Flask JWT code:
  6. Q7Figure question
  7. Q8Consider the following code using flask_jwt_extended: Which of the following statements are correct? (Select all that a…
  8. Q9Pratham builds a Flask route that generates a PDF report and sends it to the user via email, all inside the route handl…
  9. Q10Which of the following is/are the advantage(s) of client-side storage?
  10. Q11Which of the following are valid capabilities of Lighthouse while analyzing a website?
  11. Q12Given the following code, select all the statements that are TRUE about its execution if the code is run in a browser e…
  12. Q13A team builds an internal warehouse dashboard where multiple managers, each on a different computer, need to receive li…
  13. Q14Match the testing concept in Column I with the most appropriate description in Column II.
  14. Q15Match the performance metric in Column I with the most appropriate description in Column II.
  15. Q16What is the value of result after running the following code?
  16. Q17A developer has just created a new Vue 2 project using Vue CLI and the following package.json was generated. package.js…
  17. Q18Consider the following JavaScript code: What will be output on the browser’s console?
  18. Q19What is logged to the console after running the following code?
  19. Q20A developer runs the following code in Tab 1 of a browser, then opens the same website in a new Tab 2 (not a duplicate,…
  20. Q21Consider the following Vue 2 + Vuex application: Note: All three image above are of one html.\ Based on the above data,…
  21. Q22Consider the following Vue 2 + Vuex application: Note: All three image above are of one html.\ Based on the above data,…
  22. Q23Consider the following JavaScript code: Based on the above data, answer the given subquestions. What will be printed in…
  23. Q24Consider the following JavaScript code: Based on the above data, answer the given subquestions. Which of the following …
  24. Q25What text appears on the button when the app first renders?
  25. Q26After the button is clicked once, what is the value of log in the parent?
  26. Q27Read the following Vuex setup carefully and answer the given subquestions: store.js component
  27. Q28Read the following Vuex setup carefully and answer the given subquestions: store.js component
  28. Q29Select all statements that are TRUE about the output:
  29. Q30Select all statements that are TRUE about the output :