COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which statement below is NOT correct?
A
Decision trees are only useful if the choices at each decision point are binary
B
Both decision trees and tables can have redundancy, if not carefully designed
C
Both decision trees and tables are good for modelling complex logic
D
None of the above
Explanation: 

Detailed explanation-1: -Disadvantages of decision trees They are not well-suited to continuous variables (i.e. variables which can have more than one value, or a spectrum of values). In predictive analysis, calculations can quickly grow cumbersome, especially when a decision path includes many chance variables.

Detailed explanation-2: -Expert-Verified Answer (B) The entropy of a node typically decreases as we go down a decision tree is true about a decision tree.

Detailed explanation-3: -Disadvantage: A small change in the data can cause a large change in the structure of the decision tree causing instability.

There is 1 question to complete.