uiz Space

September 2025 term · Deep Learning · BSCS3004

Deep Learning End Term: 21 December 2025 (September 2025 term)

The IIT Madras BS Deep Learning (Deep Learning) End Term paper sat on 21 Dec 2025, in the September 2025 term: 32 questions for 79 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
32
Marks
79
Duration
180 min
MCQ
10
MSQ
6
Numerical
16

Updated

Official paper: Deep Learning 18 Dec 25 · No negative marking.

Question 1

+3 marksOne correct option

What is a co-occurrence matrix in the context of Natural Language Processing?

  1. A

    A matrix representing similarity scores between documents

  2. B

    A matrix where rows and columns represent words, and each cell indicates how frequently two words appear together in a context

  3. C

    A matrix that stores only the most frequent word in each document

  4. D

    A neural network used to compute word embeddings directly

Show answer

Correct answer

  • B

    A matrix where rows and columns represent words, and each cell indicates how frequently two words appear together in a context

Question 2

+2 marksOne correct option

What is the primary advantage of word embeddings compared to one-hot encoding?

  1. A

    Simpler implementation

  2. B

    Captures semantic relationships

  3. C

    They automatically correct spelling errors

  4. D

    Word embeddings are sparser than one-hot encoding

Show answer

Correct answer

  • B

    Captures semantic relationships

Question 3

+3 marksOne correct option

Which of the following is not true about multi-head cross attention?

  1. A

    Keys and values are taken from the encoder outputs

  2. B

    Queries come from the decoder outputs

  3. C

    All heads attend to identical features due to shared projection matrices

  4. D

    Each head learns to attend to different representation subspaces

Show answer

Correct answer

  • C

    All heads attend to identical features due to shared projection matrices

Question 4

+2 marksOne correct option

What is the primary advantage of Transformer encoders over RNN encoders for long sequences?

  1. A

    Lower memory usage

  2. B

    Parallelization during training

  3. C

    Smaller model size

  4. D

    Simpler architecture

Show answer

Correct answer

  • B

    Parallelization during training

Question 5

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

    0

  4. D
  5. E

    Indeterminate

Show answer

Correct answer

  • C

    0

Question 6

+3 marksOne or more correct options

Select all that apply.

  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
Show answer

Correct answers

  • B
  • E

Question 7

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

    Cannot be determined

Show answer

Correct answer

  • C

Question 8

+2 marksOne or more correct options

Which of the following optimizers use momentum (or momentum-like mechanisms) in updating gradients?

Select all that apply.

  1. A

    NAG

  2. B

    AdaGrad

  3. C

    RMSProp

  4. D

    AdaDelta

  5. E

    ADAM

Show answer

Correct answers

  • A

    NAG

  • E

    ADAM

Question 9

+3 marksOne correct option

Regarding the specific gating mechanisms used to control information flow and gradients in LSTMs and GRUs, which statement is correct?

  1. A

    GRUs use a three-gate architecture (Input, Forget, Output) similar to LSTMs but remove the cell state

  2. B

    LSTMs couple the input and forget gates into a single 'update' gate, whereas GRUs keep them separate.

  3. C

    GRUs simplify the architecture by combining the forget and input gates into a single 'update' gate and merging the cell state and hidden state.

  4. D

    Both LSTMs and GRUs require a separate 'reset' gate to handle the exploding gradient problem explicitly.

Show answer

Correct answer

  • C

    GRUs simplify the architecture by combining the forget and input gates into a single 'update' gate and merging the cell state and hidden state.

Question 10

+2 marksOne or more correct options

Which of the following statements are true for the saturated neurons problem? Select all that apply.

Select all that apply.

  1. A

    ReLU activation function is preferred over tanh, as it is less likely to saturate.

  2. B

    Tanh is preferred over sigmoid as it solves the problem of neuron saturation.

  3. C

    Leaky ReLU mitigates the problem of neuron saturation compared to ReLU.

  4. D

    If a neuron saturates in a network, the weights do not get updated further.

Show answer

Correct answers

  • A

    ReLU activation function is preferred over tanh, as it is less likely to saturate.

  • C

    Leaky ReLU mitigates the problem of neuron saturation compared to ReLU.

  • D

    If a neuron saturates in a network, the weights do not get updated further.

Question 11

+3 marksOne correct option
  1. A

    0.1

  2. B

    0.05

  3. C

    0.025

  4. D

    0.0125

Show answer

Correct answer

  • B

    0.05

Question 12

+3 marksOne or more correct options

You are training a deep feedforward neural network (100 layers) for binary classification with a sigmoid output with tanh activation in some hidden layers and ReLU activations in some hidden layers. You notice that gradients in some layers vanish early, preventing those weights from updating, even though the network hasn’t converged. Which of the following fixes could help?

Select all that apply.

  1. A

    Increase the size of your training set

  2. B

    Replace ReLU activations with leaky ReLUs

  3. C

    Use appropriate weight initialization

Show answer

Correct answers

  • B

    Replace ReLU activations with leaky ReLUs

  • C

    Use appropriate weight initialization

Question 13

+3 marksOne or more correct options

Why is the sigmoid activation function often preferred over the step activation function in neural networks?

Select all that apply.

  1. A

    The sigmoid is differentiable, allowing gradient-based optimization methods like backpropagation.

  2. B

    The step function is non-differentiable and does not support learning through gradient descent.

  3. C

    The sigmoid function completely avoids vanishing gradient problems.

  4. D

    The step function outputs values in the range (0,1), whereas the sigmoid outputs only discrete values {0,1}.

Show answer

Correct answers

  • A

    The sigmoid is differentiable, allowing gradient-based optimization methods like backpropagation.

  • B

    The step function is non-differentiable and does not support learning through gradient descent.

Question 14

+3 marksNumerical answer
Show answer

Correct answer: 1152

Question 15

+3 marksOne or more correct options

Consider the sigmoid activation function defined as:

Select all that apply.

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

Correct answers

  • A
  • C

Question 16

+3 marksNumerical answer
Show answer

Correct answer: 143

Question 17

+4 marksNumerical answer
Show answer

Correct answer: 41

Question 18

+3 marksNumerical answer
Show answer

Correct answer: -1.5 (accepted within ±0.03)

Question 19

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: -7.5

Question 20

+2 marksNumerical answer
Show answer

Correct answer: 30

Question 21

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Identify the word in the vocabulary with the highest predicted probability for the missing word (???), and provide its corresponding integer index (key) from the vocabulary list as your final answer.

Show answer

Correct answer: 6

Question 22

+2 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 24

Question 23

+2 marksNumerical answer
Show answer

Correct answer: -4.00

Question 24

+1 markOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • A

Question 25

+2 marksNumerical answer

Identify the word in the vocabulary that has the highest probability of being predicted as a context word given the center word 'networks'. Provide the corresponding integer index (key) from the vocabulary list as your answer.

Show answer

Correct answer: 4

Question 26

+1 markOne correct option

Based on the above data, answer the given subquestions.

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

Correct answer

  • C

Question 27

+2 marksNumerical answer

How many total weights from Win and Wout combined will be updated?

Show answer

Correct answer: 18

Question 28

+1 markNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1.705 (accepted within ±0.055)

Question 29

+2 marksNumerical answer

The previous decoder hidden state is:

and

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1.88 (accepted within ±0.04)

Question 30

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.18 (accepted within ±0.05)

Question 31

+4 marksNumerical answer

The previous decoder hidden state is:

and

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.43 (accepted within ±0.04)

Question 32

+2 marksNumerical answer

The previous decoder hidden state is:

and

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 1.72 (accepted within ±0.04)