Farmer Dog Cabbage

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

A farmer has a dog, a goat and basketful of cabbages.

In addition, he owns 2 barns, a


north barn and a south barn. It is assumed that any of the characters in this problem
could only be in the north barn or in the south barn. If the dog and goat are left without
the farmer, the dog will bite the goat. If the goat and cabbages are left without the farmer,
the goat will eat the cabbages. Design a logic circuit that will trigger an alarm if any of
the aforementioned disasters is likely to occur.

You might also like