Quiz Space

Modern Application Development II · Quiz 1 · 27 Oct 2024 · September 2024 term

Question 15: Which of the following scenario(s) represent ephemeral s…

Question 15

+2 marksOne or more correct options

Which of the following scenario(s) represent ephemeral state(s) in a web application?

Select all that apply.

  1. A

    The user's current scroll position on a webpage.

  2. B

    The user's authentication token, saved in localStorage.

  3. C

    The temporary state of a dropdown menu.

  4. D

    All of these

Show answer

Correct answers

  • A

    The user's current scroll position on a webpage.

  • C

    The temporary state of a dropdown menu.

Question 15 of 16 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term (IIT M DIPLOMA AN EXAM QDD2 27 Oct 2024). It carries 2 marks.

More questions from this paper

  1. Q1Consider the following HTML, with the correct Vue 2 CDN links included. What will be the final rendered class attribute…
  2. Q2Which of the following is an example of ephemeral state in a web application?
  3. Q3Consider the following JavaScript code What will be the output of the code?
  4. Q4Consider the following JavaScript code snippet What will be the output of the code?
  5. Q5Consider the following code snippet What will be the output after 1 second?
  6. Q6Consider the below javascript program. What will be the output of the above program?
  7. Q7Consider the below Vue component. What will be displayed in the <p> element, after the button with text “Update” is cli…
  8. Q8Consider the following HTML, with the correct Vue 2 CDN links included. What will be shown in the amount placeholder wh…
  9. Q9Consider the following HTML, with the correct Vue 2 CDN links included. What will be displayed in the <p> tags after th…
  10. Q10Consider the below javascript program. What will be the output of the above program?
  11. Q11Consider the below Vue component. What will be displayed in the <ul> when filterActive is true?
  12. Q12Which of the following statements is/are true about JavaScript’s “this” keyword behavior in different contexts?
  13. Q13Considering the differences between “var”, “let”, and “const” in terms of scope, hoisting, and reassignment, which of t…
  14. Q14Which of the following statements is/are true?
  15. Q16What are the differences between Vue's computed properties and methods?