Quiz Space

MAD 2 Quiz 2: 3 August 2025 (May 2025 term)

Question 1

+2 marksOne correct option

Suppose a client wants to make a POST request using the Fetch API to a public endpoint at /api/submit, which includes sending a data object as JSON in the request body.

javascript
const data = {
name: "Aditya",
score: 95,
};
fetch("/api/submit", {
method: "POST",
headers: {
// CODE
},
body: JSON.stringify(data),
});

Which headers are necessary for this request to succeed, (inside CODE)?

  1. A
  2. B
  3. C
  4. D

Question 2

+2 marksOne or more correct options

Which of the following statements are true?

Select all that apply.

  1. A
  2. B
  3. C
  4. D

Question 3

+2 marksOne or more correct options

Which of the following statement(s) about Web Storage APIs is/are correct?

Select all that apply.

  1. A
  2. B
  3. C
  4. D

13 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 Quiz 2 3 Aug 2025 paper

The IIT Madras BS Modern Application Development II (MAD 2) Quiz 2 paper sat on 3 Aug 2025, in the May 2025 term: 16 questions for 50 marks in 120 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 Quiz 2 3 Aug 2025 at a glance
TermMay 2025 term
SubjectModern Application Development II
Course codeBSCS2006
Questions16
Marks50
Duration120 min
MCQ11
MSQ5
Official paperIIT M DIPLOMA AN EXAM QDD2 03 Aug 2025
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More MAD 2