Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development II
Most repeated questions
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.
Type 1 · asked 5 times · Promises, async/await & event loop
Order the console output of an async function that uses await
- Q1MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- ABegin, Start, 5, End, Finish
- BBegin, Start, Finish, 5, End
- CBegin, Finish, Start, 5, End
- DBegin, Finish, Start, End, 5
- Q2MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- ABegin, Start, 5, End, Finish
- BBegin, Finish, Start, 5, End
- CBegin, Finish, Start, End, 5
- DBegin, Start, Finish, 5, End
- Q3MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓

- AR P Q S
- BP R S Q
- CR S P Q
- DR P S Q
- Q4MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓

- AR P Q S
- BP R S Q
- CR P S Q
- DR S P Q
- Q5MCQ4.5 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓

- A

- B

- C

- D

- A
Type 2 · asked 4 times · Promises, async/await & event loop
Trace a promise chain with throw and catch to find the logged output
- Q6MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓
What will be the output on the console?- A7
- Berror
- Cundefined
- Derror4
- Q7MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
What will be the output on the console?- Aerror4
- B7
- Cerror
- Dundefined
- Q8MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
Consider the following javascript program.
What will be the output of the above program on the browser’s console?- A

- B

- C

- D

- A
- Q9MCQ4.5 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓

- A

- B

- C

- D

- A
Type 3 · asked 4 times · Vue components, slots & lifecycle
Trace data changes in beforeCreate and created hooks
Type 4 · asked 3 times · Vuex state management
Behaviour when dispatching an async Vuex action that commits later
- Q14MCQ4.5 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- 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.
- Q15MCQ4.5 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- 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.
- Q16MSQ3 Marks·Choose all correct optionsQuiz 2 · 3 Aug 2025 (AN)Key ↓

- A

- B

- C

- D

- E

- A
Type 5 · asked 3 times · Vue directives & templates
Decide which classes v-bind:class applies to an element
- Q17MSQ2 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (AN)Key ↓

- AThe class, namely “classB” will always be applied to the div element.
- BThe classes, namely “classA” and “classB” will always be applied to the div element.
- CThe class, namely “classA” will only be applied to the div element, if the variable “isClassA” evaluates to true.
- DThe class, namely “classB” will only be applied to the div element, if no variable with name “isClassA” exists.
- Q18MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓

- AThe class "active" will only be applied to the div element if the variable "isActive" evaluates to true.
- BThe class "disabled" will be applied to the div element when the variable "isEnabled" evaluates to false.
- CThe class "text-bold" will always be applied to the div element regardless of the "hasBoldText" variable value.
- DAll three classes ("active", "text-bold", "disabled") will always be applied to the div element.
- EIf "isEnabled" is undefined, the "disabled" class will not be applied to the div element.
- FThe class "text-bold" will only be applied if the variable "hasBoldText" exists and evaluates to a truthy value.
- Q19MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓

- AThe class "active" will only be applied to the div element if the variable "isActive" evaluates to true.
- BThe class "text-bold" will always be applied to the div element regardless of the "hasBoldText" variable value.
- CThe class "disabled" will be applied to the div element when the variable "isEnabled" evaluates to false.
- DAll three classes ("active", "text-bold", "disabled") will always be applied to the div element.
- EThe class "text-bold" will only be applied if the variable "hasBoldText" exists and evaluates to a truthy value.
- FIf "isEnabled" is undefined, the "disabled" class will not be applied to the div element.
Type 6 · asked 3 times · Vue Router
Find which component renders for a URL given the routes list
- Q20MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- AHome
- BProfile
- CSecurity
- DSettings
- Q21MCQ3 Marks·Choose one optionQuiz 2 · 3 Aug 2025 (AN)Key ↓

- ADashboard only
- BStats Component only
- CDashboard Stats Component
- D404 Not Found
- Q22MCQ4.5 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓

