Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development II
JS functions, closures & this
Official Paper
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Quiz 1 · 26 Oct 2025 (AN)Quiz 1
- Q1MCQ3 Marks·Choose one option

- Aclicked picture of Dog
- Bclicked picture of Deer
- Cclicked picture of Cat
- Dclicked picture of undefined
- Q2MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q3MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q4MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q5MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
End Term · 22 Dec 2024 (FN)End Term
- Q6MCQ3 Marks·Choose one option
Which of the following statements is true about closures in JavaScript?
- AA closure can access variables from its outer function even after the outer function has returned.
- BA closure can be created when a function is defined inside another function.
- CClosures are useful for data encapsulation and controlling access to private data.
- DAll of these.
- Q7MCQ2 Marks·Choose one option

- A

- B

- C

- D

- E

- A
- Q8MCQ2 Marks·Choose one option

- A

- B

- C

- D

- E

- F

- G

- A
- Q9MCQ2 Marks·Choose one option

- A5
- B10
- C15
- D20
- Q10MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
End Term · 22 Dec 2024 (AN)End Term
- Q11MCQ2 Marks·Choose one option

- A

- B

- C

- D

- E

- A