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)$?

Beginner
A Sigmoid B Softmax C Tanh D ReLU
Show 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?

Beginner
A To measure how well the model's predictions match the true labels B To initialize the weights of the network C To add non-linearity to the model D To reduce overfitting by adding a penalty
Show 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?

Beginner
A K-means clustering B Decision tree induction C Gradient descent D Principal component analysis
Show 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?

Beginner
A The number of hidden layers in the network B One complete pass over the entire training dataset C The learning rate at a specific iteration D The size of the input batch
Show 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?

Beginner
A It controls the step size of weight updates. B It defines the loss function. C It sets the batch size. D It determines the number of hidden layers.
Show 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?

Beginner
A Hinge loss B Kullback-Leibler divergence C Binary cross-entropy D Mean squared error
Show 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?

Beginner
A To introduce non-linearity into the model B To reduce the number of parameters C To initialize weights D To normalize the input data
Show 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?

Intermediate
A Deep learning models use only linear activation functions. B Deep learning models have more than one hidden layer. C Neural networks cannot learn from data. D Deep learning models do not use backpropagation.
Show 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?

Intermediate
A It converts raw scores into probabilities that sum to 1. B It forces the output to be binary (0 or 1). C It applies a threshold to each output independently. D It scales outputs to have zero mean and unit variance.
Show 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?

Intermediate
A Data augmentation B Early stopping C Batch normalization D Dropout
Show 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?

Intermediate
A They eliminate the need for activation functions. B They automatically learn spatial hierarchies of features. C They are only suitable for text data. D They require no training.
Show 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?

Intermediate
A Autoencoder B Recurrent Neural Network (RNN) C Feedforward Neural Network D Convolutional Neural Network (CNN)
Show 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?

Intermediate
A Increasing the learning rate B Removing hidden layers C Using only linear activations D Using ReLU activation functions
Show 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?

Intermediate
A To replace the loss function B To reduce the number of parameters C To increase the model's capacity D To stabilize and accelerate training by normalizing layer inputs
Show 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?

Intermediate
A RNNs do not use activation functions. B Feedforward networks have cycles. C Feedforward networks are only for images. D RNNs have connections that form cycles, allowing memory of previous inputs.
Show 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.

Intermediate
A True B False
Show 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.

Intermediate
A True B False
Show 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?

Advanced
A Gradients become extremely large, causing unstable updates. B Gradients become extremely small, preventing weights from updating effectively. C The model forgets earlier training examples. D The loss function has no minimum.
Show 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.

Make your own

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