- AUserProfile
- BUser
- CNotFound
- DUserSettings
Type 7 · asked 3 times · Celery, queues, webhooks & SSE
Pick true statements about Celery background tasks
- Q23MSQ3 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (AN)Key ↓
Which of the following is/are typical use case(s) for Celery tasks?
- AProcessing time-consuming or resource-intensive background jobs asynchronously.
- BDirectly handling incoming HTTP requests in web servers.
- CScheduling periodic tasks like sending emails or cleaning up the database.
- DServing real-time notifications over WebSockets.
- Q24MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which statements are true about handling background tasks in Flask with Celery?
- AUsing time.sleep() blocks the event loop and is recommended for async tasks
- BCelery allows long-running tasks to be executed asynchronously
- CPolling is a strategy to check task status periodically
- DFlask + Celery + Redis is a common stack for async task management
- Q25MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which statements are true about handling background tasks in Flask with Celery?
- ACelery allows long-running tasks to be executed asynchronously
- BPolling is a strategy to check task status periodically
- CUsing time.sleep() blocks the event loop and is recommended for async tasks
- DFlask + Celery + Redis is a common stack for async task management
Type 8 · asked 3 times · Celery, queues, webhooks & SSE
Pick true statements about webhooks
- Q26MSQ3 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (AN)Key ↓
Which of the following statement(s) is/are true about Webhooks?
- AA Webhook is a method for a server to send real-time data to another server as an HTTP POST request.
- BWebhooks are typically used for sending periodic updates at regular intervals.
- CA client must continuously poll a Webhook URL to receive data.
- DWebhooks are usually used in event-driven architectures, where an event triggers an HTTP POST request to a specified endpoint.
- Q27MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which statements about webhooks are correct?
- AThey enable real-time data delivery
- BThey use HTTP POST requests typically
- CThey're designed for server-to-server communication
- DThey require polling from the client
- Q28MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which statements about webhooks are correct?
- AThey enable real-time data delivery
- BThey require polling from the client
- CThey use HTTP POST requests typically
- DThey're designed for server-to-server communication
Type 9 · asked 3 times · Caching & page performance
Pick the Lighthouse performance metrics
- Q29MSQ2 Marks·Choose all correct optionsEnd Term · 22 Dec 2024 (AN)Key ↓
Which of the following statements are true about Lighthouse?
- ALighthouse measures various performance metrics, including Time to Interactive and Speed Index.
- BLighthouse generates a single score for UI design only.
- CIt can emulate network throttling and device types during performance evaluation.
- DLighthouse focuses exclusively on performance and ignores accessibility.
- Q30MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which factors directly impact the Lighthouse "Performance" score?
- AFirst Contentful Paint (FCP)
- BTime to Interactive (TTI)
- CLayout Shift
- DHTTPS usage
- Q31MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which factors directly impact the Lighthouse "Performance" score?
- AFirst Contentful Paint (FCP)
- BHTTPS usage
- CTime to Interactive (TTI)
- DLayout Shift
Type 10 · asked 3 times · JS functions, closures & this
Trace output of a closure that captures an outer variable
- Q32MCQ2 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- A5
- B10
- C15
- D20
- Q33MCQ4.5 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓

- A

- B

- C

- D

- A
- Q34MCQ3 Marks·Choose one optionQuiz 1 · 26 Oct 2025 (AN)Key ↓

- Aclicked picture of Dog
- Bclicked picture of Deer
- Cclicked picture of Cat
- Dclicked picture of undefined
Type 11 · asked 3 times · JS functions, closures & this
Trace this inside arrow vs regular methods of nested objects
Type 12 · asked 2 times · Web security, auth & CORS
Choose secure and samesite values so a cookie is HTTPS-only and same-site
- Q38MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- Asecure=False and samesite='Strict'
- Bsecure=True and samesite='None'
- Csecure=True and samesite='Strict'
- Dsecure=False and samesite='Lax'
- Q39MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- Asecure=True and samesite='Strict'
- Bsecure=False and samesite='Strict'
- Csecure=True and samesite='None'
- Dsecure=False and samesite='Lax'
Type 13 · asked 2 times · Celery, queues, webhooks & SSE
Pick the true statement about long polling
- Q40MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓
Which of the following is true regarding long polling?
- ALong polling opens multiple connections between the client and the server, and the server continuously sends updates to the client in real-time.
- BLong polling allows the client to make a single request to the server, where the server holds the connection open until new data is available and then sends the response.
- CLong polling involves the client repeatedly sending requests at fixed intervals to the server to check for updates, regardless of whether new data is available.
- DLong polling uses WebSockets to maintain a persistent, bidirectional connection between the client and the server.
- Q41MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
Which of the following is true regarding long polling?
- ALong polling opens multiple connections between the client and the server, and the server continuously sends updates to the client in real-time.
- BLong polling involves the client repeatedly sending requests at fixed intervals to the server to check for updates, regardless of whether new data is available.
- CLong polling allows the client to make a single request to the server, where the server holds the connection open until new data is available and then sends the response.
- DLong polling uses WebSockets to maintain a persistent, bidirectional connection between the client and the server.
Type 14 · asked 2 times · Vue components, slots & lifecycle
Choose the correct named/scoped slot usage for a child component
Type 15 · asked 2 times · Promises, async/await & event loop
Order output of setTimeout(0) vs Promise.then callbacks
Type 16 · asked 2 times · JS objects, arrays, classes & DOM
Output after deleting a prototype method from an object
- Q46MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- A

