Question 1
A developer opens the Node.js REPL and runs the following line:
Why does this fail?
Node.js cannot execute JavaScript from the terminal.
V8 can execute only arithmetic expressions, not DOM code.
A developer opens the Node.js REPL and runs the following line:
Why does this fail?
Node.js cannot execute JavaScript from the terminal.
V8 can execute only arithmetic expressions, not DOM code.
Consider the following javascript code:
The above code is initially loaded on the browser and then the browser is refreshed two times. What will be the final output?
['Tablet', 'Tablet']
['Tablet', 'Tablet', 'Tablet']
[{ id: 3, name: 'Tablet' }]
[undefined]
Point out the error with the following code that is used to display user data?
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 2 paper sat on 16 Aug 2026, in the May 2026 term: 15 questions for 47 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 2 16 Aug 2026 at a glance |
|---|---|
| Term | May 2026 term |
| Subject | Modern Application Development II |
| Course code | BSCS2006 |
| Questions | 15 |
| Marks | 47 |
| Duration | 120 min |
| MCQ | 11 |
| MSQ | 4 |
| Official paper | Modern Application Development Ii 14 Aug 26 |
| Negative marking | No negative marking. |
| Updated |