Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development II
Web storage, fetch & PWAs
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.
End Term · 31 Aug 2025 (FN)End Term
- Q1MCQ4.5 Marks·Choose one option
Consider the following JavaScript program that demonstrates web storage operations:

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q2MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q3MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q4MSQ2 Marks·Choose all correct options
Which of the following statement(s) about Web Storage APIs is/are correct?
- A

- B

- C

- D

- A
- Q5MSQ2 Marks·Choose all correct options
Which of the following statement(s) is/are true regarding Single Page Applications (SPA) and Progressive Web Apps (PWA)?
- ASPAs use client-side routing to dynamically update content without full page reloads.
- BPWAs can work offline using service workers.
- CSPAs always require a server-side language to handle routing.
- DPWAs can be added to a device’s home screen like native apps.
End Term · 22 Dec 2024 (FN)End Term
- Q6MCQ3 Marks·Choose one option

- A[]
- B['Laptop', ‘Laptop’, ‘Laptop’]
- C[{ id: 1, name: 'Laptop' }]
- D[undefined]
- Q7MCQ2 Marks·Choose one option
Which of the following statements is FALSE?
- ACache-Control: no-store prevents caching
- BETag helps validate cache freshness
- CData stored in sessionStorage remains available even after the browser is closed and reopened.
- DlocalStorage has larger storage limit than cookies
End Term · 22 Dec 2024 (AN)End Term
- Q8MCQ3 Marks·Choose one option

- AThe new value will be stored in session storage, and the “userName” data property will be updated.
- BThe new value will be stored in session storage, but the “userName” data property will be reset to an empty string on page refresh.
- CThe “userName” data property will be reset to an empty string, and the session storage value will be ignored on refresh.
- DThe “userName” data property will not be updated in session storage because session storage doesn't persist across refreshes.
- Q9MCQ2 Marks·Choose one option
Which of the following statements is FALSE?
- ACache-Control: no-store prevents caching
- BData stored in sessionStorage remains available even after the browser is closed and reopened.
- CETag helps validate cache freshness
- DlocalStorage has larger storage limit than cookies
- Q10MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q11MSQ2 Marks·Choose all correct options
Which of the following statement(s) is/are correct regarding the behavior of local storage in Vue.js applications?
- AThe local storage data persists even after the browser is closed and reopened.
- BThe local storage data is automatically cleared every session.
- CThe local storage can only store strings, and storing objects requires manual serialization and de-serialization.
- DVue's reactivity system automatically updates the local storage when bound to a Vue data property.