# 258L1 - CSC258 Computer Organization Lab 1 1 An animal...

This preview shows page 1. Sign up to view the full content.

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 to access the rest of the document.

## This document was uploaded on 08/02/2011.

Ask a homework question - tutors are online