Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development I
All 2025 papers
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.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
Quiz 1 · 26 Oct 2025 (AN)Quiz 1
- Q1MCQ2 Marks·Choose one option
Which of the following is the correct syntax to display the total number of courses in a Jinja2 template?
- A

- B

- C

- D

- A
- Q2MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q3MCQ3 Marks·Choose one option

- AStatement 1 is correct, but statement 2 is incorrect.
- BStatement 2 is correct, but statement 1 is incorrect.
- CBoth statements 1 and 2 are correct
- DBoth statements 1 and 2 are incorrect
- Q4MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q5MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q6MCQ3 Marks·Choose one option

- A1 → B, 2 → C, 3 → D, 4 → A
- B1 → A, 2 → B, 3 → C, 4 → D
- C1 → B, 2 → D, 3 → C, 4 → A
- D1 → C, 2 → D, 3 → A, 4 → B
- Q7MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q8MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q9MCQ4.5 Marks·Choose one option

- A200 px
- B230 px
- C240 px
- D250 px
- Q10MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q11MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q12MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q13–Q14

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

- B

- C

- D

- A
- Q14MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q15–Q16

Based on the above data, answer the given subquestions.
Q15MCQ4.5 Marks·Choose one optionFrom the given options, select which part of the code (if any) will throw an error first in the terminal and prevent the Flask application from running successfully ?
- A

- B

- C

- D

- A
- Q16MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (FN)End Term
- Q17MCQ2 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
- Q18MCQ2 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
- Q19MCQ2 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
- Q20MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q21MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q22MCQ3 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
- Q23MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q24MCQ3 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
- Q25MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q26MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q27MCQ3 Marks·Choose one option

- AColor: green, Font-size: 20px
- BColor: orange, Font-size: 14px
- CColor: purple, Font-size: 20px
- DColor: purple, Font-size: 14px
- Q28MCQ3 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
- Q29MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q30MCQ3 Marks·Choose one option

- ABlue
- BRed
- CGreen
- DBlack
- Q31MCQ3 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
- Q32MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q33MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q34MCQ4.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
- Q35MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q36MSQ2 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
- Q37MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q38MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q39MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

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

- A

- B

- C

- D

- E

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

- A

- B

- C

- D

- A
Read the passage below, then answer Q42–Q43

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

- B

- C

- D

- A
- Q43MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q44–Q45


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

- B

- C

- D

- A
- Q45MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Read the passage below, then answer Q46–Q48
Q46MCQ3 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
- Q47MCQ2 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
- Q48MCQ2 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
End Term · 31 Aug 2025 (AN)End Term
- Q49MCQ2 Marks·Choose one option

- ARiya
- BName stored in database
- CNone
- DError
- Q50MCQ2 Marks·Choose one option
What does SQLAlchemy's lazy='dynamic' do?
- ALoads extra content of all the tables
- BReturns a query object that can be filtered
- CLoads all related records immediately
- DForces join queries at once
- Q51MCQ2 Marks·Choose one option
Why is using the GET method for sensitive data discouraged?
- AGET encrypts the URL
- BData becomes part of browser history and URL
- CIt uses a separate request header
- DFlask doesn’t support GET by default
- Q52MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q53MCQ2 Marks·Choose one option
A login form doesn't show any message when users enter wrong credentials. Which Nielsen heuristic is violated?
- AAesthetic and minimalist design
- BVisibility of system status
- CError prevention
- DRecognition rather than recall
- Q54MSQ2 Marks·Choose all correct options
Which of the following are handled by the browser and not the Flask server?
- AParsing HTML
- BAuto-filling saved form data
- CURL routing
- DJavaScript execution
- Q55MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q56MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q57MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q58MCQ3 Marks·Choose one option