- B

- C

- D

- A
- Q47MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- AHello, John TypeError: john.greet is not a function
- BHello, John Hello, undefined
- CTypeError: john.greet is not a function TypeError: john.greet is not a function
- DHello, John Hello, John
Type 17 · asked 2 times · Promises, async/await & event loop
Find the false statement about async and await
- Q48MCQ2 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓
Which of the following statements is false when using the “async” and “await” keywords in JavaScript?
- AThe “await” keyword can only be used inside an async function.
- BThe async functions run synchronously, but their await statements execute asynchronously.
- CThe “await” keyword pauses the execution of the surrounding async function until the promise resolves.
- DThe async functions always return a promise, even if the return value is not a promise.
- Q49MCQ2 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
Which of the following statements is false when using the “async” and “await” keywords in JavaScript?
- AThe “await” keyword can only be used inside an async function.
- BThe “await” keyword pauses the execution of the surrounding async function until the promise resolves.
- CThe async functions always return a promise, even if the return value is not a promise.
- DThe async functions run synchronously, but their await statements execute asynchronously.
Type 18 · asked 2 times · JS functions, closures & this
Output when an object method is called detached from its object (this lost)
Type 19 · asked 2 times · Web security, auth & CORS
Effect of CSP default-src 'self' on an external script
Type 20 · asked 2 times · Vue directives & templates
What v-if/v-else shows after the condition changes
- Q54MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- AThe paragraph with the text “This paragraph is hidden” will be displayed.
- BThe paragraph with the text “This paragraph is visible” will be displayed.
- CBoth paragraphs will be displayed because of the v-if and v-else bindings.
- DNo change will happen, since v-if and v-else do not update the DOM.
- Q55MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- AThe paragraph with the text “This paragraph is visible” will be displayed.
- BThe paragraph with the text “This paragraph is hidden” will be displayed.
- CBoth paragraphs will be displayed because of the v-if and v-else bindings.
- DNo change will happen since v-if and v-else do not update the DOM.
Type 21 · asked 2 times · Web storage, fetch & PWAs
Find the false statement about caching headers and web storage
- Q56MCQ2 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓
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
- Q57MCQ2 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓
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
Type 22 · asked 2 times · Web storage, fetch & PWAs
Final localStorage cart output after page refreshes
Type 23 · asked 2 times · Vue reactivity, computed & watchers
Does a deep watcher fire when a nested property changes
- Q60MCQ4.5 Marks·Choose one optionEnd Term · 22 Dec 2024 (AN)Key ↓

- AThe watcher will be triggered and log "User object changed: { name: 'Bob', age: 30 }".
- BThe watcher will not be triggered because “name” is a nested property of “user” object.
- CThe watcher will be triggered, but it will only log the new “name” value, i.e., “Dev”, and not the entire user object.
- DThe watcher will throw an error because deep watching is not supported on nested objects.
- Q61MCQ3 Marks·Choose one optionEnd Term · 22 Dec 2024 (FN)Key ↓

