The complete truth-table for the given formula is shown
How to construct the truth table?
The given formula can be rewritten as:
Q → (A ∨ B) ∧ (Q → B)
Using a truth table generator online, the truth table for this formula is:
A B Q (Q → ((A ∨ B) ∧ (Q → B)))
F F F T
F F T F
F T F T
F T T T
T F F T
T F T F
T T F T
T T T T