- AResult: 20
- BResult: 1
- CResult: 5
- DResult: 4
- Q59MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q60MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q61MCQ3 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
- Q62MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q63MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q64MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q65MCQ3 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-c, 4-a, 5-b
- D1-e, 2- d, 3-b, 4-a, 5-c
- Q66MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q67MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q68MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q69MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q70MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q71MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

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

- A

- B

- C

- D

- E

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

- A

- B

- C

- D

- A
Read the passage below, then answer Q74–Q75

Based on the above data, answer the given subquestions.
Q74MSQ4.5 Marks·Choose all correct options
- A

- B

- C

- D

- E

- A
- Q75MSQ3 Marks·Choose all correct options
Analyze the following URLs and their expected behaviors. Which statement is CORRECT?
- A

- B

- C

- D

- E

- A
Read the passage below, then answer Q76–Q77

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

- B

- C

- D

- A
- Q77MCQ3 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
Read the passage below, then answer Q78–Q80
Q78MCQ3 Marks·Choose one option
- AAlex scored 0 and received grade F.
- BAlex scored eighty and received grade F
- CError 500: Internal Server Error
- DInvalid marks for Alex
- Q79MCQ2 Marks·Choose one option

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

- AAnya scored 59.5 and received grade F
- BInvalid marks for Anya
- CAnya scored 0 and received grade F
- DAnya scored 59 and received grade F
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q81MCQ2 Marks·Choose one option
You manage a datacenter where each server has a 10 Gigabit per second network connection and the facility’s backbone link is also 10 Gbps. Your application is handling 10,000 requests per second, each with a 50 KB response, which translates to about 4 Gbps of required throughput. So, if each request involves minimal CPU processing, and the existing server has sufficient resources to handle the load. Which of the following scaling strategies is most appropriate to meet this demand?
- AScale up on a single server
- BScale out to multiple servers in the datacenter
- CBoth will produce similar results
- DNone of these
- Q82MCQ2 Marks·Choose one option
Which of the following statements BEST describes a key advantage of Jinja2 server-side rendering over JavaScript/JSON-based client-side rendering?
- AIt guarantees that dynamic updates on user interactions never require additional data fetches.
- BIt provides faster initial page load and improved Search Engine Optimization without requiring client-side template logic.
- CIt allows the client to handle all template rendering, reducing load on the server.
- DNone of these
- Q83MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q84MCQ2 Marks·Choose one option
What is the right syntax to use an external JavaScript file(.js) into the current html file?
- A

- B

- C

- D

- A
- Q85MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q86MCQ3 Marks·Choose one option

- A10
- B9
- C3
- D4
- Q87MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q88MCQ3 Marks·Choose one option

- AYou are authorized!!
- BYou are unauthorized!!
- CNot Found
- DInternal Server Error
- Q89MCQ4.5 Marks·Choose one option

- AGreet4
- BGreet3
- CGreet2
- DGreet1
- Q90MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q91MSQ3 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.
- Q92MSQ3 Marks·Choose all correct options
Which of the following is/are correct with respect to storing data in graphs?
- AData on social networks can be stored with the help of graphs.
- BGraphs support storing attributes such as node degree, edge weights ,and other metadata.
- CData is stored as a key-value pair.
- DIn graphs, path finding is not as important as just searching the data.
- Q93MSQ4.5 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q94NAT3 Marks·Write the number
Your answer: Read the passage below, then answer Q95–Q96
Q95MSQ4.5 Marks·Choose all correct options
- A

- B

- C

- D

- A
- Q96MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

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

- A

- B

- C

- D

- A
- Q98MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q99MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q100MCQ2 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
- Q101MCQ3 Marks·Choose one option

- APerceivable
- BOperable
- CUnderstandable
- DRobust
- Q102MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q103MCQ3 Marks·Choose one option

