Quiz Space

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

Question 9: Which of the following Vue directives are correctly match…

Question 9

+2 marksOne correct option

Which of the following Vue directives are correctly matched with their purpose?

  1. A

    v-show → fetching api

  2. B

    v-for → Iteration over lists

  3. C

    v-bind → Conditional rendering

  4. D

    v-model → Event handling only

Show answer

Correct answer

  • B

    v-for → Iteration over lists

Question 9 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 2 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. Q5A child component is initially visible using . The parent first updates a prop passed to the child, and then sets . Aft…
  6. Q6Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  7. Q7Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  8. Q8Consider the following JavaScript code snippet. What will be the output of the above code on the browsers’ console?
  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?