Quiz Space

MAD 2 End Term: 13 April 2025, Set QDD1 (January 2025 term)

Question 1

+2 marksOne correct option

Which of the following statements is true regarding the "this" keyword in JavaScript?

  1. A

    It always refers to the global object.

  2. B

    Arrow functions have their own "this" context.

  3. C

    "this" in an event listener always refers to the window object.

  4. D

    None of these

Question 2

+2 marksOne correct option

Which of the following correctly describes the lifecycle of a Vue.js component?

  1. A

    beforeCreate -> created -> beforeMount -> mounted -> beforeUpdate -> updated -> beforeUnmount -> unmounted

  2. B

    beforeCreate -> created -> beforeMount -> beforeUpdate -> mounted -> updated -> beforeUnmount -> unmounted

  3. C

    created -> beforeCreate -> beforeMount -> mounted -> updated -> beforeUnmount -> unmounted

  4. D

    created -> beforeCreate -> beforeMount -> mounted -> beforeUnmount -> updated -> unmounted

Also asked in End Term 13 Apr 2025

Question 3

+2 marksOne correct option

Consider the below JavaScript program.

javascript
const promise = new Promise((resolve, reject) => {
resolve('Success!');
reject('Failed!');
});
promise.then(console.log).catch(console.log);

What will be the output of the above program?

  1. A

    Success
    Failed

  2. B

    Success

  3. C

    Failed

  4. D

    Error

29 more questions in this paper

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.

More on the MAD 2 End Term 13 Apr 2025 Set QDD1 paper

The IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 13 Apr 2025, in the January 2025 term, set QDD1: 32 questions for 100 marks in 180 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.

FeatureMAD 2 End Term 13 Apr 2025 Set QDD1 at a glance
TermJanuary 2025 term
SubjectModern Application Development II
Course codeBSCS2006
Questions32
Marks100
Duration180 min
MCQ28
MSQ3
Numerical1
Official paperIIT M DIPLOMA AN EXAM QDD3 13 Apr 2025
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More MAD 2