CSC258 Computer Organization Lab 1 1 An animal lover a , a bird b , a cat c , and a dog d are all on the west bank of a river, indicated by a = b = c = d = . The animal lover needs to transport the bird, cat, and dog to the east bank, indicated by a = b = c = d = . The boat can carry the animal lover and at most one other thing (bird or cat or dog), so several trips are necessary. If the bird and cat are left together (without the animal lover), the cat will eat the bird. If the cat and dog are left together (without the animal lover), the dog will eat the cat. (a) Write the value table (truth table) for a function danger that has value if something is in danger of being eaten, and if all is well. (b) Write function danger in max of mins (sum of products, disjunction of conjunctions, DNF) form. (c) Write the simplest expression you can for danger . (d) Construct a circuit for danger . Use a switch for each input, and an LED for the output. (e)
This is the end of the preview. Sign up
access the rest of the document.