# draw logic circuit whose input are boolean algebra x,y,z and the output are ..

#### alzaeem

Joined Dec 17, 2016
1
Hi there

the question is

draw logic circuit whose input are boolean algebra x,y,z and the output are

1 if and only if x=y x !=z

1 if and only if x=y x=z

#### Papabravo

Joined Feb 24, 2006
19,855
What do you think is the correct approach? Are we talking a function with one output or two outputs? It kinda looks like z is a don't care. I would start with a truth table.

#### WBahn

Joined Mar 31, 2012
28,184
Hi there

the question is

draw logic circuit whose input are boolean algebra x,y,z and the output are

1 if and only if x=y x !=z

1 if and only if x=y x=z
Is this one question with two parts to it? Is it two different questions?

Is this homework? (Sure looks like it.)

What have YOU tried to do to come up with a solution (or at least part of a solution)?

#### dannyf

Joined Sep 13, 2015
2,197
1 if and only if x=y x !=z
that's an incomplete question as it doesn't show the logic if x <> y.

#### WBahn

Joined Mar 31, 2012
28,184
that's an incomplete question as it doesn't show the logic if x <> y.
Yes it does. Review what "if and only if" means.

What is arguably incomplete is that it could be either

1 if and only if (x = y) AND (x != z)
1 if and only if (x = y) OR (x != z)

It is probably the first, but it should be explicit.

#### Art

Joined Sep 10, 2007
806
Do NOT just provide solutions to Homework.
Were they explicit about what crayons you can use?  