Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development II
Vuex state management
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.
End Term · 31 Aug 2025 (FN)End Term
- Q1MSQ3 Marks·Choose all correct options
Which of the following are true about mutations and actions in Vuex?
- AMutations can be asynchronous
- BActions can be asynchronous
- COnly actions can call APIs through fetch call
- DMutations should modify state directly
End Term · 31 Aug 2025 (AN)End Term
- Q2MSQ3 Marks·Choose all correct options
Which of the following are true about mutations and actions in Vuex?
- AActions can be asynchronous
- BOnly actions can call APIs through fetch call
- CMutations should modify state directly
- DMutations can be asynchronous
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q3MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q4MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
End Term · 22 Dec 2024 (FN)End Term
- Q5MCQ3 Marks·Choose one option

- AMultiple state changes in one mutation
- BAsync operation in mutation
- CDirect state mutation
- DBoth Multiple state changes in one mutation and Async operation in mutation
- Q6MCQ4.5 Marks·Choose one option

- AThe increment mutation will be called immediately after the dispatch.
- BThe state will be updated after the asynchronous operation completes.
- CThe incrementAsync action will be executed synchronously, and increment will be committed before the promise resolves.
- DThe action will be skipped since mutations cannot be called inside actions.
- Q7MCQ4.5 Marks·Choose one option

- AThe userData in the store is set to the data from the API.
- BUser: null
- CThe error will be logged, Nothing will be displayed
- DUser: Luke
End Term · 22 Dec 2024 (AN)End Term
- Q8MCQ4.5 Marks·Choose one option

- AThe increment mutation will be called immediately after the dispatch.
- BThe incrementAsync action will be executed synchronously, and increment will be committed before the promise resolves.
- CThe state will be updated after the asynchronous operation completes.
- DThe action will be skipped since mutations cannot be called inside actions.