Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Modern Application Development I
Models, databases & SQLAlchemy
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
- Q1MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q2MCQ3 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
Read the passage below, then answer Q3–Q4


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

- B

- C

- D

- A
- Q4MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
End Term · 31 Aug 2025 (AN)End Term
- Q5MCQ2 Marks·Choose one option

- ARiya
- BName stored in database
- CNone
- DError
- Q6MCQ2 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
- Q7MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q8MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q9MSQ3 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.
Read the passage below, then answer Q10–Q11
Q10MSQ4.5 Marks·Choose all correct options
- A

- B

- C

- D

- A
- Q11MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- A
End Term · 13 Apr 2025 (FN)End Term
- Q12MCQ2 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
Read the passage below, then answer Q13–Q14
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.
Q13MCQ2 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
- Q14MCQ2 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 Q15–Q16
Q15MSQ3 Marks·Choose all correct optionsWhich of the following statements is/are True?
- A

- B

- C

- D

- A
- Q16MCQ2 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
End Term · 22 Dec 2024 (FN)End Term
- Q17MCQ2 Marks·Choose one option

- AMany-to-Many
- BOne-to-Many
- COne-to-One
- DThe tables are not at all related
- Q18MCQ2 Marks·Choose one option
Which of the following is a time series database?
- AMongoDB
- BInfluxDB
- CMySQL
- DPostgreSQL
- Q19MSQ2 Marks·Choose all correct options
Which of the following statements is invalid in the context of the primary key?
- AThe primary key can be null
- BThe primary key can be auto-incremented
- CThe primary key allows duplicate values
- DThe primary key can be referenced by foreign keys in other tables.