- AThe watcher will not be triggered because “name” is a nested property of “user” object.
- BThe watcher will be triggered and log "User object changed: { name: 'Bob', age: 30 }".
- CThe watcher will be triggered, but it will only log the new “name” value, i.e., “Dev”, and not the entire user object.
- DThe watcher will throw an error because deep watching is not supported on nested objects.
Type 24 · asked 2 times · Vue Router
Access a dynamic route param (:id) inside a component
Type 25 · asked 2 times · Caching & page performance
Predict cache hits and response timing for a Flask-Caching decorated route
Type 26 · asked 2 times · Celery, queues, webhooks & SSE
What happens when a queue consumer is slower than the producer
- Q66MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
In a message queue system, if the consumer is slower than the producer, what is likely to occur first?
- AMessages will be dropped
- BMessages will accumulate in the queue
- CThe consumer will speed up automatically
- DThe producer will block until the consumer is ready
- Q67MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
In a message queue system, if the consumer is slower than the producer, what is likely to occur first?
- AMessages will be dropped
- BThe producer will block until the consumer is ready
- CMessages will accumulate in the queue
- DThe consumer will speed up automatically
Type 27 · asked 2 times · Vue reactivity, computed & watchers
Meaning of reactivity in Vue.js
- Q68MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
What does "reactivity" mean in the context of frontend frameworks like Vue.js?
- AThe component will reload when data changes
- BAll function calls become asynchronous
- CIt disables direct access to state
- DThe DOM updates automatically when the underlying reactive data changes
- Q69MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓

