Quiz Space

Modern Application Development I · Quiz 1 · 19 Jul 2026 · May 2026 term · Set 1-2

MAD 1 Quiz 1 19 Jul 2026 — Question 5

Question 5

+3 marksOne correct option

Consider the following Flask code.
File name: app.py

  1. A

    Result: 42

  2. B

    Result: 13

  3. C

    Result: 7

  4. D

    Result: 12

Show answer

Correct answer

  • A

    Result: 42

Question 5 of 13 in the IIT Madras BS Modern Application Development I (MAD 1) Quiz 1 paper sat on 19 Jul 2026, in the May 2026 term (Modern Application Development I 16 Jul 26). It carries 3 marks.

More questions from this paper

  1. Q1Which of the following pairs correctly identifies one block-level element and one inline element?
  2. Q2Consider the following HTML and Python flask code. Assume that the Flask app is running at http://127.0.0.1:5000. Based…
  3. Q3Consider the following HTML and Python flask code. Assume that the Flask app is running at http://127.0.0.1:5000. Based…
  4. Q4A web server has an outgoing bandwidth of 6 Gbps, and each client requires 2 Mbps. What is the maximum number of concur…
  5. Q6Consider the following Python flask code.
  6. Q7Consider the following Python code.
  7. Q8Consider the following Python flask code.
  8. Q9Consider the following Python Flask code.
  9. Q10Consider the following Python Jinja2 template code.
  10. Q11Suppose a client machine C is communicating with a data center D located 12,500 km away from C. Assume that the TCP con…
  11. Q12Suppose you have a document which contains only lower case alphabets. How many bits are required to encode a character …
  12. Q13Consider the following Python code. Which of the following students is classified as "Pass" by the template?