Question 2
Use v-bind directly with a prop
Create a computed property with getter and setter
Use v-model with corresponding prop and emit
Modify the prop value directly in the child component
Use v-bind directly with a prop
Create a computed property with getter and setter
Use v-model with corresponding prop and emit
Modify the prop value directly in the child component
Correct answer
Use v-model with corresponding prop and emit
Question 2 of 16 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term (IIT M DIPLOMA AN EXAM QDD2 16 Mar 2025). It carries 2 marks.