Quiz Space

MAD 2 End Term: 13 September 2026, Set 1 (May 2026 term)

Question 1

+2 marksOne correct option
  1. A

    The header stores the encrypted password used to generate the signature.

  2. B

    The signature is generated using the encoded header, encoded payload, and a secret key. If the header is modified, the signature verification fails.

  3. C

    The signature only protects the payload section; changes to the header do not affect token validation.

  4. D

    The header contains the final signature hash generated after token creation.

Question 2

+4.5 marksOne correct option

A news platform wants to send a morning digest email to all subscribers every day at 7 AM. Sweta sets up the beat schedule, starts Redis and Celery Beat, and then claims: "The Worker is optional here. Beat handles the scheduling and the execution of the task, so we do not need a separate Worker process."
Is Sweta's claim correct? Choose the best answer.

  1. A
  2. B

    No. Celery Beat is only a scheduler. At 7 AM, it pushes a task message into the Redis broker and stops there. Without a running Celery Worker to pick up that message, the digest email is never actually sent.

  3. C
  4. D

Question 3

+4.5 marksOne correct option

A startup is building a food delivery app. The customer-facing screen shows live order status updates: "Order Placed → Preparing → Out for Delivery → Delivered".
Each stage is triggered by the restaurant or the delivery rider updating the status on their end. The customer's screen should reflect these changes in real time without refreshing the page.
Two developers debate about the right technology: Developer A says: "Let's use Server-Sent Events. It's the right fit here." Developer B says: "No, we must use WebSockets. SSE won't work."
Who is correct, and why?

  1. A

    Developer B is correct. SSE cannot transmit JSON data, so structured order status objects cannot be pushed to the browser.

  2. B

    Developer B is correct. SSE connections do not reconnect automatically when the network is briefly interrupted, making it unreliable for a live tracker.

  3. C

    Developer A is correct. The tracker only requires the server to push status updates to the customer, without the customer sending data back through the same connection. SSE is purpose-built for exactly this one-way server-to-client push scenario.

  4. D

    Developer A is correct, but only if WebSockets are set up as a mandatory fallback, since SSE requires HTTP/2 to function.

Also asked in End Term 13 Sept 2026

27 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 Sept 2026 Set 1 paper

The IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 13 Sept 2026, in the May 2026 term, set 1: 30 questions for 95.5 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 Sept 2026 Set 1 at a glance
TermMay 2026 term
SubjectModern Application Development II
Course codeBSCS2006
Questions30
Marks95.5
Duration180 min
MCQ19
MSQ11
Official paperModern Application Development Ii 13 Sep 26 (Session 2)
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More MAD 2