Draw a decision table for the following rules: A room temperature is controlled
ID: 3850243 • Letter: D
Question
Draw a decision table for the following rules:
A room temperature is controlled automatically. If the temperature is less than 10, the heating system is switched on and a message is displayed "heating system on". If the temperature is more than 20, the cooling system is switched on and a message is displayed "cooling system on". Regardless of the room temperature, a dehumidifier is switched on if the humidity exceeds 65%, and a message is displayed "dehumidifier on".
Write an appropriate set of test cases to cover the rules in the decision table extracted in step 1. Use the template provided below (remember to leave the “Actual Outcomes” column blank).
Explanation / Answer
Action:
Rule 1 Rule 2 Rule 3 Rule 4 Humidity <65 True True False False temp<10 True false True False temp>20 false True False TrueAction:
Heating system on yes no yes no Cooling system on no yes no yes Humidity on yes yes no noRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.