Quiz Space

MAD 1 Quiz 1: 16 October 2022 (September 2022 term)

Question 1

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D

Question 2

+2 marksOne correct option
  1. A
  2. B
  3. C
  4. D

Question 3

+2 marksOne correct option

Consider the following Python code snippet.

python
from jinja2 import Template
temp = """{% for num in seq|reject("even") %}
{{ num+2 }}
{% endfor %}
"""
seq = [6,5,71,13,30,22]
output = Template(temp)
print(output.render(seq = seq))

What will be the output if the given code is executed?

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

14 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 Quiz 1 16 Oct 2022 paper

The IIT Madras BS Modern Application Development I (MAD 1) Quiz 1 paper sat on 16 Oct 2022, in the September 2022 term: 17 questions for 50 marks in 120 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.

FeatureMAD 1 Quiz 1 16 Oct 2022 at a glance
TermSeptember 2022 term
SubjectModern Application Development I
Course codeBSCS2003
Questions17
Marks50
Duration120 min
MCQ13
MSQ3
Numerical1
Official paperIIT M QUIZ 1 FOUNDATION DAD DIPLOMA QPD2 16 Oct 2022
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More MAD 1