Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : INTRODUCTION TO DEEP
LEARNING AND GENERATIVE AI (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
LEARNING AND GENERATIVE AI (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Inscript
Consider the following data point and weight vector in a simple single layer neural network. (Assume that there is no bias.)
x = [1,0] w = [0,1]
Once the data flows through the simple network and is passed through the activation function, the final output comes out to be 0.5.
Once you have identified the activation function, enter the maximum value that the derivative of the activation function can take.
Consider the following data point and weight vector in a simple single layer neural network. (Assume that there is no bias.)
x = [1,0] w = [0,1]
Once the data flows through the simple network and is passed through the activation function, the final output comes out to be 0.5.
Once you have identified the activation function, enter the maximum value that the derivative of the activation function can take.
Solution
Inscript
A BatchNorm layer is applied to the output of a convolutional layer. The output feature map has dimensions:

where:
- 32 = Batch size (number of images in the mini-batch)
- 28 = Height of each feature map
- 28 = Width of each feature map
- 64 = Number of channels
How many learnable parameters does this BatchNorm layer contain?
A BatchNorm layer is applied to the output of a convolutional layer. The output feature map has dimensions:
where:
- 32 = Batch size (number of images in the mini-batch)
- 28 = Height of each feature map
- 28 = Width of each feature map
- 64 = Number of channels
How many learnable parameters does this BatchNorm layer contain?
Solution
Consider a McCulloch-Pitts (MP) neuron with binary inputs, unit positive weights, and no inhibitory connections.
Given the following data points:
a = [0,0] b = [1,1] c = [1,0]
The neuron must satisfy:
a → 0 b → 0 c → 1
Which of the following statements is TRUE (θ is the threshold for the neuron to fire.)?
Given the following data points:
a = [0,0] b = [1,1] c = [1,0]
The neuron must satisfy:
a → 0 b → 0 c → 1
Which of the following statements is TRUE (θ is the threshold for the neuron to fire.)?
Solution
Consider the following pytorch code:

What is the output of the above code?
What is the output of the above code?
Solution
A student is training a neural network for regression problem with a sigmoid activation at the output layer
to predict the continuous value between 0 and 1. The true mathematical error term for Mean Squared Error (MSE) loss is
. However, due to a coding mistake, the student implements the error term for Binary Cross- Entropy (BCE) loss instead, calculating it as
. Assuming the network has not yet reached zero error (
), which of the following correctly describes the relationship between the implemented
and the true
?
Solution
An input image of size 32×32 is passed through a CNN containing three convolution layers:
- Conv1: 3x3, stride 1
- Conv2: 3x3, stride 1
- Conv3: 3x3, stride 1
Find the receptive field of a neuron in Conv3.
- Conv1: 3x3, stride 1
- Conv2: 3x3, stride 1
- Conv3: 3x3, stride 1
Find the receptive field of a neuron in Conv3.
Solution
For a convolution layer, suppose the input feature map has size 28x28x64. A 1x1 convolution with 32 filters is applied to it. What will be the output size? (Assume stride = 1 and no padding.)
Solution
A convolution operation is applied to an input image of size 64x64 using a single 3x3 filter. The convolution uses:
- Kernel size = 3x3
- Padding = 1
- Stride = 1
What will be the size of the output feature map produced by this filter?
- Kernel size = 3x3
- Padding = 1
- Stride = 1
What will be the size of the output feature map produced by this filter?
Solution
Consider the following PyTorch convolutional layer:

How many total learnable parameters (including biases) does this layer contain?
How many total learnable parameters (including biases) does this layer contain?
Solution
Consider the following image preprocessing pipeline:

Which of the following statements is correct about the above preprocessing pipeline?
Which of the following statements is correct about the above preprocessing pipeline?
Solution
A perceptron in 2D is defined by a linear decision function:

Suppose a classification rule satisfies:
1. All points with x1 + x2 = 1 are classified as +1
2. All points with x1 + x2 = 0 are classified as -1
3. All points with x1 + x2 = 2 are classified as -1
Which of the following is TRUE?
Suppose a classification rule satisfies:
1. All points with x1 + x2 = 1 are classified as +1
2. All points with x1 + x2 = 0 are classified as -1
3. All points with x1 + x2 = 2 are classified as -1
Which of the following is TRUE?
Solution
Consider the following tensor operation in pytorch:

What will be the output of the final print statement?
What will be the output of the final print statement?
Solution
A student is using a single neuron with activation

where

Can this single neuron represent XOR exactly for the four binary input pairs?
where
Can this single neuron represent XOR exactly for the four binary input pairs?
Solution
Consider the following snippet of a CNN block:

A part of which classical CNN architecture is represented by the above code?
A part of which classical CNN architecture is represented by the above code?
Solution
In deep CNN architectures like VGGNet, multiple 3×3 convolutional layers are stacked instead of using a single large kernel (e.g.,7×7).
Which of the following statements best explains the advantage of this design choice?
Which of the following statements best explains the advantage of this design choice?
Solution
A CNN produces an output feature map of size 10x10x64. Global Average Pooling (GAP) is applied to this feature map. What is the dimension of the output after applying the GAP?
Solution
Comprehension Passage
Consider the following neural network and answer the given subquestions.

A feedforward neural network has 2 input neurons, one hidden layer (l = 1) with 2 neurons, and
one output neuron (l = 2). Every neuron uses the sigmoid activation
. For each layer
:

,

Here
is the input. Binary cross entropy loss is being used.



A feedforward neural network has 2 input neurons, one hidden layer (l = 1) with 2 neurons, and
one output neuron (l = 2). Every neuron uses the sigmoid activation
Here
Inscript
Compute the pre-activation input to the output neuron,
, and the final output
. Give
correct to four decimal places.
Compute the pre-activation input to the output neuron,
Solution
Comprehension Passage
Consider the following neural network and answer the given subquestions.

A feedforward neural network has 2 input neurons, one hidden layer (l = 1) with 2 neurons, and
one output neuron (l = 2). Every neuron uses the sigmoid activation
. For each layer
:

,

Here
is the input. Binary cross entropy loss is being used.



A feedforward neural network has 2 input neurons, one hidden layer (l = 1) with 2 neurons, and
one output neuron (l = 2). Every neuron uses the sigmoid activation
Here
Inscript
Compute
i.e., the gradient of the loss with respect to the hidden-layer weight
(connecting input
to hidden neuron
).Give the value correct upto four decimal places.
Compute
Solution
Which statement is guaranteed by the Universal Approximation Theorem (UAT)?
Solution
Shape
Thickness [ / ]
3
All colors