uiz Space

January 2026 term · Modern Application Development I · BSCS2003

Modern Application Development I Quiz 2: 12 April 2026 (January 2026 term)

The IIT Madras BS Modern Application Development I (MAD 1) Quiz 2 paper sat on 12 Apr 2026, in the January 2026 term: 15 questions for 45 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
15
Marks
45
Duration
120 min
MCQ
12
MSQ
3

Updated

Official paper: Modern Application Development I 06 Apr 26 · No negative marking.

Question 1

+2 marksOne correct option

You want to create an app where students can log in and download hall tickets. To make this more efficient, you want to have some very quick way to check whether a given user has already downloaded their hall ticket or not. Which kind of database will you prefer?

  1. A

    RDBMS

  2. B

    Doc-oriented database

  3. C

    Graph database

  4. D

    Key-value store

Show answer

Correct answer

  • D

    Key-value store

Question 2

+2 marksOne correct option

Which of the following enables asynchronous communication between client and server without loading the entire web page?

  1. A

    CGI

  2. B

    FTP

  3. C

    SMTP

  4. D

    AJAX

Show answer

Correct answer

  • D

    AJAX

Question 3

+3 marksOne correct option

Consider the following Flask application.

  1. A
  2. B

    Hello Guest! Your role is member.

  3. C

    Hello Alice! Your role is ADMIN.

  4. D

    Hello ALICE! Your role is admin.

Show answer

Correct answer

  • D

    Hello ALICE! Your role is admin.

Question 4

+3 marksOne correct option

Consider the following Python code.

Which of the following is the correct output of the above code?

  1. A

    56

  2. B

    11

  3. C

    6

  4. D

    30

Show answer

Correct answer

  • B

    11

Question 5

+3 marksOne correct option

A server has a 16-core CPU, 64 GB RAM and 1 Gbps network connection. The server is running a single instance of an app that can generate a maximum of 500 HTML pages per second, each of which results in a 100KB image to be downloaded by the client. What is the maximum number of requests per second that can be handled by this setup?

  1. A

    10,000

  2. B

    1250

  3. C

    1000

  4. D

    500

Show answer

Correct answer

  • D

    500

Question 6

+3 marksOne correct option

A web server is connected to a 5Mbps network line. Each HTTP request contains 4KB of header information and 6KB of payload. What is the maximum number of requests per second the web server can support?(Note: 1KB=1000B, 1MB=1000KB and so on)

  1. A

    500

  2. B

    62

  3. C

    124

  4. D

    31

Show answer

Correct answer

  • B

    62

Question 7

+3 marksOne correct option

Consider the following HTML/CSS code.

What will be the output when the above HTML file is rendered?

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

Correct answer

  • C

Question 8

+3 marksOne correct option

You have a DRAM module with bus width of 64 bits, clock speed of 1 GHz, and operating in DDR (double-data-rate or two values per clock cycle) mode. What is the maximum bandwidth (in Giga-bytes per second) of data transfer achievable with this module?

  1. A

    8 GigaBytes/s

  2. B

    16 GigaBytes/s

  3. C

    24 GigaBytes/s

  4. D

    None of these

Show answer

Correct answer

  • B

    16 GigaBytes/s

Question 9

+2 marksOne or more correct options

Which of the following flask routes can take dynamic value in the URL like “/user/55”?

Select all that apply.

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

Correct answers

  • B
  • C
Show answer

Question 11

+4 marksOne correct option

Consider the following HTML and Python Flask code.

  1. A

    Output is: 3

  2. B

    Output is:

  3. C

    Output is: 1 2 3

  4. D

    Output is: 1 2 3 3

Show answer

Correct answer

  • B

    Output is:

Question 12

+4 marksOne correct option

Consider the following HTML code.

What will be the output in the console window when the above HTML doc is rendered on the browser ?

  1. A

    1

  2. B

    2

  3. C

    3

  4. D

    4

Show answer

Correct answer

  • C

    3

Show answer

Correct answers

Question 14

+3 marksOne correct option

Consider the following SQLAlchemy class models.

Based on the above data, answer the given subquestions.

Which of the following relationships exists between the “User” and “Profile” models?

  1. A

    Many-to-Many

  2. B

    Many-to-One

  3. C

    One-to-Many

  4. D

    One-to-One

Show answer

Correct answer

  • D

    One-to-One

Question 15

+3 marksOne correct option

Consider the following SQLAlchemy class models.

Based on the above data, answer the given subquestions.

What will be the output if the following commands are executed in the python shell.

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

Correct answer

  • C