Farmer dog cabbage
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.
-
Upload
john-david-uy-impreso -
Category
Documents
-
view
20 -
download
4
description
DIELECT example problem
Transcript of Farmer dog cabbage
![Page 1: Farmer dog cabbage](https://reader035.fdocuments.us/reader035/viewer/2022081805/55cf94cb550346f57ba47255/html5/thumbnails/1.jpg)
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.