- A1- b, 2 - a, 3- d, 4 - c
- B1- c, 2 - d, 3- d, 4 - b
- C1- c, 2 - a, 3- d, 4 - b
- D1- a, 2 - c, 3- b, 4 - d
- Q104MCQ3 Marks·Choose one option
A Server S needs to retrieve data from two datacenters D1 and D2 located at 1500 kilometres and 3000 kilometres respectively. Server S and D1 are connected via medium M1 through which information can be transferred with the speed of 1.5×10^8 m/sec, and server S and D2 are connected via medium M2. If the server received data from both the data centres at the same time, what must be the speed of information transfer in medium M2(overheads should be ignored)? (Concept: Performance parameters of a network)
- A

- B

- C

- D

- A
- Q105MCQ3 Marks·Choose one option

- A3000
- B6000
- C9000
- D12000
- Q106MCQ3 Marks·Choose one option

- A64.8
- B18
- C5.4
- D22.5
- Q107MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q108MCQ3 Marks·Choose one option

- AOnly 3
- BOnly 3 and 4
- COnly 5 and 6
- DOnly 3, 4, 5 and 6
- Q109MCQ3 Marks·Choose one option

- AGET
- BPOST
- CPUT
- DDELETE
- Q110MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q111MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q112MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q113MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q114MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q115MCQ4.5 Marks·Choose one option

- A

- B

- C

- D

- A
- Q116MCQ4.5 Marks·Choose one option

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

- A

- B

- C

- D

- A
- Q118MSQ3 Marks·Choose all correct options
Which of the following statements about networking concepts (TCP, UDP, Proxy, Peer-to-Peer, Broadcast, Unicast, Multicast) are correct?
- ATCP is a connection-oriented protocol that ensures reliable data delivery.
- BUDP is a connectionless protocol that is faster but less reliable than TCP.
- CProxy servers facilitate direct peer-to-peer connections between devices.
- DBroadcast sends a message to all devices in the network.
- EUnicast is a one-to-many communication model.
- Q119MSQ3 Marks·Choose all correct options

- AThe signup page is dynamically generated.
- BThe signup page uses server-side rendering.
- CThe signup page uses frontend validation.
- DThe signup page uses backend validation.
- Q120MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

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

- A

- B

- C

- D

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

- A

- B

- C

- D

- E

- A
Read the passage below, then answer Q123–Q124

Based on the above data, answer the given subquestions.
Q123MCQ2 Marks·Choose one option
- AStudents Score: 120
- Bstudents Score : 120
- CTeam not found
- DScore: students
- Q124MCQ4.5 Marks·Choose one option

- ADr.Prashant (Instructors) Scored: 40
- BDr.Prashant (Instructors) Scored: Player not found
- CPlayer not found
- DInternal Server Error
Read the passage below, then answer Q125–Q126
A college counseling system is designed to store and retrieve student records efficiently. The system uses different types of storage based on latency, throughput, and density. During peak counseling sessions, thousands of students access their academic records, appointment schedules, and previous counseling notes. The system needs to optimize storage selection for different types of data:
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage) 3. Temporary session data that needs to be quickly read and updated during counseling sessions Based on the above data, answer the given subquestions.
Q125MCQ2 Marks·Choose one optionWhich of the following storage types should be used for storing frequently accessed small student records that need low latency and high-speed access?
- AHard Disk Drive (HDD)
- BSolid State Drive (SSD)
- CStatic RAM (SRAM)
- DRegisters
- Q126MCQ2 Marks·Choose one option
The college wants to store archived counseling records from past students for future reference. These records are rarely accessed, but cost efficiency and storage density are important. Which storage type is best suited?
- ARegisters
- BSRAM
- CDRAM
- DHard Disk Drive (HDD)
Read the passage below, then answer Q127–Q128
Q127MSQ3 Marks·Choose all correct optionsWhich of the following statements is/are True?
- A

- B

- C

- D

- A
- Q128MCQ2 Marks·Choose one option
Which of the following is the correct way of adding records into the ‘student’ and the ‘test_marks’ tables?
- A

- B

- C

- D

- A
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.