0% found this document useful (0 votes)
35 views13 pages

Deepooo

Uploaded by

Hager Fathy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views13 pages

Deepooo

Uploaded by

Hager Fathy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

deepooo

3. What is the advantage of using recurrent layers in an RNN?


a) They can capture temporal dependencies in the input data
b) They can handle variable-length inputs
c) They can generate synthetic data
d) They can handle non-linear transformations
Answer: a) They can capture temporal dependencies in the input data

1. Which activation function is commonly used in the recurrent layers of an RNN?

a) ReLU (Rectified Linear Unit)


b) Sigmoid
c) Tanh (Hyperbolic Tangent)
d) Softmax
Answer: c) Tanh (Hyperbolic Tangent)

1. What is the purpose of the bidirectional RNN architecture?

a) To handle sequential data in both forward and backward directions


b) To reduce the computational complexity of the network

c) To adjust the learning rate during training


d) None of the above
Answer: a) To handle sequential data in both forward and backward directions

1. What is the purpose of the recurrent connection in an RNN?

a) To propagate the hidden state across different time steps


b) To adjust the weights and biases of the network
c) To reduce the dimensionality of the input data
d) None of the above

deepooo 1
Answer: a) To propagate the hidden state across different time steps

1. Which layer type is commonly used in RNNs for sequence-to-sequence tasks?

a) Input layer
b) Hidden layer
c) Output layer
d) Attention layer
Answer: d) Attention layer

1. Which layer type is commonly used in RNNs to handle variable-length inputs?

a) Input layer
b) Hidden layer
c) Output layer
d) None of the above
Answer: a) Input layer

1. What is the purpose of the teacher forcing technique in RNN training?

a) To adjust the learning rate during training


b) To propagate the gradients through time
c) To reduce the computational complexity of the network

d) None of the above

Answer: b) To propagate the gradients through time

1. What is the purpose of the sequence-to-vector architecture in an RNN?

a) To process an input sequence and produce a fixed-length representation


b) To adjust the weights and biases of the network

c) To reduce the dimensionality of the input data


d) None of the above

Answer: a) To process an input sequence and produce a fixed-length


representation

1. Which layer type is commonly used in RNNs for speech recognition tasks?

deepooo 2
a) Input layer
b) Hidden layer

c) Output layer
d) None of the above

Answer: c) Output layer

1. Which layer type is commonly used in RNNs for time series prediction tasks?

a) Input layer
b) Hidden layer

c) Output layer
d) None of the above

Answer: c) Output layer

In the architecture of an LSTM cell, which component


is responsible for selectively updating its memory and
controlling the flow of information?
Memory Cell.

Input Gate.

Output Gate.

Forget Gate.

Correct Answer: D. Forget Gate.

What problem does the vanishing gradient problem


address in traditional RNNs?
A)It leads to model overfitting.
B)It causes exploding gradients during training.

C)It hinders the convergence of the model.


D)It makes it difficult to update the network's weights effectively.

deepooo 3
Correct Answer: D. It makes it difficult to update the network's weights
effectively.

In an LSTM network, what happens in the "training"


phase?
AThe model makes predictions on new data.

BThe model adjusts its weights using historical data.


CThe model generates sequences of data.

DThe model selects important features from the data.

Which part of an LSTM cell is responsible for


maintaining long-term memory?
AInput Gate

BMemory Cell

COutput Gate
DForget Gate

Correct Answer:B. Memory Cell

What is the primary role of the forget gate in an LSTM


cell?
ATo remember all information in the memory cell.
BTo update the memory cell with new data.

CTo prevent the LSTM from storing irrelevant or outdated information.

DTo control the output of the LSTM cell.

Correct Answer:C. To prevent the LSTM from storing irrelevant or outdated


information

deepooo 4
Which component in an LSTM unit is responsible for
regulating information flow into and out of the cell?
AForget gate

BInput gate
COutput gate

DCell state

Correct Answer:

A. Forget gate

Explanation:The forget gate in an LSTM unit regulates information flow.

Which advanced LSTM technique involves the use of


multiple hidden LSTM layers with various memory
cells?
AStacked LSTM.

