59. Little Susie is trying to train her new puppy. She is trying to figure out when...
Question:
59. Little Susie is trying to train her new puppy. She is trying to figure out when the puppy should get a dog biscuit as a reward. She has concluded the following:
Give the puppy a biscuit if it sits and wiggles but does not bark.
Give the puppy a biscuit if it barks and wiggles but does not sit.
Give the puppy a biscuit if it sits but does not wiggle or bark.
Give the puppy a biscuit if it sits, wiggles, and barks.
Don’t give the puppy a treat otherwise.
Use the following:
S: Sit (0 for not sitting; 1 for sitting)
W: Wiggles (0 for not wiggling; 1 for wiggling)
B: Barking (0 for not barking; 1 for barking)
F: Biscuit function (0, don’t give the puppy a biscuit;
give the puppy a biscuit)
Construct a truth table and find the minimized Boolean function to implement the logic telling Susie when to give her dog a biscuit.
Step by Step Answer:
Essentials Of Computer Organization And Architecture
ISBN: 9781284123036
5th Edition
Authors: Linda Null, Julia Lobur