76. A classifier's confusion matrix is: TP = 90, FP = 30, FN = 10, TN = 870. What is its precision?
- 25%
- 96%
- 75%
- 90%
Answer: C) 75%
Explanation: Precision = TP ÷ (TP + FP) = 90 ÷ 120 = 75%. Lesson 8.3 · AI, Machine Learning & Data Analytics
MCQs / Computer Science / NSCT: AI, Machine Learning & Data Analytics
127 multiple-choice questions on NSCT: AI, Machine Learning & Data Analytics from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
Answer: C) 75%
Explanation: Precision = TP ÷ (TP + FP) = 90 ÷ 120 = 75%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) 80%
Explanation: Precision = TP ÷ (TP + FP) = 60 ÷ 75 = 80%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) Underfitting
Explanation: High bias – too simple. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Accuracy 99%, recall 0%
Explanation: It is right on 990/1000 cases but catches none of the fraud – accuracy misleads on imbalanced data. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: D) 1
Explanation: z = (x − mean) ÷ std = (120 − 100) ÷ 20 = 1. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) Sequentially, each correcting the errors of the previous
Explanation: Bagging builds them in parallel. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Dendrogram
Explanation: Cutting it at a height gives clusters. Lesson 8.4 · AI, Machine Learning & Data Analytics
Answer: A) A machine's conversation can be distinguished from a human's
Explanation: Proposed by Alan Turing in 1950. Lesson 8.1 · AI, Machine Learning & Data Analytics
Answer: B) 0.77
Explanation: F1 = 2PR ÷ (P + R) = 2 × 0.80 × 0.75 ÷ (0.80 + 0.75) = 0.77. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) 82.5%
Explanation: Accuracy = (TP + TN) ÷ total = 165 ÷ 200 = 82.5%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: C) Backpropagation
Explanation: It applies the chain rule backwards. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: D) Box plot
Explanation: Points beyond 1.5 × IQR are outliers. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: C) Imbalanced
Explanation: Accuracy alone is misleading here. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) Algorithmic bias
Explanation: Biased data produces biased decisions. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: C) Pandas
Explanation: Pandas is the core data-analysis library. Lesson 8.1 · AI, Machine Learning & Data Analytics
Answer: C) Self-attention
Explanation: Attention relates every word to every other word. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: A) Overfitting
Explanation: It memorised the training data. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Dog
Explanation: Majority vote: Dog (4 of 7). Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) 90%
Explanation: Precision = TP ÷ (TP + FP) = 45 ÷ 50 = 90%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) 80%
Explanation: Precision = TP ÷ (TP + FP) = 8 ÷ 10 = 80%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) 85%
Explanation: Accuracy = (TP + TN) ÷ total = 85 ÷ 100 = 85%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Reinforcement learning
Explanation: e.g. game-playing agents, robotics. Lesson 8.4 · AI, Machine Learning & Data Analytics
Answer: C) Imputation
Explanation: Imputation replaces missing data. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) 50
Explanation: Each sample is projected onto the chosen components. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) 66.7%
Explanation: Recall = TP ÷ (TP + FN) = 30 ÷ 45 = 66.7%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Practise NSCT: AI, Machine Learning & Data Analytics MCQs