Quiz Space

Modern Application Development II · End Term · 3 Sept 2023 · May 2023 term · Set QPD1-S2

Question 20: Which of the following statements is false regarding HTT…

Question 20

+2 marksOne correct option

Which of the following statements is false regarding HTTP and fetch API?

  1. A

    A fetch call is capable of sending image data.

  2. B

    The “Accept” HTTP header is used by HTTP clients to tell the server which type of content they expect/prefer as response.

  3. C

    The HTTP headers “Accept” and “Content-Type” are essentially the same.

  4. D

    A fetch call allows a developer to add custom headers in the request.

Show answer

Correct answer

  • C

    The HTTP headers “Accept” and “Content-Type” are essentially the same.

Question 20 of 32 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M FOUNDATION ET1 EXAM QPF1 S1 03 Sep). It carries 2 marks.

More questions from this paper

  1. Q1Consider the below HTML document. index.html: Suppose you open the “index.html” file in a browser, and click on the tab…
  2. Q2Consider the below HTML document. index.html: Suppose you open the “index.html” file in a browser, and click on the tab…
  3. Q3Consider the following JavaScript program, and predict the output if executed.
  4. Q4Match the Vue directives / constructs with their function.
  5. Q5Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  6. Q6Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose you open…
  7. Q7Consider the below javascript program, and predict the output, if executed.
  8. Q8Which of the following statements is true regarding long polling?
  9. Q9Consider the following flask application. app.py: Suppose the application is running on “http://localhost:5000”. If the…
  10. Q10What will be the output of the following javascript code.
  11. Q11Consider the below Vue application with markup file “index.html” and javascript file “app.js”. index.html: app.js: Supp…
  12. Q12Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  13. Q13Which of the following is/are not the example(s) of ephemeral state?
  14. Q14Which of the following statement(s) is/are true in general?
  15. Q15Which of the following statement(s) is/are correct regarding the execution context in JavaScript?
  16. Q16Which of the following statements is/are correct regarding the prototype in javascript?
  17. Q17Which of the following statements is/are correct?
  18. Q18Which of the following statements is/are true regarding the celery in python?
  19. Q19Which of the following statements is false regarding async and await?
  20. Q21Consider the following Vue application with markup “index.html” and javascript file “app.js”. index.html: app.js: Suppo…
  21. Q22Consider the below flask app, and an HTML file named “index.html”. app.py: index.html: Suppose you open the “index.html…
  22. Q23Consider the flask application. app.py: Suppose the application is running on “http://localhost:5000”. If the client ma…
  23. Q24Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: If the applicati…
  24. Q25Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  25. Q26Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  26. Q27Consider the below Vue component and a Vuex store implementation. You are supposed to invoke the mutation function “upd…
  27. Q28Consider the given 2 implementations. Approach 1: driver code: celery job: Approach 2: driver code: celery job: Suppose…
  28. Q29Which of the following statement(s) is/are true regarding flask_caching and caching in general?
  29. Q30Which of the following statements is/are true?
  30. Q31Figure question
  31. Q32Which of the following statement is/are true in context of lighthouse?