Question 2
Consider the following Python code snippet.
from jinja2 import Template
newlist = ['apple', 'banana', 'cherry', 'date', 'elderberry', 'fig']
this_template = """ {% for item in data %} {% if item|length<6 %} {{ item }} {% endif %} {% endfor %} """
out = Template(this_template)
print(out.render(data=newlist))What will be the output on the terminal?
Question 3
29 more questions in this paper
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
More on the MAD 1 End Term 13 Apr 2025 Set QDD1 paper
The IIT Madras BS Modern Application Development I (MAD 1) End Term paper sat on 13 Apr 2025, in the January 2025 term, set QDD1: 32 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | MAD 1 End Term 13 Apr 2025 Set QDD1 at a glance |
|---|---|
| Term | January 2025 term |
| Subject | Modern Application Development I |
| Course code | BSCS2003 |
| Questions | 32 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 26 |
| MSQ | 6 |
| Official paper | IIT M DIPLOMA AN EXAM QDD3 13 Apr 2025 |
| Negative marking | No negative marking. |
| Updated |