Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development I
REST APIs with Flask-RESTful
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
- Q1MCQ2 Marks·Choose one option
You're designing an API to update a user's profile picture but your database has 4 records in a row, profile picture is one of them. Which HTTP method is most appropriate?
- APOST
- BPATCH
- CPUT
- DDELETE
- Q2MSQ2 Marks·Choose all correct options
Which statements about REST API design are correct?
- APUT requests should be idempotent
- BGET requests can have request bodies for complex queries
- CPATCH is used for partial updates
- DDELETE must return the deleted resource
End Term · 31 Aug 2025 (AN)End Term
- Q3MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q4–Q5

Based on the above data, answer the given subquestions.
Q4MCQ4.5 Marks·Choose one option
- A

- B

- C

- D

- A
- Q5MCQ3 Marks·Choose one option

- ARequest 1: 400, Request 2: 201, Request 3: 204
- BRequest 1: 201, Request 2: 201, Request 3: 204
- CRequest 1: 400, Request 2: 405, Request 3: 204
- DRequest 1: 201, Request 2: 405, Request 3: 200
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q6MSQ3 Marks·Choose all correct options
Which of the following statements is/are false about caching in REST APIs?
- ACaching allows storing server responses in a proxy or frontend so that a client need not make requests to the server for the same resources repeatedly.
- BCaching degrades the overall quality of service and increases load on the servers.
- CBrowsers treat all GET and POST requests cacheable by default.
- DCaching optimizes the network by increasing the latency.
- Q7MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
End Term · 13 Apr 2025 (FN)End Term
- Q8MCQ3 Marks·Choose one option

- AOnly 3
- BOnly 3 and 4
- COnly 5 and 6
- DOnly 3, 4, 5 and 6
- Q9MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- A
End Term · 22 Dec 2024 (FN)End Term
Read the passage below, then answer Q10–Q11
Q10MCQ4.5 Marks·Choose one option
- A

- B

- C

- D

- A
- Q11MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q12–Q13
Use the Python code given below for answering the subquestions:
Q12MCQ4.5 Marks·Choose one option
- A

- B

- C

- D

- A
- Q13MCQ3 Marks·Choose one option

- A201
- B404
- C500
- DNone of these