Open In App

Decision Tree in Software Engineering

A Decision Tree offers a graphic read of the processing logic concerned in a higher cognitive process and therefore the corresponding actions are taken. The perimeters of a choice tree represent conditions and therefore the leaf nodes represent the actions to be performed looking at the result of testing the condition. 

For example, consider Library Membership Automation Software (LMS) where it ought to support the following three options: New member, Renewal, and Cancel membership. These are explained as following below. 



1. New Member Option: 
 

Renewal Option: 
 



Cancel Membership Option: 
 

Decision tree representation of the above example: 
The following tree shows the graphical illustration of the above example, when obtaining data from the user, the system makes a choice and then performs the corresponding actions. 

 

 

Article Tags :