Answer:
Z = A + B
Step-by-step explanation:
The logic network can be seen attached below. This basically shows that if either of the two inputs are True then the output would apply. In this scenario, the output would be the alarm going off. Since either one of the windows being opened in this scenario would set off the alarm then the logic operator that needs to be used would be OR. In this scenario, the two windows are represented by the variables A and B while the output can be represented by the variable Z. Using these variables, we can apply the following boolean expression.
Z = A + B