- AThe component will reload when data changes
- BThe DOM updates automatically when the underlying reactive data changes
- CAll function calls become asynchronous
- DIt disables direct access to state
Type 28 · asked 2 times · Caching & page performance
Main benefit of Flask @cache.cached()
- Q70MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
In Flask, what is the main benefit of using the @cache.cached() decorator?
- AIt stores output in session storage
- BIt enables token authentication
- CIt sends compressed response headers
- DIt skips route execution for repeated inputs
- Q71MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
In Flask, what is the main benefit of using the @cache.cached() decorator?
- AIt stores output in session storage
- BIt skips route execution for repeated inputs
- CIt enables token authentication
- DIt sends compressed response headers
Type 29 · asked 2 times · Web security, auth & CORS
Primary purpose of CORS
- Q72MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
What is the primary purpose of CORS (Cross-Origin Resource Sharing)?
- ATo encrypt data between client and server
- BTo compress HTTP responses
- CTo authenticate users across applications
- DTo control which domains can access resources
- Q73MCQ2 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
What is the primary purpose of CORS (Cross-Origin Resource Sharing)?
- ATo encrypt data between client and server
- BTo control which domains can access resources
- CTo compress HTTP responses
- DTo authenticate users across applications
Type 30 · asked 2 times · Web security, auth & CORS
Practices that protect against supply chain attacks
- Q74MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which of the following practices help protect against supply chain attacks?
- AStoring keys only in environment variables
- BVersion pinning
- CUsing only packages with over 1000 stars on GitHub
- DReduce Dependencies
- Q75MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which of the following practices help protect against supply chain attacks?
- AVersion pinning
- BStoring keys only in environment variables
- CReduce Dependencies
- DUsing only packages with over 1000 stars on GitHub
Type 31 · asked 2 times · Caching & page performance
Factors that affect web page load speed
- Q76MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which of the following factors directly affect the speed and performance of a web page load?
- AThe number of CSS selectors in the stylesheet
- BUse of semantic HTML tags
- CNumber of HTTP requests made
- DFile size of resources (like images, JS)
- Q77MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which of the following factors directly affect the speed and performance of a web page load?
- AThe number of CSS selectors in the stylesheet
- BNumber of HTTP requests made
- CFile size of resources (like images, JS)
- DUse of semantic HTML tags
Type 32 · asked 2 times · Celery, queues, webhooks & SSE
Benefits of using a message broker
- Q78MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Which of the following is/are the potential benefits of using a message broker?
- AA message broker makes the network scalable for adding more servers to the network.
- BA message broker allows two servers in a network to directly communicate with each other, without an intermediary.
- CA message broker is not suited in case of traffic spikes, as messages are retained in the queue until processed.
- DA message broker can be used for batch processing of messages.
- Q79MSQ2 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
Which of the following is/are the potential benefits of using a message broker?
- AA message broker allows two servers in a network to directly communicate with each other, without an intermediary.
- BA message broker makes the network scalable for adding more servers to the network.
- CA message broker can be used for batch processing of messages.
- DA message broker is not suited in case of traffic spikes, as messages are retained in the queue until processed.
Type 33 · asked 2 times · Celery, queues, webhooks & SSE
Are webhooks right for notifying third-party services on an order
- Q80MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
A popular e-commerce platform needs to notify multiple third-party services (inventory management, email marketing, analytics) whenever a customer places an order. The development team is considering different approaches to handle these notifications. Scenario: When an order is placed, the system needs to: ● Update inventory levels in an external warehouse system ● Send a welcome email through a third-party email service ● Log analytics data to an external tracking service ● Update customer loyalty points in a CRM system Which of the following statements about using webhooks for this scenario is MOST accurate?
- AWebhooks are not suitable for this use case because they require the e- commerce platform to continuously poll each third-party service to check if they're ready to receive data, which would create unnecessary network overhead.
- BWebhooks should be avoided in this scenario because they operate synchronously, meaning the customer's order placement would be delayed until all third-party services have successfully processed their notifications.
- CWebhooks provide an ideal solution as they allow the e-commerce platform to push real-time notifications to all subscribed third-party services immediately when an order is placed, eliminating the need for these services to repeatedly poll for updates.
- DWebhooks are primarily designed for read-only operations and cannot handle complex data payloads like order information, making them unsuitable for e-commerce transaction notifications.
- Q81MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
A popular e-commerce platform needs to notify multiple third-party services (inventory management, email marketing, analytics) whenever a customer places an order. The development team is considering different approaches to handle these notifications. Scenario: When an order is placed, the system needs to: ● Update inventory levels in an external warehouse system ● Send a welcome email through a third-party email service ● Log analytics data to an external tracking service ● Update customer loyalty points in a CRM system Which of the following statements about using webhooks for this scenario is MOST accurate?
- AWebhooks are not suitable for this use case because they require the e- commerce platform to continuously poll each third-party service to check if they're ready to receive data, which would create unnecessary network overhead.
- BWebhooks provide an ideal solution as they allow the e-commerce platform to push real-time notifications to all subscribed third-party services immediately when an order is placed, eliminating the need for these services to repeatedly poll for updates.
- CWebhooks should be avoided in this scenario because they operate synchronously, meaning the customer's order placement would be delayed until all third-party services have successfully processed their notifications.
- DWebhooks are primarily designed for read-only operations and cannot handle complex data payloads like order information, making them unsuitable for e-commerce transaction notifications.
Type 34 · asked 2 times · Caching & page performance
Main advantage of caching in a Flask app
- Q82MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (AN)Key ↓
What is the main advantage of using caching in a Flask-based web application?
- AIt eliminates the need for client-side rendering
- BIt reduces server load by reusing responses for repeated requests
- CIt encrypts data transmission between server and client
- DIt avoids the need for database interactions completely
- Q83MCQ3 Marks·Choose one optionEnd Term · 31 Aug 2025 (FN)Key ↓
What is the main advantage of using caching in a Flask-based web application?
- AIt eliminates the need for client-side rendering
- BIt encrypts data transmission between server and client
- CIt avoids the need for database interactions completely
- DIt reduces server load by reusing responses for repeated requests
Type 35 · asked 2 times · JS objects, arrays, classes & DOM
Output of object destructuring with rest and renamed keys
Type 36 · asked 2 times · Vuex state management
True statements about Vuex mutations vs actions
- Q86MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
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
- Q87MSQ3 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (FN)Key ↓
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
Type 37 · asked 2 times · JS objects, arrays, classes & DOM
Trace class inheritance with super and overridden methods
Type 38 · asked 2 times · Vue components, slots & lifecycle
Work out what named and scoped slots render in a parent component
- Q90MCQ4.5 Marks·Choose one optionQuiz 2 · 3 Aug 2025 (AN)Key ↓

- A

- B

- C

- D

- A
- Q91MSQ4.5 Marks·Choose all correct optionsEnd Term · 31 Aug 2025 (AN)Key ↓
Assuming that the root Vue instance has already been created and mounted to div app. Which of the following statements are CORRECT?- AThe header slot will display "Welcome John" when loading is true
- BThe content slot will render 3 list items with "item1 (3 total)", "item2 (3 total)", "item3 (3 total)"
- CThe default slot will display "No data available" from the fallback prop
- DIf we change isLoading: true in data-provider, the header will show "Loading..."
- EChanging v-slot:default to just v-slot in parent-component would break the functionality
Type 39 · asked 2 times · Web storage, fetch & PWAs
Trace localStorage and sessionStorage values after set, get and remove
Official KeyMaster Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
Reveal KeyCollapse Key
Master Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
























































If requests for user IDs 1, 2, 1 are made within 5 minutes, what's the total response time?























