
Deep Learning for Computer Vision Quiz 2: 23 November 2025 (September 2025 term)
The IIT Madras BS Deep Learning for Computer Vision (Deep Learning for Computer Vision) Quiz 2 paper sat on 23 Nov 2025, in the September 2025 term: 51 questions for 63 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.
- 51
- 63
- 120 min
- 14
- 34
- 3
Show answer
Correct answer
Question 2
Which of the following architectures introduced the ROI pooling layer for extracting fixed-size feature maps from variable-size region proposals?
R-CNN
Fast R-CNN
Faster R-CNN
YOLO
Show answer
Correct answer
Fast R-CNN
Question 3
Which object detection method first integrated a Region Proposal Network (RPN) to generate region proposals within the detection model?
R-CNN
Fast R-CNN
Faster R-CNN
YOLO
Show answer
Correct answer
Faster R-CNN
Question 4
Which architecture performs object detection as a single regression problem from image pixels to bounding boxes and class probabilities?
R-CNN
Fast R-CNN
Faster R-CNN
YOLO
Show answer
Correct answer
YOLO
Question 5
1→iv, 2→ii, 3→i, 4→iii
1→ii, 2→iv, 3→i, 4→iii
1→iv, 2→i, 3→ii, 4→iii
1→iii, 2→ii, 3→iv, 4→i
Show answer
Correct answer
1→iv, 2→ii, 3→i, 4→iii
Question 6
Consider the following statements P and Q regarding AlexNet and choose the correct option: (P) In AlexNet, a trainable Local Response Normalization Layers were introduced to emulate the competitive nature of real neurons, where highly active neurons suppress the activity of neighboring neurons, creating competition among different kernel outputs.
(Q) In AlexNet, a total of 8 Convolutional layers contain only about 6-7% of the total parameters hence account for the least computation.
Only statement P is true
Only statement Q is true
Both statements are true
None of the statements is true
Show answer
Correct answer
None of the statements is true
Question 7
Consider two bounding boxes in an image:
- Box A: top-left at (0, 0), bottom-right at (12, 12) - Box B: top-left at (4, 4), bottom-right at (16, 16) What is the Intersection over Union (IoU) between these two boxes ______________
21%
28%
36%
44%
Show answer
Correct answer
28%
Question 8
Which one of the following statements is True?
Attention mechanisms can be applied to the bidirectional RNN model
An image captioning network cannot be trained end-to-end even though we are using 2 different modalities to train the network
One of the key components in the vanilla transformer are the recurrent connections that help them to deal with variable input length.
All Attention mechanisms can be applied to the bidirectional RNN model, An image captioning network cannot be trained end-to-end even though we are using 2 different modalities to train the network, One of the key components in the vanilla transformer are the recurrent connections that help them to deal with variable input length.
None of these
Show answer
Correct answer
Attention mechanisms can be applied to the bidirectional RNN model
Question 9
Match the following computer vision tasks to situations:
| 1) Instance Segmentation | i) There are cars in these pixels |
|---|---|
| 2) Classification | ii) There are 4 cars in the image |
| 3) Semantic Segmentation | iii) There is car in the image |
| 4) Object Detection | iv) There are 4 cars in the image, and here are the pixels with the shape of each of their occurrence |
1 → iv, 2 → iii, 3 → ii, 4 → i
1 → ii, 2 → iii, 3 → i, 4 →iv
1 → iv, 2→ iii, 3 → i, 4 → ii
1 → ii, 2 → iv, 3 → iii, 4 → i
Show answer
Correct answer
1 → iv, 2→ iii, 3 → i, 4 → ii
Question 10
Match the following:
| 1) One-to-many RNN architecture | i) Sentiment analysis of Netflix reviews |
|---|---|
| 2) Many-to-one RNN architecture | ii) Convert English sentence to Hindi |
| 3) Many-to-many RNN architecture with equal number of inputs and outputs | iii) Named entity recognition |
| 4) Many-to-many RNN architecture with unequal number of inputs and outputs (Encoder and Decoder model) | iv) Music generation |
1 → iii, 2 → iv, 3 → ii, 4 → i
1 → iv, 2→ i, 3 → iii, 4 →ii
1 → i, 2 → ii, 3 → iii, 4 → iv
1 → i, 2 → iii, 3→ ii, 4 → iv
Show answer
Correct answer
1 → iv, 2→ i, 3 → iii, 4 →ii
Question 11
1→iii, 2→ii, 3→v, 4→iv,5→i
1→iii, 2→iv, 3→i, 4→ii,5→v
1→i, 2→iii, 3→iv, 4→ii,5→v
1→v, 2→iv, 3→iii, 4→i,5→ii
Show answer
Correct answer
1→v, 2→iv, 3→iii, 4→i,5→ii
Question 12
Which of the following techniques help mitigate the vanishing gradient problem in recurrent neural networks?
1. Gradient clipping
2. Use of ReLU activation to preserve gradient flow
3. Use of LSTM units
4. Data augmentation (e.g., reversing input sequence)
1 and 2 only
2 and 3 only
3 and 4 only
1, 2, and 3 only
Show answer
Correct answer
2 and 3 only
Question 13
Which of the following techniques help mitigate the exploding gradient problem in recurrent neural networks?
1. Gradient clipping
2. Use of Sigmoid activation to prevent gradient growth
3. Use of LSTM units
4. Data augmentation (e.g., reversing input sequence)
1 and 2 only
1 and 3 only
1, 2, and 3
All of these
Show answer
Correct answer
1 and 3 only
Question 14
Which one of the following statements is false? (Pick the most appropriate one.)
Attention mechanisms cannot be applied to the bidirectional RNN model
An image captioning network cannot be trained end-to-end even though we are using 2 different modalities to train the network
One of the key components in the vanilla transformer is the recurrent connection that help them to deal with variable input length.
All of these
Show answer
Correct answer
All of these
Question 15
Show answer
Correct answer: 384
Question 16
Which of the following is true regarding Hard Attention and Soft Attention?
Soft Attention is smooth and differentiable
Variance reduction techniques are used to train Soft Attention models
Soft Attention is computationally cheaper than Hard Attention when the source input is large
The inference (test time) overhead is low in Hard Attention when compared to Soft Attention models
Show answer
Correct answers
Soft Attention is smooth and differentiable
The inference (test time) overhead is low in Hard Attention when compared to Soft Attention models
Question 17
Which of the following are False:
Show answer
Correct answers
Question 18
Which techniques help mitigate exploding/vanishing gradients in RNNs? (Select all that apply.)
Gradient clipping
Orthogonal or identity initialization of recurrent weights
Using LSTM/GRU cells
Randomly reversing input sequences as augmentation
Show answer
Correct answers
Gradient clipping
Orthogonal or identity initialization of recurrent weights
Using LSTM/GRU cells
Question 19
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 4
Question 20
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 6
Question 21
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 3
Question 22
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 1
Question 23
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 2
Question 24
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 5
Question 25
Based on the above data, answer the given subquestions.
Number of Parameters:_____________
Show answer
Correct answer: 6422528
Question 26
Based on the above data, answer the given subquestions.
Computational Cost:________________
Show answer
Correct answer: 642252800
Question 27
Using the same dimensions specified in the previous question main data, calculate the number of parameters and computational cost, but make use of Depthwise Seperable convolution and pointwise convolution instead of standard convolution.
Based on the above data, answer the given subquestions.
Number of parameters for depthwise seperable convolution: __________
Show answer
Correct answer: 12544
Question 28
Using the same dimensions specified in the previous question main data, calculate the number of parameters and computational cost, but make use of Depthwise Seperable convolution and pointwise convolution instead of standard convolution.
Based on the above data, answer the given subquestions.
Computational Cost for depthwise seperable convolution:____________
Show answer
Correct answer: 1254400
Question 29
Using the same dimensions specified in the previous question main data, calculate the number of parameters and computational cost, but make use of Depthwise Seperable convolution and pointwise convolution instead of standard convolution.
Based on the above data, answer the given subquestions.
Number of parameters for pointwise convolution:_____________
Show answer
Correct answer: 131072
Question 30
Using the same dimensions specified in the previous question main data, calculate the number of parameters and computational cost, but make use of Depthwise Seperable convolution and pointwise convolution instead of standard convolution.
Based on the above data, answer the given subquestions.
Computational cost for pointwise convolution:____________
Show answer
Correct answer: 13107200
Question 31
Based on the above data, answer the given subquestions.
Number of weights in Weight Matrix U1 is:_____________
Show answer
Correct answer: 50
Question 32
Based on the above data, answer the given subquestions.
Number of weights in Weight Matrix V1 is:_____________
Show answer
Correct answer: 25
Question 33
Based on the above data, answer the given subquestions.
Number of weights in Weight Matrix U2 is:_____________
Show answer
Correct answer: 100
Question 34
Based on the above data, answer the given subquestions.
Number of weights in Weight Matrix V2 is:_____________
Show answer
Correct answer: 400
Question 35
Based on the above data, answer the given subquestions.
Number of weights in Weight Matrix W is:_____________
Show answer
Correct answer: 800
Question 36
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 1
Question 37
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 0
Question 38
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 2
Question 39
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 0.245 (accepted within ±0.005)
Question 40
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 0.095 (accepted within ±0.005)
Question 41
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 0.67 (accepted within ±0.01)
Question 42
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 1.55 (accepted within ±0.05)
Question 43
You are given the encoder hidden states and the decoder hidden state at time step .
Use **dot-product attention**, where the attention score is computed as:
The context vector is then computed as:
Use the following values:
Note: Use approximate values of exponential , , etc.
Answer the given subquestions:
Show answer
Correct answer: 2.55 (accepted within ±0.05)
Question 44
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0 (accepted within ±0.01)
Question 45
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: -0.462 (accepted within ±0.001)
Question 46
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.462 (accepted within ±0.001)
Question 47
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.33 (accepted within ±0.01)
Question 48
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.23 (accepted within ±0.01)
Question 49
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 0.44 (accepted within ±0.01)
Question 50
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 1.5 (accepted within ±0.1)
Question 51
You are given the encoder hidden states and the decoder hidden state at time step .
Use **additive attention**, where the alignment score is computed as:
The context vector is then computed as:
Use the following values:
Based on the above data, answer the given subquestions.
Show answer
Correct answer: 2.5 (accepted within ±0.1)