Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development I
End Term · 31 Aug 2025 (Forenoon)
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.
- 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
- Q2MCQ2 Marks·Choose one option
What is the correct sequence of operations when receiving a form in Flask?
- AValidate → Render → Access → Store
- BAccess → Store → Validate → Render
- CAccess → Validate → Store → Redirect
- DPOST → GET → Redirect → Validate
- Q3MCQ2 Marks·Choose one option
Consider the following statements and choose the correct option Statement 1: It is mandatory to implement server-side validations and client-side validations. Statement 2: Server-side validations can be implemented using HTML5.
- AStatement 1 is false, while statement 2 is true
- BStatement 1 is true, while statement 2 is false
- CBoth statements are false
- DBoth statements are true
- Q4MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q5MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q6MCQ3 Marks·Choose one option

- AThere is no return statement inside the function
- BThe form is missing CSRF protection
- CThe Flask route does not allow POST method
- DThe route should have a trailing slash
- Q7MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q8MCQ3 Marks·Choose one option
A user downloads a 10 MB file from a server with 5 Mbps speed. How long does it approximately take?
- A2 seconds
- B10 seconds
- C16 seconds
- D1.6 seconds
- Q9MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q10MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q11MCQ3 Marks·Choose one option

- AColor: green, Font-size: 20px
- BColor: orange, Font-size: 14px
- CColor: purple, Font-size: 20px
- DColor: purple, Font-size: 14px
- Q12MCQ3 Marks·Choose one option

- A1-c, 2-a, 3-d, 4-b
- B1-d, 2-c, 3-a, 4-b
- C1-c, 2-d, 3-b, 4-a
- D1-c, 2-d, 3-a, 4-b
- Q13MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q14MCQ3 Marks·Choose one option

- ABlue
- BRed
- CGreen
- DBlack
- Q15MCQ3 Marks·Choose one option

- A1-a, 2- c, 3-b, 4-d, 5-e
- B1-b, 2- c, 3-a, 4-e, 5-d
- C1-e, 2- d, 3-b, 4-a, 5-c
- D1-e, 2- d, 3-c, 4-a, 5-b
- Q16MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q17MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q18MCQ4.5 Marks·Choose one option

- AAll routes will work correctly as Flask will automatically search in both templates/ and custom_templates/ folders
- BThe / and /dashboard routes will fail with TemplateNotFound error, while /admin and /profile routes will work correctly
- COnly the /admin and /profile routes will work correctly, while / and /dashboard routes will fail with TemplateNotFound error
- DAll routes will fail because Flask requires the template folder to be named exactly templates
- Q19MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q20MSQ2 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
- Q21MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q22MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q23MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q24MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q25MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q26–Q27

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

- B

- C

- D

- A
- Q27MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q28–Q29


Based on the above data, answer the given subquestions.
Q28MCQ4.5 Marks·Choose one optionWhich of the following statements about the database schema and model relationships is correct?
- A

- B

- C

- D

- A
- Q29MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q30–Q32
Q30MCQ3 Marks·Choose one option
- AAlex scored 0 and received grade F
- BInvalid marks for Alex
- CAlex scored eighty and received grade F
- DError 500: Internal Server Error
- Q31MCQ2 Marks·Choose one option

- AGuest scored 88 and received grade A
- BGuest scored 88 and received grade B
- CGuest scored 0 and received grade F
- DInvalid marks for Guest
- Q32MCQ2 Marks·Choose one option

- AAnya scored 59.5 and received grade F
- BAnya scored 0 and received grade F
- CInvalid marks for Anya
- DAnya scored 59 and received grade F