In the eight-row truth table for X = (A AND NOT B) OR (B AND C), how many rows have X = 1?
- A AND NOT B is 1 when A = 1 and B = 0, with C either value: rows 1 0 0 and 1 0 1.
- B AND C is 1 when B = 1 and C = 1, with A either value: rows 0 1 1 and 1 1 1.
- No row is in both lists, because one needs B = 0 and the other B = 1, so the OR gives 2 + 2 = 4 rows.
Answer: Four rows have X = 1.