Selected MCQ

Current Question
What is a common activation function used in the output layer for multi-class classification?
  • A. Sigmoid
  • B. Softmax
  • C. ReLU
  • D. Linear
Correct Answer: B
Explanation:
Softmax activation is used for multi-class outputs to produce probabilities summing to 1.
Related Question 1
Which activation function is commonly used in hidden layers of deep neural networks due to its ability to mitigate vanishing gradient problems?
  • A. Sigmoid
  • B. Tanh
  • C. ReLU
  • D. Softmax
Correct Answer: C
Explanation:
ReLU (Rectified Linear Unit) is popular for hidden layers because it accelerates convergence by avoiding vanishing gradients.
Related Question 2
Which loss function is typically used for binary classification?
  • A. Softmax loss
  • B. Mean squared error
  • C. Cross-entropy loss
  • D. Huber loss
Correct Answer: C
Explanation:
Cross-entropy loss (binary or logistic) is commonly used for binary classification tasks.
Related Question 3
What is the main function of dropout layers in a neural network?
  • A. Speed up training by skipping layers
  • B. Prevent co-adaptation of neurons to reduce overfitting
  • C. Ensure output is always positive
  • D. Increase network depth
Correct Answer: B
Explanation:
Dropout randomly turns off neurons during training, reducing overfitting.
Related Question 4
Which of the following is a common loss function for regression problems?
  • A. Cross-entropy loss
  • B. Mean squared error
  • C. Hinge loss
  • D. Binary entropy
Correct Answer: B
Explanation:
Mean squared error is typically used for regression to measure the average squared difference.
Related Question 5
Which tool is commonly used for container orchestration in IT environments?
  • A. Docker
  • B. Kubernetes
  • C. Ansible
  • D. Terraform
Correct Answer: B
Explanation:
Kubernetes is widely used for orchestrating containers at scale.