0

First of all, yes this is a homework question however I am not asking you to do it for me I just need something clarified :)

My homework is create a truth table for:

Q = NOT (X OR Y) AND Z

Now, is the 'AND Z' also included in the NOT?

If that didn't make sense, X OR Y is basically, if !X OR Y... right? But is it also NOT Z or does Z need to be true?

For example would it be:

X   Y   Z   X OR Y  Q

0   0   1       0   1



OR

X   Y   Z   X OR Y  Q

0   0   1       0   0
2
Contributors
1
Reply
6
Views
3 Years
Discussion Span
Last Post by deceptikon
2

In general, boolean logic precedence rules place NOT first, then AND, then OR. So in your example, it would go like this:

(NOT (X OR Y)) AND Z

Or broken down using temporaries:

A = X OR Y
B = NOT A
C = B AND Z
Q = C
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.