Quiz Space

Modern Application Development II · Quiz 1 · 19 Jul 2026 · May 2026 term

Question 5: A child component is initially visible using . The parent…

Question 5

+3 marksOne correct option

A child component is initially visible using . The parent first updates a prop passed to the child, and then sets . After the child has already mounted once, which sequence can occur in the child after initial render?

  1. A

    -> -> ->

  2. B

    -> -> ->

  3. C

    -> -> ->

  4. D

    -> -> ->

Show answer

Correct answer

  • A

    -> -> ->

Question 5 of 16 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (Modern Application Development Ii 16 Jul 26). It carries 3 marks.

More questions from this paper

  1. Q1Consider running the following in Browser console: Which of the following statements are correct?
  2. Q2Which of the following are advantages of component-based frontend frameworks like Vue.js?
  3. Q3Which of the following cases is a function being used as a callback?
  4. Q4What is the correct output order for the following code?
  5. Q6Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  6. Q7Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  7. Q8Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  8. Q9Which of the following Vue directives are correctly matched with their purpose?
  9. Q10Given the following parent-child setup in Vue 2: and inside the child: Which statements are correct?
  10. Q11Identify the issue in the following Vue.js code: Why does the value not update correctly when the button is clicked?
  11. Q12Consider the following JavaScript code snippet. Which of the following statements is/are correct?
  12. Q13Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  13. Q14Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console in c…
  14. Q15Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  15. Q16Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?