--- Video Title: Decision Tables Description: Decision Tables Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Arnab Chakraborty, Tutorials Point India Private Limited --- In this session, we are going to discuss decision table. Decision table is nothing but one tabular representation to denote the logic of a program. And in this particular case, whether the condition is true or false, depending upon that, what are the actions to be taken that will be represented using this decision table. So, a decision table represents conditions and the respective actions to be taken to address them in a structured tabular format. It is a powerful tool to debug and prevent errors. So, it is a very easy way to represent our logic and the respective actions to be carried out and there will be no ambiguity to understand the logic and the respective actions. It helps group similar information into a single table and then by combining tables, it delivers easy and convenient decision making. So, decision table is actually used to represent our decision making processes. So, creating a decision table. To create the decision table, the developer must follow the following four basic steps. So, what are they? Identify all possible conditions conditions to be addressed. Determine actions for all identified conditions. Create maximum possible rules. Obviously, I should not go for redundant rule creations, but whatever is possible in the respective business logic. So, create maximum possible rules and define action for each rule. And decision table should be verified by end users and can likely be simplified by eliminating duplicate rules and the respective actions. Now, let us go for one example for the better understanding. Let us take a simple example of day to day problem with our internet connectivity. We begin by identifying all problems that can arise while starting the internet and their respective possible solutions. So, let us go for this problem in a tabular representation in the form of decision table. So, we list all possible problems under column conditions and the prospective actions under the column actions. So, here we are having this conditions and here we are having this respective actions. So, what are the actions and conditions are to be represented and there we are having this rules, we are denoting that one using the combination yes and no. So, shows shows connected, ping is working, open website. So, these are the three conditions we are having and here we are having the respective actions. So, conditions are there and the actions are there. So, that has been depicted here in a very clear way. So, when shows connected is not appearing, ping is working is not appearing, open website is appearing, then check internet Internet cable and check internet router. So, these are the respective actions to be taken. So, in this way how many conditions we are having? We are having here 3 conditions. So, if you consider yes and no for each and every condition. So, how many combinations we are expecting? We are expecting 8 combinations. So, you can find that 8 rules are there. You can find it and the respective actions we are denoting that one. So, similarly I can also go for no, no, no for all of them then go for contact service provider. So, so there And that is the respective actions to be taken. In this way, you can find that what are the different conditions and what are the respective actions to be taken that has been represented in a very easy way in a tabular format using Decision Table. So, we have discussed Decision Table. We have given you one example for your better understanding. Thanks for watching this video.