Quiz: Decision Trees and ID3

Methods of AI — SoSe 2026

7 questions. From definition → mechanics → exam-trap. Type your answer in the **Max's answer:** field below each question, ping me to evaluate.


Q1 — Entropy

Question: A leaf node contains 6 training examples, all labeled Yes. What is its entropy, and what does that tell you about the node — both numerically and intuitively?

Max’s answer:
Result:


Q2 — Information Gain

Question: ID3 picks the attribute with the highest Information Gain at each split. Why does it use Information Gain — and not, say, just the attribute that produces the smallest entropy in the resulting child nodes?

Max’s answer:
Result:


Q4 — Overfitting

Question: Your decision tree has 0 % training error and 25 % test error at depth 20. What’s the technical name for this phenomenon, what bias-variance term does it correspond to, and name two distinct ways to fix it.

Max’s answer:
Result:


Q5 — Decision Tree vs. Random Forest

Question: Random Forest fixes a specific weakness of single Decision Trees. What weakness, and how exactly does Random Forest fix it?

Max’s answer:
Result:


Q6 — Mechanism (short)

Question: In ONE sentence: why is a single Decision Tree considered a high-variance model?

Max’s answer:
Result:


Beyond the lecture (optional)

These questions go beyond the SoSe 2026 lecture slides (textbook / external additions). Kept for depth, not exam-critical.

Q3 — ⚠️ Exam trap: high-cardinality attributes

Question: You include UserID as a feature in your training data. ID3 picks it as the root split. The tree has 100 % training accuracy but 50 % test accuracy. What happened, and what’s the standard fix?

Max’s answer:
Result:


Q7 — Applied judgement

Question: You’re designing a tabular medical decision-support system. Doctors must be able to audit every recommendation. You have ~10,000 patient records and ~30 features. Choose between (a) a single ID3 tree, (b) Random Forest, (c) XGBoost — and justify your choice. There is no single “right” answer; what matters is the trade-off you make explicit.

Max’s answer:
Result:


Score

When all 7 are graded:

  • ✓ Correct:
  • ~ Partial:
  • ✗ Wrong:

Topics to re-drill if any wrong:

  • Q1, Q6 — entropy and variance intuition
  • Q2 — Information Gain mechanics
  • Q3 — high-cardinality trap
  • Q4, Q5 — overfitting fixes + ensemble reasoning
  • Q7 — applied trade-offs

See also

Tags: methods-of-ai quiz decision-trees