Quiz Space

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

Question 29: Which of the following statement(s) is/are true regardin…

Question 29

+3 marksOne or more correct options

Which of the following statement(s) is/are true regarding flask_caching and caching in general?

Select all that apply.

  1. A

    The cache decorator does not include the function parameters in the cache key.

  2. B

    The memoize decorator does not include the function parameters in the cache key.

  3. C

    The requests without request bodies are generally not cacheable.

  4. D

    Hard refreshing a web page clears the browser cache for that specific web page.

Show answer

Correct answers

  • A

    The cache decorator does not include the function parameters in the cache key.

  • D

    Hard refreshing a web page clears the browser cache for that specific web page.

Question 29 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 3 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. Q20Which of the following statements is false regarding HTTP and fetch API?
  21. Q21Consider the following Vue application with markup “index.html” and javascript file “app.js”. index.html: app.js: Suppo…
  22. Q22Consider the below flask app, and an HTML file named “index.html”. app.py: index.html: Suppose you open the “index.html…
  23. Q23Consider the flask application. app.py: Suppose the application is running on “http://localhost:5000”. If the client ma…
  24. Q24Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: If the applicati…
  25. Q25Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  26. Q26Consider the below Vue application with markup file “index.html” and javascript file “app.js”. app.js: Suppose the appl…
  27. Q27Consider the below Vue component and a Vuex store implementation. You are supposed to invoke the mutation function “upd…
  28. Q28Consider the given 2 implementations. Approach 1: driver code: celery job: Approach 2: driver code: celery job: Suppose…
  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?