Question 1
Which of the following Vue 2 template syntaxes are valid?
Which of the following Vue 2 template syntaxes are valid?
Which of the following statements about Vue 2 templates are correct?
v-if removes elements from DOM when false
v-show toggle initiates re-render of the Vue component
v-bind can bind attributes and class dynamically
Vue 2 templates must use double curly braces for all text interpolation
Consider the following JavaScript code:
let employees = [ { name: "Rahul", age: 28 }, { name: "Priya", age: 24 }, { name: "Amit", age: 32 }];employees.sort((a, b) => a.age - b.age);console.log(employees.map(e => e.name).join(" - "));What will be printed on the console?
Rahul - Priya - Amit
Priya - Rahul - Amit
Amit - Rahul - Priya
Priya - Amit - Rahul
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
The IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term: 16 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | MAD 2 Quiz 1 26 Oct 2025 at a glance |
|---|---|
| Term | September 2025 term |
| Subject | Modern Application Development II |
| Course code | BSCS2006 |
| Questions | 16 |
| Marks | 50 |
| Duration | 120 min |
| MSQ | 7 |
| MCQ | 8 |
| Numerical | 1 |
| Official paper | IIT M DIPLOMA AN EXAM QDD2 26 Oct 2025 |
| Negative marking | No negative marking. |
| Updated |