BBidirectional LSTM.
CLSTM with attention mechanism.

DUnidirectional LSTM.

Correct Answer:A. Stacked LSTM.

How do LSTM networks differ from traditional


Recurrent Neural Networks (RNNs) regarding handling
long-term dependencies?
ALSTM networks use more layers for better performance.

BLSTM networks introduce memory cells and gates.

CLSTM networks have larger hidden layers.

deepooo 5
DLSTM networks prioritize short-term dependencies.
Correct Answer:B. LSTM networks introduce memory cells and gates.

What problem do LSTMs address in traditional RNNs?

A) Lack of hidden states

B) Inability to process sequential


dataLimited memory capacity

Difficulty in learning dependencies

What is the purpose of the Forget Gate in LSTM networks?

A. Control the output information


B. Add new information

C. Remove irrelevant information

D. Update the cell state

What is the purpose of the memory cell in LSTM networks?

Control the gates

Regulate the flow of information

Hold information for an extended period

Update the hidden states

What is the primary goal of Conditional GAN (CGAN)?


A- To create noisy data

B- To perform image classification

C- To add conditional information to the generator


D- To generate images without any conditions

What does the generator model aim to do in GANs?

deepooo 6
A Create fake data

B Classify real data

C Compete with the discriminator


D Generate new data samples

What is the primary goal of the generator model in


GANs?
A To compete with the discriminator

B To learn the underlying data distribution

C To classify real data samples


D To perform feature extraction

What type of learning task is generative modeling in


GANs?
ASupervised learning
BReinforcement learning

CUnsupervised learning
DSemi-supervised learning
Correct Answer:C) Unsupervised learnin

In GANs, what is the role of the latent vector?


ATo classify data
BTo encode features of the data
CTo create patterns

DTo perform adversarial training


Correct Answer:B) To encode features of the data

1. How does the generator component in a GAN learn to generate realistic


samples?

deepooo 7
a) By minimizing the loss function of the discriminator

b) By maximizing the loss function of the discriminator


c) By minimizing the loss function of the generator
d) By maximizing the loss function of the generator

Answer: c) By minimizing the loss function of the generator

1. How does the discriminator component in a GAN learn to distinguish between


real and generated samples?

a) By minimizing the loss function of the generator


b) By maximizing the loss function of the generator
c) By minimizing the loss function of the discriminator

d) By maximizing the loss function of the discriminator


Answer: c) By minimizing the loss function of the discriminator

. What is mode collapse in GANs?


a) When the generator produces limited variations of samples

b) When the discriminator fails to distinguish between real and generated samples
c) When the GAN training process becomes unstable
d) When the generator and discriminator achieve perfect equilibrium

Answer: a) When the generator produces limited variations of samples

1. What is the purpose of the latent space in a GAN?

a) To represent the high-dimensional space of real samples

b) To control the diversity and characteristics of generated samples


c) To adjust the learning rate during training

d) None of the above


Answer
: b) To control the diversity and characteristics of generated samples

deepooo 8
1. What is the purpose of the reconstruction loss in a GAN with an encoder
component?

a) To encourage the encoder to produce meaningful latent representations


b) To control the learning rate during training

c) To adjust the weights and biases of the generator


d) None of the above
Answer: a) To encourage the encoder to produce meaningful latent
representations

1. How does the training process of a GAN typically work?

a) The generator and discriminator are trained alternately


b) The generator and discriminator are trained simultaneously

c) The generator is trained first, followed by the discriminator


d) The discriminator is trained first, followed by the generator

Answer: b) The generator and discriminator are trained simultaneously

1. What is the purpose of the receptive field in a convolutional layer?

a) To determine the number of filters in the layer

b) To determine the size of the feature maps


c) To specify the size of the local region for the convolution operation
d) None of the above

Answer: c) To specify the size of the local region for the convolution operation

1. Which layer type is commonly used in CNNs for semantic segmentation tasks?

a) Convolutional layer

b) Pooling layer
c) Fully connected layer
d) Upsampling layer

Answer: d) Upsampling layer

deepooo 9
deepooo 10
deepooo 11
deepooo 12
deepooo 13

You might also like