51. A random forest is an ensemble of:
- Linear regressions only
- Neural networks
- k-means clusters
- Decision trees
Answer: D) Decision trees
Explanation: It uses bagging and random feature subsets. 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: D) Decision trees
Explanation: It uses bagging and random feature subsets. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Precision
Explanation: Precision = TP ÷ (TP + FP). Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Depth-first search
Explanation: DFS stores only the current path. Lesson 8.1 · AI, Machine Learning & Data Analytics
Answer: B) 50
Explanation: 500 ÷ 10 = 50; the other 450 are used for training in that round. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: C) 75%
Explanation: Recall = TP ÷ (TP + FN) = 60 ÷ 80 = 75%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Sentiment analysis
Explanation: A classic NLP classification task. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: D) Feature engineering
Explanation: Useful features improve models. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: A) 90%
Explanation: Recall = TP ÷ (TP + FN) = 90 ÷ 100 = 90%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: C) 50%
Explanation: Precision = TP ÷ (TP + FP) = 25 ÷ 50 = 50%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) 1
Explanation: Mean of squared errors = 1. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: C) 0.25
Explanation: (x − min) ÷ (max − min) = (12 − 0) ÷ (48 − 0) = 0.25. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) 80%
Explanation: Accuracy = (TP + TN) ÷ total = 80 ÷ 100 = 80%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) Real-time object detection
Explanation: You Only Look Once. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: D) 1.5
Explanation: z = (x − mean) ÷ std = (85 − 70) ÷ 10 = 1.5. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) 80%
Explanation: Precision = TP ÷ (TP + FP) = 40 ÷ 50 = 80%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Trains and tests the model on k different splits and averages the results
Explanation: It gives a more reliable estimate. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) -2
Explanation: z = (x − mean) ÷ std = (40 − 50) ÷ 5 = -2. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: C) Training to overshoot and fail to converge
Explanation: Steps jump over the minimum. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: D) 1
Explanation: Errors [-1, 1, -1, 1]; mean of absolute values = 1. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: A) Association rule mining
Explanation: Apriori uses support and confidence. Lesson 8.4 · AI, Machine Learning & Data Analytics
Answer: A) 96%
Explanation: Accuracy = (TP + TN) ÷ total = 960 ÷ 1000 = 96%. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: B) Explaining model predictions
Explanation: Explainable AI builds trust. Lesson 8.5 · AI, Machine Learning & Data Analytics
Answer: D) 1.5
Explanation: Mean of squared errors = 1.5. Lesson 8.3 · AI, Machine Learning & Data Analytics
Answer: C) 0.33
Explanation: (x − min) ÷ (max − min) = (160 − 140) ÷ (200 − 140) = 0.33. Lesson 8.2 · AI, Machine Learning & Data Analytics
Answer: D) 16.67
Explanation: Errors [-10, 10, -30]; mean of absolute values = 16.67. Lesson 8.3 · AI, Machine Learning & Data Analytics
Practise NSCT: AI, Machine Learning & Data Analytics MCQs