uiz Space

May 2025 term · Deep Learning · BSCS3004

Deep Learning Quiz 1: 13 July 2025 (May 2025 term)

The IIT Madras BS Deep Learning (Deep Learning) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term: 14 questions for 50 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
14
Marks
50
Duration
120 min
MCQ
2
MSQ
2
Numerical
10

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 13 July 2025 · No negative marking.

Question 1

+4 marksOne correct option
  1. A

    True

  2. B

    False

  3. C

    Insufficient data to arrive at a conclusion

Show answer

Correct answer

  • A

    True

Question 2

+4 marksOne correct option

Which of the following is true?

  1. A

    a > b

  2. B

    a < b

  3. C

    a = b

Show answer

Correct answer

  • A

    a > b

Question 3

+4 marksOne or more correct options

Select all that apply.

  1. A

    D2 is linearly separable

  2. B

    The perceptron learning algorithm will converge on D2

  3. C

    D1 is linearly separable

  4. D

    The perceptron learning algorithm will converge on D1

Show answer

Correct answers

  • A

    D2 is linearly separable

  • B

    The perceptron learning algorithm will converge on D2

Question 4

+2 marksNumerical answer
Show answer

Correct answer: 1024

Question 5

+2 marksNumerical answer

To learn the parameters of a neural network for a classification problem, mini-batch gradient descent is run on a dataset of size 1000 with batch size of 25 for 10 epochs. Find the number of times each parameter is updated.

Show answer

Correct answer: 400

Question 6

+2 marksOne or more correct options

Let h:{0,1}5→{0,1}h : \{0,1\}^5 \to \{0,1\} be a Boolean function. Consider an MP neuron with five binary inputs, all of which are excitatory. The output of the neuron is given as follows:

f(x1,⋯ ,x5)={1,x1+⋯+x5⩾θ0,otherwisef(x_1, \cdots, x_5) = \begin{cases} 1, & x_1 + \cdots + x_5 \geqslant \theta \\ 0, & \text{otherwise} \end{cases}

θ\theta is a positive integer. f(x1,⋯ ,x5)=h(x1,⋯ ,x5)f(x_1, \cdots, x_5) = h(x_1, \cdots, x_5) for all tuples (x1,⋯ ,x5)∈{0,1}5(x_1, \cdots, x_5) \in \{0,1\}^5.

The given sub-questions are independent of each other.

Based on the above data, answer the given subquestions.

If θ = 1, which of the following are true?

Select all that apply.

  1. A

    h is the OR function

  2. B

    h is a linearly separable Boolean function

  3. C

    h is the AND function

  4. D

    h is neither OR nor AND

  5. E

    h is not a linearly separable Boolean function

Show answer

Correct answers

  • A

    h is the OR function

  • B

    h is a linearly separable Boolean function

Question 7

+2 marksNumerical answer

Let h:{0,1}5→{0,1}h : \{0,1\}^5 \to \{0,1\} be a Boolean function. Consider an MP neuron with five binary inputs, all of which are excitatory. The output of the neuron is given as follows:

f(x1,⋯ ,x5)={1,x1+⋯+x5⩾θ0,otherwisef(x_1, \cdots, x_5) = \begin{cases} 1, & x_1 + \cdots + x_5 \geqslant \theta \\ 0, & \text{otherwise} \end{cases}

θ\theta is a positive integer. f(x1,⋯ ,x5)=h(x1,⋯ ,x5)f(x_1, \cdots, x_5) = h(x_1, \cdots, x_5) for all tuples (x1,⋯ ,x5)∈{0,1}5(x_1, \cdots, x_5) \in \{0,1\}^5.

The given sub-questions are independent of each other.

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 4

Question 8

+4 marksNumerical answer

Let h:{0,1}5→{0,1}h : \{0,1\}^5 \to \{0,1\} be a Boolean function. Consider an MP neuron with five binary inputs, all of which are excitatory. The output of the neuron is given as follows:

f(x1,⋯ ,x5)={1,x1+⋯+x5⩾θ0,otherwisef(x_1, \cdots, x_5) = \begin{cases} 1, & x_1 + \cdots + x_5 \geqslant \theta \\ 0, & \text{otherwise} \end{cases}

θ\theta is a positive integer. f(x1,⋯ ,x5)=h(x1,⋯ ,x5)f(x_1, \cdots, x_5) = h(x_1, \cdots, x_5) for all tuples (x1,⋯ ,x5)∈{0,1}5(x_1, \cdots, x_5) \in \{0,1\}^5.

The given sub-questions are independent of each other.

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 3

Question 9

+4 marksNumerical answer

Consider a neural network for a regression problem with one input and one output. There is one hidden layer with two sigmoid neurons. The output layer is linear. Ignore biases in all units.

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1

Question 10

+4 marksNumerical answer

Consider a neural network for a regression problem with one input and one output. There is one hidden layer with two sigmoid neurons. The output layer is linear. Ignore biases in all units.

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1.5

Question 11

+4 marksNumerical answer

Based on the above data, answer the given subquestions.

Find the number of weights in the network.

Show answer

Correct answer: 350

Question 12

+4 marksNumerical answer

Based on the above data, answer the given subquestions.

If all the weights in the network have the same value, find the cross entropy loss for an arbitrary data-point. If this can be computed, enter the value of the loss correct to two places after the decimal. If the information provided is not sufficient to compute the loss, enter −1 as the answer.

Show answer

Correct answer: 1.61 (accepted within ±0.02)

Question 13

+4 marksNumerical answer

Based on the above data, answer the given subquestions.

Starting at (x0,y0)(x_0, y_0), run two steps of gradient descent with learning rate η=0.2\eta = 0.2 to obtain (x2,y2)(x_2, y_2). If (x2,y2)=α⋅(x0,y0)(x_2, y_2) = \alpha \cdot (x_0, y_0), enter the value of α\alpha correct to two places after the decimal. Note that tne sequence of iterates will be: (x0,y0)→(x1,y1)→(x2,y2)(x_0, y_0) \to (x_1, y_1) \to (x_2, y_2).

Show answer

Correct answer: 0.36 (accepted within ±0.01)

Question 14

+6 marksNumerical answer

Based on the above data, answer the given subquestions.

Starting at (x0,y0)(x_0, y_0), we now turn to momentum based gradient descent. The momentum updates are given below. Starting with u−1=(0,0)u_{-1} = (0,0) and η=0.2\eta = 0.2, we have:

ut=βut−1+∇f(x,y)∣(xt,yt)(xt+1,yt+1)=(xt,yt)−ηut\begin{aligned} u_t &= \beta u_{t-1} + \nabla f(x, y)\Big|_{(x_t, y_t)} \\ (x_{t+1}, y_{t+1}) &= (x_t, y_t) - \eta u_t \end{aligned}

What should be the momentum parameter β\beta so that running two steps of momentum based gradient descent takes us to the global minimum? Note that the sequence of iterates will be: (x0,y0)→(x1,y1)→(x2,y2)(x_0, y_0) \to (x_1, y_1) \to (x_2, y_2), where (x2,y2)(x_2, y_2) is the global minimum of ff. Enter your answer correct to two places after the decimal.

Show answer

Correct answer: 0.9 (accepted within ±0.01)