Deep learning: 18 MCQs with answers
All 18 multiple-choice questions from this kit, free and with no sign-up.
Warm-up · 7 questions
Q1. Which activation function is commonly used in hidden layers to introduce non-linearity and is defined as $f(x) = \max(0, x)$?
BeginnerShow answer & explanation
ReLU
ReLU (Rectified Linear Unit) outputs zero for negative inputs and the input itself for positive inputs, introducing non-linearity.
Q2. What is the purpose of the loss function in a deep learning model?
BeginnerShow answer & explanation
To measure how well the model's predictions match the true labels
The loss function quantifies the difference between predicted and actual values, guiding the optimization process.
Q3. Which algorithm is used to update the weights of a neural network by computing gradients of the loss with respect to each weight?
BeginnerShow answer & explanation
Gradient descent
Gradient descent iteratively adjusts weights in the direction that reduces the loss, using gradients computed via backpropagation.
Q4. What does the term 'epoch' refer to in deep learning training?
BeginnerShow answer & explanation
One complete pass over the entire training dataset
An epoch is a full cycle through the training data, allowing the model to see each sample once.
Q5. What is the role of the learning rate in gradient descent?
BeginnerShow answer & explanation
It controls the step size of weight updates.
The learning rate scales the gradient, determining how much weights are adjusted in each iteration.
Q6. Which loss function is typically used for binary classification?
BeginnerShow answer & explanation
Binary cross-entropy
Binary cross-entropy measures the difference between two probability distributions for binary outcomes.
Q7. What is the purpose of an activation function in a neural network?
BeginnerShow answer & explanation
To introduce non-linearity into the model
Without non-linear activations, the network would be a linear transformation, unable to learn complex patterns.
Building up · 10 questions
Q8. What is the primary difference between a neural network and a deep learning model?
IntermediateShow answer & explanation
Deep learning models have more than one hidden layer.
Deep learning models are characterized by having multiple hidden layers, enabling them to learn hierarchical features.
Q9. What is the role of the softmax activation function in the output layer of a multi-class classification network?
IntermediateShow answer & explanation
It converts raw scores into probabilities that sum to 1.
Softmax takes a vector of raw scores and outputs a probability distribution over classes, with all probabilities summing to 1.
Q10. Which technique is commonly used to prevent overfitting by randomly dropping neurons during training?
IntermediateShow answer & explanation
Dropout
Dropout randomly deactivates a fraction of neurons during each forward pass, forcing the network to learn redundant representations and reducing overfitting.
Q11. What is the main advantage of using convolutional neural networks (CNNs) for image data?
IntermediateShow answer & explanation
They automatically learn spatial hierarchies of features.
CNNs use convolutional layers to capture local patterns and build hierarchical representations, making them highly effective for images.
Q12. Which type of neural network is specifically designed to handle sequential data like time series or text?
IntermediateShow answer & explanation
Recurrent Neural Network (RNN)
RNNs have recurrent connections that allow information to persist, making them suitable for sequential data.
Q13. Which of the following is a common technique to mitigate the vanishing gradient problem?
IntermediateShow answer & explanation
Using ReLU activation functions
ReLU and its variants help maintain gradient flow because their derivative is constant for positive inputs, avoiding saturation.
Q14. What is the purpose of batch normalization?
IntermediateShow answer & explanation
To stabilize and accelerate training by normalizing layer inputs
Batch normalization normalizes the inputs of each layer to have zero mean and unit variance, which helps training converge faster.
Q15. What is the main difference between a feedforward neural network and a recurrent neural network?
IntermediateShow answer & explanation
RNNs have connections that form cycles, allowing memory of previous inputs.
RNNs have recurrent connections that create loops, enabling them to maintain a hidden state that captures information from past time steps.
Q16. Deep learning models require large amounts of labeled data to perform well.
IntermediateShow answer & explanation
True
Deep learning models typically need large datasets to learn complex patterns and avoid overfitting.
Q17. The sigmoid activation function is preferred for hidden layers in deep networks because it avoids the vanishing gradient problem.
IntermediateShow answer & explanation
False
Sigmoid saturates for large positive/negative inputs, causing gradients to vanish; ReLU is often preferred.
Topper level · 1 questions
Q18. What is the vanishing gradient problem?
AdvancedShow answer & explanation
Gradients become extremely small, preventing weights from updating effectively.
In deep networks, gradients can diminish exponentially as they are backpropagated, leading to negligible weight updates in early layers.
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free, in 42 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Exam prep
Get Veda free See what students get
Free to start · No ads · Works in 42 languages