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
Consider the following code snippet:

Based on the standard normalization technique for a single-channel grayscale image dataset like FashionMNIST, which of the following correctly fills in blank (A)?
Based on the standard normalization technique for a single-channel grayscale image dataset like FashionMNIST, which of the following correctly fills in blank (A)?
Solution
Suppose during training
Epoch 1
D(real)=0.90
D(fake)=0.10
Later
Epoch 20
D(real)=0.999
D(fake)=0.0001
What problem is most likely? (Here, D(x) represents Discriminator's output on image x)
Epoch 1
D(real)=0.90
D(fake)=0.10
Later
Epoch 20
D(real)=0.999
D(fake)=0.0001
What problem is most likely? (Here, D(x) represents Discriminator's output on image x)
Solution
Let D(x) denote the discriminator's output. Which of the following represents the most desirable discriminator output during stable GAN training?
Solution
What is the output of the following code snippet?

Solution
Truncated BPTT with window
is used on a long sequence. Which statement is correct?
Solution
Consider the following implementation of a RNN:

What is the output of the print statements?
What is the output of the print statements?
Solution
Which of the following options is correct regarding the standard encoder-decoder architecture?
Solution
Suppose you are optimizing a model in a region where the slope (gradient) is perfectly flat and constant.
Standard Gradient Descent (GD) takes a fixed step based on the learning rate
, moving by a distance of
at every iteration where
is the gradient.
Classical Momentum builds up "speed" over time using these rules:
- Velocity update:
- Position update:
Because of the decay factor
, the momentum step size will continuously converge toward a steady-state "terminal velocity". In this limiting steady state (where the velocity becomes completely constant), how many times larger is the Momentum step compared to the standard GD step?
Standard Gradient Descent (GD) takes a fixed step based on the learning rate
Classical Momentum builds up "speed" over time using these rules:
- Velocity update:
- Position update:
Because of the decay factor
Solution
Let
be a continuous function defined on an interval
. Suppose there exist three distinct points
in
such that

Suppose also there exist three distinct points
in the same interval
such that

Which of the following statements must be true?
Suppose also there exist three distinct points
Which of the following statements must be true?
Solution
A GAN is trained on images preprocessed using the following PyTorch transformation:

Which of the following activation functions are most suitable for the final layers of the Generator and Discriminator, respectively?
Which of the following activation functions are most suitable for the final layers of the Generator and Discriminator, respectively?
Solution
Select the correct statements from the following:
Solution
Which of the following increase(s) the output size?
Solution
Select all statements that are TRUE.
Solution
A standard LSTM layer with a hidden dimension of
processes a sequence. At time step
, the network computes the forget gate
, the input gate
, and the candidate cell state
.
Assuming standard activation functions (used in standard LSTM) and infinite-precision arithmetic, which of the following combinations of intermediate vectors are mathematically possible? Select all that apply.
Assuming standard activation functions (used in standard LSTM) and infinite-precision arithmetic, which of the following combinations of intermediate vectors are mathematically possible? Select all that apply.
Solution
Consider an input
and weights
passing through a single neuron with an activation function.
(Assume no bias)
Which of the following cases would produce the output as zero?
(Assume no bias)
Which of the following cases would produce the output as zero?
Solution
Which of the following code snippets correctly flatten the image given in the code below?

Solution
Select all statements that are TRUE regarding the mechanics of Adagrad and RMSProp.
Solution
Inscript
Calculate the total number of parameters in the RNN implemented in the following code:

Calculate the total number of parameters in the RNN implemented in the following code:
Solution
Inscript
A single LSTM layer has input (embedding) dimension
and hidden dimension
. Its three gates (forget, input, output) and its candidate cell state all operate on the concatenation
. Counting all weights and biases (ignore the embedding table and any output layer), how many trainable parameters does the layer have?
A single LSTM layer has input (embedding) dimension
Solution
Inscript
Consider a Language Model which completes a sentence by generating the next words one by one following the given rule:

For the given sentence:
'Mumbai is a beautiful coastal city'
If the vocabulary size is 20, how many conditional probabilities are computed in total while generating the remaining words of the sentence? Assume "Mumbai" is already given as input.
Consider a Language Model which completes a sentence by generating the next words one by one following the given rule:
For the given sentence:
'Mumbai is a beautiful coastal city'
If the vocabulary size is 20, how many conditional probabilities are computed in total while generating the remaining words of the sentence? Assume "Mumbai" is already given as input.
Solution
Shape
Thickness [ / ]
3
All colors