Jump to content

Variable Order in Truth Table


Hassaan

Recommended Posts

I'd really appreciate if someone could tell me how to determine the variable order in a truth table e.g. how should we go about creating a truth table for the Boolean expression (y.x)+w?

Are we supposed to list these Boolean variables in alphabetical order:

w|x|y|(y.x)|(y.x)+w

0|0|0|

0|0|1|

0|1|0|

0|1|1|

1|0|0|

1|0|1|

1|1|0|

1|1|1|

 

Or do we list them in the order they appear in the expression(left to right):

y|x|w|(y.x)|(y.x)+w

0|0|0|

0|0|1|

0|1|0|

0|1|1|

1|0|0|

1|0|1|

1|1|0|

1|1|1|

Link to comment
Share on other sites

w|x |y |(y.x)|(y.x)+w

0|0|0 | 0 | 0

0|0|1 | 0 | 0

0|1|0 | 0 | 0

0|1|1 | 1 | 1

1|0|0 | 0 | 1

1|0|1 | 0 | 1

1|1|0 | 0 | 1

1|1|1 | 1 | 1

 

y|x |w |(y.x)|(y.x)+w

0|0|0 | 0 | 0

0|0|1 | 0 | 1

0|1|0 | 0 | 0

0|1|1 | 0 | 1

1|0|0 | 0 | 0

1|0|1 | 0 | 1

1|1|0 | 1 | 1

1|1|1 | 1 | 1

 

 

How come it doesn't matter; the output is different, isn't it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.