Selected MCQ

Current Question
What is the difference between a virus and a worm in malware classification?
  • A. A worm requires a host file; a virus does not
  • B. A virus self-replicates; a worm needs a host file
  • C. A virus requires a host file; a worm self-replicates and spreads autonomously
  • D. No difference; they are synonyms
Correct Answer: C
Explanation:
Viruses require host programs to propagate, whereas worms can self-replicate and spread without attaching to files.
Related Question 1
Which type of malware encrypts a user’s data and demands payment?
  • A. Ransomware
  • B. Spyware
  • C. Adware
  • D. Rootkit
Correct Answer: A
Explanation:
Ransomware locks or encrypts data and demands payment (ransom) for the key.
Related Question 2
Which celestial event occurs when the Moon passes directly between the Sun and Earth?
  • A. Total lunar eclipse
  • B. Solar eclipse
  • C. Meteor shower
  • D. Transit of Venus
Correct Answer: B
Explanation:
A solar eclipse happens when the Moon blocks the Sun as seen from Earth.
Related Question 3
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 4
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 5
Which evaluation metric is most appropriate for an imbalanced classification dataset?
  • A. Accuracy
  • B. Precision/Recall or F1-score
  • C. Mean squared error
  • D. AUC (Area under ROC)
Correct Answer: B
Explanation:
Precision, recall, or F1-score better reflect performance on imbalanced classes than accuracy.