Quiz Space

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

MAD 1 Quiz 1 19 Jul 2026 — Question 6

Question 6

+3 marksOne correct option

Consider the following Python flask code.

  1. A

    55

  2. B

    52

  3. C

    10

  4. D

    TypeError

Show answer

Correct answer

  • D

    TypeError

Question 6 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.\ Base…
  3. Q3Consider the following HTML and Python flask code. Assume that the Flask app is running at http://127.0.0.1:5000.\ Base…
  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. Q5Consider the following Flask code.\ File name: app.py
  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?