Decision trees: Check your understanding
Stay organized with collections
Save and categorize content based on your preferences.
This page challenges you to answer a series of multiple choice exercises
about the material discussed in the "Decision trees" unit.
Question 1
The inference of a decision tree runs by routing an example...
from the leaf to the root.
All inference starts from the root (the first condition).
from one leaf to another.
All inference starts from the root, not from a leaf.
from the root to the leaf.
Well done!
Question 2
Do all conditions involve only a single feature?
Yes.
Oblique features test multiple features.
No.
Although axis-aligned conditions only involve a single feature,
oblique conditions involve multiple features.
Question 3
Consider the following prediction map on two features x1 and x2:

Which of the following decision trees match the prediction map?
Decision Tree B.
If the condition x2 ≥ 0.5 is no, then the leaf may or may not be
blue, so this is a bad condition.
Decision Tree C.
If x1 is not ≥ 1.0, then the leaf should be 'blue' rather than
'orange', so this is the wrong leaf.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page provides multiple choice questions to test your understanding of decision trees.\u003c/p\u003e\n"],["\u003cp\u003eThe questions cover topics such as decision tree inference, types of conditions used in decision trees, and interpretation of decision tree prediction maps.\u003c/p\u003e\n"],["\u003cp\u003eCorrect answers are provided with explanations to reinforce learning.\u003c/p\u003e\n"]]],[],null,["# Decision trees: Check your understanding\n\n\u003cbr /\u003e\n\nThis page challenges you to answer a series of multiple choice exercises\nabout the material discussed in the \"Decision trees\" unit.\n\nQuestion 1\n----------\n\nThe inference of a decision tree runs by routing an example... \nfrom the leaf to the root. \nAll inference starts from the root (the first condition). \nfrom one leaf to another. \nAll inference starts from the root, not from a leaf. \nfrom the root to the leaf. \nWell done!\n\nQuestion 2\n----------\n\nDo all conditions involve only a single feature? \nYes. \nOblique features test multiple features. \nNo. \nAlthough axis-aligned conditions only involve a single feature, oblique conditions involve multiple features.\n\nQuestion 3\n----------\n\nConsider the following prediction map on two features x1 and x2:\n\nWhich of the following decision trees match the prediction map? \nDecision Tree A. \nYes! \nDecision Tree B. \nIf the condition x2 ≥ 0.5 is no, then the leaf may or may not be blue, so this is a bad condition. \nDecision Tree C. \nIf x1 is not ≥ 1.0, then the leaf should be 'blue' rather than 'orange', so this is the wrong leaf."]]